CbmRoot
CbmTofMergeMcPoints Class Reference

#include <CbmTofMergeMcPoints.h>

Inheritance diagram for CbmTofMergeMcPoints:
[legend]
Collaboration diagram for CbmTofMergeMcPoints:
[legend]

Public Member Functions

 CbmTofMergeMcPoints ()
 Constructor. More...
 
virtual ~CbmTofMergeMcPoints ()
 Destructor. More...
 
virtual InitStatus Init ()
 Derived from FairTask. More...
 
virtual void Exec (Option_t *opt)
 Derived from FairTask. More...
 
virtual void Finish ()
 Derived from FairTask. More...
 

Private Member Functions

void ReadAndCreateDataBranches ()
 Read and create data branches. More...
 
void MergeRealisticTofPoints (const TClonesArray *tracks, const TClonesArray *points, TClonesArray *realisticPoints, TClonesArray *pointsMatches)
 
 CbmTofMergeMcPoints (const CbmTofMergeMcPoints &)
 
CbmTofMergeMcPointsoperator= (const CbmTofMergeMcPoints &)
 
 ClassDef (CbmTofMergeMcPoints, 1)
 

Private Attributes

CbmTofGeoHandlerfGeoHandler
 
CbmTofDetectorIdfTofId
 
TClonesArray * fMcTracksColl
 
TClonesArray * fTofPointsColl
 
std::map< Int_t, std::vector< Int_t > > fTofPntTrkMap
 
TClonesArray * fRealTofPoints
 
TClonesArray * fTofRealPntMatches
 

Detailed Description

Definition at line 20 of file CbmTofMergeMcPoints.h.

Constructor & Destructor Documentation

◆ CbmTofMergeMcPoints() [1/2]

CbmTofMergeMcPoints::CbmTofMergeMcPoints ( )

Constructor.

Definition at line 28 of file CbmTofMergeMcPoints.cxx.

◆ ~CbmTofMergeMcPoints()

CbmTofMergeMcPoints::~CbmTofMergeMcPoints ( )
virtual

Destructor.

Definition at line 38 of file CbmTofMergeMcPoints.cxx.

References fRealTofPoints, and fTofRealPntMatches.

◆ CbmTofMergeMcPoints() [2/2]

CbmTofMergeMcPoints::CbmTofMergeMcPoints ( const CbmTofMergeMcPoints )
private

Member Function Documentation

◆ ClassDef()

CbmTofMergeMcPoints::ClassDef ( CbmTofMergeMcPoints  ,
 
)
private

◆ Exec()

void CbmTofMergeMcPoints::Exec ( Option_t *  opt)
virtual

Derived from FairTask.

Definition at line 83 of file CbmTofMergeMcPoints.cxx.

References fMcTracksColl, fRealTofPoints, fTofPointsColl, fTofRealPntMatches, and MergeRealisticTofPoints().

◆ Finish()

void CbmTofMergeMcPoints::Finish ( )
virtual

Derived from FairTask.

Definition at line 95 of file CbmTofMergeMcPoints.cxx.

◆ Init()

InitStatus CbmTofMergeMcPoints::Init ( )
virtual

◆ MergeRealisticTofPoints()

void CbmTofMergeMcPoints::MergeRealisticTofPoints ( const TClonesArray *  tracks,
const TClonesArray *  points,
TClonesArray *  realisticPoints,
TClonesArray *  pointsMatches 
)
private

◆ operator=()

CbmTofMergeMcPoints& CbmTofMergeMcPoints::operator= ( const CbmTofMergeMcPoints )
private

◆ ReadAndCreateDataBranches()

void CbmTofMergeMcPoints::ReadAndCreateDataBranches ( )
private

Read and create data branches.

Definition at line 97 of file CbmTofMergeMcPoints.cxx.

References fMcTracksColl, fRealTofPoints, fTofPointsColl, and fTofRealPntMatches.

Referenced by Init().

Member Data Documentation

◆ fGeoHandler

CbmTofGeoHandler* CbmTofMergeMcPoints::fGeoHandler
private

Definition at line 58 of file CbmTofMergeMcPoints.h.

Referenced by Init(), and MergeRealisticTofPoints().

◆ fMcTracksColl

TClonesArray* CbmTofMergeMcPoints::fMcTracksColl
private

Definition at line 61 of file CbmTofMergeMcPoints.h.

Referenced by Exec(), and ReadAndCreateDataBranches().

◆ fRealTofPoints

TClonesArray* CbmTofMergeMcPoints::fRealTofPoints
private

Definition at line 67 of file CbmTofMergeMcPoints.h.

Referenced by Exec(), ReadAndCreateDataBranches(), and ~CbmTofMergeMcPoints().

◆ fTofId

CbmTofDetectorId* CbmTofMergeMcPoints::fTofId
private

Definition at line 59 of file CbmTofMergeMcPoints.h.

Referenced by Init(), and MergeRealisticTofPoints().

◆ fTofPntTrkMap

std::map<Int_t, std::vector<Int_t> > CbmTofMergeMcPoints::fTofPntTrkMap
private

Definition at line 65 of file CbmTofMergeMcPoints.h.

Referenced by MergeRealisticTofPoints().

◆ fTofPointsColl

TClonesArray* CbmTofMergeMcPoints::fTofPointsColl
private

Definition at line 62 of file CbmTofMergeMcPoints.h.

Referenced by Exec(), and ReadAndCreateDataBranches().

◆ fTofRealPntMatches

TClonesArray* CbmTofMergeMcPoints::fTofRealPntMatches
private

Definition at line 69 of file CbmTofMergeMcPoints.h.

Referenced by Exec(), ReadAndCreateDataBranches(), and ~CbmTofMergeMcPoints().


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