CbmRoot
CbmBinnedMCTrackReader Class Reference
Inheritance diagram for CbmBinnedMCTrackReader:
[legend]
Collaboration diagram for CbmBinnedMCTrackReader:
[legend]

Classes

struct  Point
 
struct  Track
 

Public Member Functions

 CbmBinnedMCTrackReader ()
 
void AddStation (CbmBinnedStation *station)
 
void Read ()
 
void Handle ()
 
Double_t Sigma (const list< Double_t > &values)
 
void Finish ()
 
void AddPoint (Int_t trackInd, Double_t stationZ, Double_t x, Double_t y, Double_t z)
 

Static Public Member Functions

static CbmBinnedMCTrackReaderInstance ()
 
static CbmBinnedHitReaderInstance (const char *name)
 
static void AddReader (const char *name)
 
static void SetSettings (CbmBinnedSettings *v)
 

Protected Attributes

std::vector< CbmBinnedStation * > fStations
 
TClonesArray * fHitArray
 

Static Protected Attributes

static std::map< std::string, CbmBinnedHitReader * > fReaders
 
static CbmBinnedSettingsfSettings = 0
 

Private Attributes

set< Double_t > fStationZs
 
vector< TrackfTracks
 
vector< list< Double_t > > fXScats
 
vector< list< Double_t > > fYScats
 

Detailed Description

Definition at line 126 of file HitReader.cxx.

Constructor & Destructor Documentation

◆ CbmBinnedMCTrackReader()

CbmBinnedMCTrackReader::CbmBinnedMCTrackReader ( )
inline

Definition at line 177 of file HitReader.cxx.

References CbmBinnedHitReader::fHitArray.

Member Function Documentation

◆ AddPoint()

void CbmBinnedMCTrackReader::AddPoint ( Int_t  trackInd,
Double_t  stationZ,
Double_t  x,
Double_t  y,
Double_t  z 
)
inline

◆ AddReader()

void CbmBinnedHitReader::AddReader ( const char *  name)
staticinherited

Definition at line 832 of file HitReader.cxx.

References CbmBinnedHitReader::fReaders, and i.

Referenced by CbmBinnedGeoReader::CbmBinnedGeoReader(), and Instance().

◆ AddStation()

void CbmBinnedMCTrackReader::AddStation ( CbmBinnedStation station)
inlinevirtual

Reimplemented from CbmBinnedHitReader.

Definition at line 183 of file HitReader.cxx.

References fStationZs, fXScats, fYScats, and CbmBinnedStation::GetMinZ().

Referenced by CbmBinnedMCPointReader::AddStation().

◆ Finish()

void CbmBinnedMCTrackReader::Finish ( )
inlinevirtual

◆ Handle()

◆ Instance() [1/2]

static CbmBinnedMCTrackReader* CbmBinnedMCTrackReader::Instance ( )
inlinestatic

◆ Instance() [2/2]

CbmBinnedHitReader * CbmBinnedHitReader::Instance ( const char *  name)
staticinherited

Definition at line 823 of file HitReader.cxx.

References CbmBinnedHitReader::fReaders, and i.

◆ Read()

◆ SetSettings()

static void CbmBinnedHitReader::SetSettings ( CbmBinnedSettings v)
inlinestaticinherited

Definition at line 31 of file HitReader.h.

References CbmBinnedHitReader::fSettings, and v.

Referenced by CbmBinnedGeoReader::Read().

◆ Sigma()

Double_t CbmBinnedMCTrackReader::Sigma ( const list< Double_t > &  values)
inline

Definition at line 302 of file HitReader.cxx.

References i, and v.

Referenced by Finish().

Member Data Documentation

◆ fHitArray

◆ fReaders

map< string, CbmBinnedHitReader * > CbmBinnedHitReader::fReaders
staticprotectedinherited

◆ fSettings

CbmBinnedSettings * CbmBinnedHitReader::fSettings = 0
staticprotectedinherited

Definition at line 53 of file HitReader.h.

Referenced by Finish(), and CbmBinnedHitReader::SetSettings().

◆ fStations

◆ fStationZs

set<Double_t> CbmBinnedMCTrackReader::fStationZs
private

Definition at line 357 of file HitReader.cxx.

Referenced by AddStation(), and Read().

◆ fTracks

vector<Track> CbmBinnedMCTrackReader::fTracks
private

Definition at line 358 of file HitReader.cxx.

Referenced by AddPoint(), Handle(), and Read().

◆ fXScats

vector<list<Double_t> > CbmBinnedMCTrackReader::fXScats
private

Definition at line 359 of file HitReader.cxx.

Referenced by AddStation(), Finish(), and Handle().

◆ fYScats

vector<list<Double_t> > CbmBinnedMCTrackReader::fYScats
private

Definition at line 360 of file HitReader.cxx.

Referenced by AddStation(), Finish(), and Handle().


The documentation for this class was generated from the following file: