Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

TdCsIData Class Reference

Representation of the CsI Calorimeter Data. More...

#include <TdCsIData.h>

Inheritance diagram for TdCsIData:

DataObject CsIData List of all members.

Public Methods

virtual const CLID& clID () const
 TdCsIData ()
 TdCsIData (int numLayers)
 Default constructor. More...

void copyUp (TdCsIData* copy, int numLayers)
 ~TdCsIData ()
 Destructor. More...

int nHits (unsigned int layer) const
 number of hit towers in the layer layer=0.. More...

float energy (unsigned int layer, unsigned int n) const
 energy recorded in the ith tower. More...

Point xtalPos (unsigned int layer, unsigned int n) const
 position of the center of the crystal. More...

idents::ModuleId moduleId (unsigned int layer, unsigned int n) const
 access to module id if desired. More...

idents::XtalId xtalId (unsigned int layer, unsigned int n) const
 access to xtal id if desired. More...

float Lresp (unsigned int layer, unsigned int n) const
 get the Lresp of specific xtal at layer and index. More...

float Rresp (unsigned int layer, unsigned int n) const
 Left and Right response of this xtal. More...

const std::vector<double>& Diodes_Energy (unsigned int layer, unsigned int n) const
 energy deposited in each of 4 diodes (left-big, right-big, left-small,right-small). More...

void load (const CsIDetector& xtal, idents::ModuleId tower)
 load local array of xtal objects from a CsIDetector. More...

void clear ()
void printOn (std::ostream& cout) const
int count () const

Static Public Methods

const CLID& classID ()

Private Attributes

std::map< idents::XtalId,
std::pair< int, int > > 
m_xtals
 data: id followed by left, right response (keV units). More...

std::vector< std::vector<
class Xtal >* > 
calorList
 storage is a list of lists (deprecated). More...


Detailed Description

Representation of the CsI Calorimeter Data.

Definition at line 33 of file TdCsIData.h.


Constructor & Destructor Documentation

TdCsIData::TdCsIData ( ) [inline]
 

Definition at line 75 of file TdCsIData.h.

TdCsIData::TdCsIData ( int numLayers )
 

Default constructor.

Definition at line 6 of file TdCsIData.cpp.

TdCsIData::~TdCsIData ( )
 

Destructor.

Definition at line 30 of file TdCsIData.cpp.


Member Function Documentation

const std::vector< double >& TdCsIData::Diodes_Energy ( unsigned int layer,
unsigned int n ) const
 

energy deposited in each of 4 diodes (left-big, right-big, left-small,right-small).

Definition at line 85 of file TdCsIData.cpp.

float TdCsIData::Lresp ( unsigned int layer,
unsigned int n ) const
 

get the Lresp of specific xtal at layer and index.

Definition at line 73 of file TdCsIData.cpp.

Referenced by copyUp().

float TdCsIData::Rresp ( unsigned int layer,
unsigned int n ) const
 

Left and Right response of this xtal.

Definition at line 79 of file TdCsIData.cpp.

Referenced by copyUp().

const CLID & TdCsIData::clID ( ) const [inline, virtual]
 

Definition at line 37 of file TdCsIData.h.

const CLID & TdCsIData::classID ( ) [inline, static]
 

Definition at line 38 of file TdCsIData.h.

Referenced by clID().

void TdCsIData::clear ( )
 

Definition at line 115 of file TdCsIData.cpp.

Referenced by IRFConverter::clear(), and ~TdCsIData().

void TdCsIData::copyUp ( TdCsIData * copy,
int numLayers )
 

Method to copy all the relevant information from another TdCsIData object.

Definition at line 16 of file TdCsIData.cpp.

int TdCsIData::count ( ) const
 

Definition at line 135 of file TdCsIData.cpp.

float TdCsIData::energy ( unsigned int layer,
unsigned int n ) const
 

energy recorded in the ith tower.

Definition at line 45 of file TdCsIData.cpp.

Referenced by copyUp(), and printOn().

void TdCsIData::load ( const CsIDetector & xtal,
idents::ModuleId tower )
 

load local array of xtal objects from a CsIDetector.

Takes in a TdCsIData object makes an xtal object and pushes in back onto the calorList of xtal objects. Currently called from IRFConverter

Definition at line 95 of file TdCsIData.cpp.

Referenced by IRFConverter::forward().

idents::ModuleId TdCsIData::moduleId ( unsigned int layer,
unsigned int n ) const
 

access to module id if desired.

Definition at line 61 of file TdCsIData.cpp.

int TdCsIData::nHits ( unsigned int layer ) const
 

number of hit towers in the layer layer=0..

Definition at line 39 of file TdCsIData.cpp.

Referenced by copyUp(), and printOn().

void TdCsIData::printOn ( std::ostream & cout ) const
 

Definition at line 123 of file TdCsIData.cpp.

Referenced by IRFConverter::printOn().

idents::XtalId TdCsIData::xtalId ( unsigned int layer,
unsigned int n ) const
 

access to xtal id if desired.

Definition at line 67 of file TdCsIData.cpp.

Referenced by copyUp().

Point TdCsIData::xtalPos ( unsigned int layer,
unsigned int n ) const
 

position of the center of the crystal.

Definition at line 55 of file TdCsIData.cpp.

Referenced by copyUp(), and printOn().


Member Data Documentation

std::vector< std::vector< class Xtal >* > TdCsIData::calorList [private]
 

storage is a list of lists (deprecated).

Definition at line 126 of file TdCsIData.h.

std::map< idents::XtalId,std::pair< int,int > > TdCsIData::m_xtals [private]
 

data: id followed by left, right response (keV units).

Definition at line 123 of file TdCsIData.h.


The documentation for this class was generated from the following files:
Generated at Wed Nov 21 12:21:14 2001 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000