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

RecoCsIData Class Reference

Instantiate CsIData interface with real data. More...

#include <RecoCsIData.h>

Inheritance diagram for RecoCsIData:

CsIData List of all members.

Public Methods

 RecoCsIData (int numLayers)
 ~RecoCsIData ()
void printOn (std::ostream& out)
 print.

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
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 using the Calorimeter controllers. More...

void readData (std::istream& in)
 read data from an open stream. More...

void writeData (std::ostream& out) const
 write data to an open stream. More...

void clear ()
void printOn (std::ostream & out) const

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

Instantiate CsIData interface with real data.

Definition at line 25 of file RecoCsIData.h.


Constructor & Destructor Documentation

RecoCsIData::RecoCsIData ( int numLayers )
 

Definition at line 10 of file RecoCsIData.cxx.

RecoCsIData::~RecoCsIData ( )
 

Definition at line 17 of file RecoCsIData.cxx.


Member Function Documentation

const std::vector< double >& RecoCsIData::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 61 of file RecoCsIData.cxx.

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

Definition at line 51 of file RecoCsIData.cxx.

Referenced by writeData().

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

Left and Right response of this xtal.

Definition at line 56 of file RecoCsIData.cxx.

Referenced by writeData().

void RecoCsIData::clear ( )
 

Definition at line 125 of file RecoCsIData.cxx.

Referenced by RecoGlastData::clear(), and ~RecoCsIData().

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

energy recorded in the ith tower.

Definition at line 30 of file RecoCsIData.cxx.

Referenced by writeData().

void RecoCsIData::load ( const CsIDetector & xtal,
idents::ModuleId moduleId )
 

load local array using the Calorimeter controllers.

Definition at line 66 of file RecoCsIData.cxx.

Referenced by RecoGlastData::forward().

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

access to module id if desired.

Definition at line 41 of file RecoCsIData.cxx.

Referenced by writeData().

int RecoCsIData::nHits ( unsigned int layer ) const
 

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

Definition at line 25 of file RecoCsIData.cxx.

Referenced by writeData().

void RecoCsIData::printOn ( std::ostream & out ) const
 

Definition at line 133 of file RecoCsIData.cxx.

void RecoCsIData::printOn ( std::ostream & out )
 

print.

Referenced by RecoGlastData::printOn().

void RecoCsIData::readData ( std::istream & in )
 

read data from an open stream.

Definition at line 84 of file RecoCsIData.cxx.

void RecoCsIData::writeData ( std::ostream & out ) const
 

write data to an open stream.

Definition at line 104 of file RecoCsIData.cxx.

Referenced by printOn().

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

access to xtal id if desired.

Definition at line 46 of file RecoCsIData.cxx.

Referenced by writeData().

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

position of the center of the crystal.

Definition at line 35 of file RecoCsIData.cxx.

Referenced by writeData().


Member Data Documentation

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

storage is a list of lists (deprecated).

Definition at line 103 of file RecoCsIData.h.

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

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

Definition at line 100 of file RecoCsIData.h.


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