CbmRoot
Loading...
Searching...
No Matches
CbmTofMergeMcPoints Class Reference

#include <CbmTofMergeMcPoints.h>

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

Public Member Functions

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

Private Member Functions

void ReadAndCreateDataBranches ()
 Read and create data branches.
 
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 24 of file CbmTofMergeMcPoints.h.

Constructor & Destructor Documentation

◆ CbmTofMergeMcPoints() [1/2]

CbmTofMergeMcPoints::CbmTofMergeMcPoints ( )

Constructor.

Definition at line 33 of file CbmTofMergeMcPoints.cxx.

◆ ~CbmTofMergeMcPoints()

CbmTofMergeMcPoints::~CbmTofMergeMcPoints ( )
virtual

Destructor.

Definition at line 45 of file CbmTofMergeMcPoints.cxx.

References fRealTofPoints, and fTofRealPntMatches.

◆ CbmTofMergeMcPoints() [2/2]

CbmTofMergeMcPoints::CbmTofMergeMcPoints ( const CbmTofMergeMcPoints & )
private

Member Function Documentation

◆ ClassDef()

CbmTofMergeMcPoints::ClassDef ( CbmTofMergeMcPoints ,
1  )
private

◆ Exec()

void CbmTofMergeMcPoints::Exec ( Option_t * opt)
virtual

Derived from FairTask.

Definition at line 87 of file CbmTofMergeMcPoints.cxx.

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

◆ Finish()

void CbmTofMergeMcPoints::Finish ( )
virtual

Derived from FairTask.

Definition at line 99 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 101 of file CbmTofMergeMcPoints.cxx.

References fMcTracksColl, fRealTofPoints, fTofPointsColl, and fTofRealPntMatches.

Referenced by Init().

Member Data Documentation

◆ fGeoHandler

CbmTofGeoHandler* CbmTofMergeMcPoints::fGeoHandler
private

Definition at line 60 of file CbmTofMergeMcPoints.h.

Referenced by Init(), and MergeRealisticTofPoints().

◆ fMcTracksColl

TClonesArray* CbmTofMergeMcPoints::fMcTracksColl
private

Definition at line 63 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 61 of file CbmTofMergeMcPoints.h.

Referenced by Init(), and MergeRealisticTofPoints().

◆ fTofPntTrkMap

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

Definition at line 66 of file CbmTofMergeMcPoints.h.

Referenced by MergeRealisticTofPoints().

◆ fTofPointsColl

TClonesArray* CbmTofMergeMcPoints::fTofPointsColl
private

Definition at line 64 of file CbmTofMergeMcPoints.h.

Referenced by Exec(), and ReadAndCreateDataBranches().

◆ fTofRealPntMatches

TClonesArray* CbmTofMergeMcPoints::fTofRealPntMatches
private

Definition at line 68 of file CbmTofMergeMcPoints.h.

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


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