CbmRoot
CbmBinnedTrackerQA Class Reference

#include <CbmBinnedTrackerQA.h>

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

Public Member Functions

 CbmBinnedTrackerQA ()
 
 CbmBinnedTrackerQA (const CbmBinnedTrackerQA &)=delete
 
CbmBinnedTrackerQAoperator= (const CbmBinnedTrackerQA &)=delete
 
InitStatus Init ()
 
void Exec (Option_t *opt)
 
void Finish ()
 
void SetParContainers ()
 
void SetPrimaryParticle (EPrimaryParticleId v)
 
void AddPrimaryParticle (EPrimaryParticleId v)
 

Private Member Functions

void HandleSts (Int_t stsTrackIndex, std::map< Int_t, std::set< Int_t >> &mcTrackIds, std::set< Int_t > *globalTrackMCRefs, Int_t *globalTracksHitInds)
 
void HandleMuch (Int_t muchTrackIndex, std::map< Int_t, std::set< Int_t >> &mcTrackIds, std::set< Int_t > *globalTrackMCRefs, Int_t *globalTracksHitInds)
 
void HandleTrd (Int_t trdTrackIndex, std::map< Int_t, std::set< Int_t >> &mcTrackIds, std::set< Int_t > *globalTrackMCRefs, Int_t *globalTracksHitInds)
 
void HandleTof (Int_t globalTrackIndex, Int_t tofHitIndex, std::map< Int_t, std::set< Int_t >> &mcTrackIds, std::set< Int_t > *globalTrackMCRefs, Int_t *globalTracksHitInds)
 
void IterateTrdHits (std::function< void(const CbmTrdHit *, const CbmTrdPoint *)> handleData)
 

Private Attributes

std::list< EPrimaryParticleIdfPrimaryParticleIds
 
bool fIsOnlyPrimary
 
CbmBinnedSettingsfSettings
 
TClonesArray * fGlobalTracks
 
TClonesArray * fStsTracks
 
TClonesArray * fMuchTracks
 
TClonesArray * fTrdTracks
 
TClonesArray * fStsHits
 
TClonesArray * fMuchHits
 
TClonesArray * fTrdHits
 
TClonesArray * fTofHits
 
TClonesArray * fStsClusters
 
TClonesArray * fMuchClusters
 
TClonesArray * fTrdClusters
 
TClonesArray * fTrdDigiMatches
 
TClonesArray * fTofHitDigiMatches
 
TClonesArray * fTofDigiPointMatches
 
TClonesArray * fStsDigis
 
TClonesArray * fStsDigiMatches
 
TClonesArray * fMuchDigis
 
TClonesArray * fMuchDigiMatches
 
TClonesArray * fTrdDigis
 
TClonesArray * fTofDigis
 
CbmMCDataArrayfMCTracks
 
CbmMCDataArrayfStsPoints
 
CbmMCDataArrayfMuchPoints
 
CbmMCDataArrayfTrdPoints
 
CbmMCDataArrayfTofPoints
 

Detailed Description

Definition at line 29 of file CbmBinnedTrackerQA.h.

Constructor & Destructor Documentation

◆ CbmBinnedTrackerQA() [1/2]

CbmBinnedTrackerQA::CbmBinnedTrackerQA ( )

Definition at line 273 of file CbmBinnedTrackerQA.cxx.

References fPrimaryParticleIds, and ppiNone.

◆ CbmBinnedTrackerQA() [2/2]

CbmBinnedTrackerQA::CbmBinnedTrackerQA ( const CbmBinnedTrackerQA )
delete

Member Function Documentation

◆ AddPrimaryParticle()

void CbmBinnedTrackerQA::AddPrimaryParticle ( EPrimaryParticleId  v)
inline

Definition at line 44 of file CbmBinnedTrackerQA.h.

References fPrimaryParticleIds, and v.

◆ Exec()

void CbmBinnedTrackerQA::Exec ( Option_t *  opt)

Definition at line 845 of file CbmBinnedTrackerQA.cxx.

References fGlobalTracks, fMuchClusters, fMuchDigiMatches, fMuchHits, fMuchPoints, fSettings, fStsClusters, fStsDigiMatches, fStsHits, fStsPoints, fTofDigiPointMatches, fTofHitDigiMatches, fTofHits, fTofPoints, fTrdClusters, fTrdDigiMatches, fTrdHits, fTrdPoints, CbmMCDataArray::Get(), CbmHit::GetAddress(), CbmStsHit::GetBackClusterId(), CbmGlobalTrack::GetChi2(), CbmCluster::GetDigi(), CbmPixelHit::GetDx(), CbmPixelHit::GetDy(), CbmLink::GetEntry(), CbmStsHit::GetFrontClusterId(), CbmLink::GetIndex(), CbmMuchGeoScheme::GetLayerIndex(), CbmMatch::GetLink(), CbmGlobalTrack::GetMuchTrackIndex(), CbmCluster::GetNofDigis(), CbmMatch::GetNofLinks(), CbmBinnedSettings::GetNofStations(), CbmTrdHit::GetPlaneId(), CbmHit::GetRefId(), CbmMuchGeoScheme::GetStationIndex(), CbmStsSetup::GetStationNumber(), CbmGlobalTrack::GetStsTrackIndex(), CbmHit::GetTime(), CbmHit::GetTimeError(), CbmGlobalTrack::GetTofHitIndex(), CbmGlobalTrack::GetTrdTrackIndex(), CbmPixelHit::GetX(), CbmTrdPoint::GetXIn(), CbmMuchPoint::GetXIn(), CbmStsPoint::GetXIn(), CbmTrdPoint::GetXOut(), CbmMuchPoint::GetXOut(), CbmStsPoint::GetXOut(), CbmPixelHit::GetY(), CbmTrdPoint::GetYIn(), CbmMuchPoint::GetYIn(), CbmStsPoint::GetYIn(), CbmTrdPoint::GetYOut(), CbmMuchPoint::GetYOut(), CbmStsPoint::GetYOut(), gEventNumber, gIsRecoClone, gMuchPoints, gNofClones, gNofNonGhosts, gNofRecoTracks, gStsPoints, gTofPoints, gTracks, gTrdPoints, HandleMuch(), HandleSts(), HandleTof(), HandleTrd(), TrackDesc::hasTof, i, CbmStsSetup::Instance(), TrackDesc::isPrimary, TrackDesc::much, muchHitPullT, muchHitPullX, muchHitPullY, muchHitResidualT, muchHitResidualX, muchHitResidualY, TrackDesc::nearestHitDistSts, TrackDesc::nearestHitDistTrd, TrackDesc::nearestPointsSts, TrackDesc::nearestPointsTrd, TrackDesc::nofMuchStations, TrackDesc::nofStsStations, TrackDesc::nofTrdStations, TrackDesc::pullXsts, TrackDesc::pullXtrd, TrackDesc::pullYsts, TrackDesc::pullYtrd, sqrt(), TrackDesc::sts, TrackDesc::stsPoints, TrackDesc::tof, TrackDesc::trd, and TrackDesc::trdPoints.

◆ Finish()

void CbmBinnedTrackerQA::Finish ( )

Definition at line 1796 of file CbmBinnedTrackerQA.cxx.

References TrackDesc::children, clonesNofSameHits, effByMom, effByMomNonPrimary, effByMomPrimary, effByPolarAngle, effByPolarAngleNonPrimary, effByPolarAnglePrimary, effByXAngle, effByXAngleNonPrimary, effByXAnglePrimary, effByYAngle, effByYAngleNonPrimary, effByYAnglePrimary, effOfMCPoints(), fIsOnlyPrimary, fSettings, CbmMCTrack::GetMomentum(), CbmBinnedSettings::GetNofStations(), CbmMCTrack::GetP(), CbmMCTrack::GetStartX(), CbmMCTrack::GetStartY(), CbmMCTrack::GetStartZ(), CbmTrdPoint::GetXIn(), CbmStsPoint::GetXIn(), CbmTrdPoint::GetXOut(), CbmStsPoint::GetXOut(), CbmTrdPoint::GetYIn(), CbmStsPoint::GetYIn(), CbmTrdPoint::GetYOut(), CbmStsPoint::GetYOut(), CbmTrdPoint::GetZIn(), CbmStsPoint::GetZIn(), CbmTrdPoint::GetZOut(), CbmStsPoint::GetZOut(), globalTrackPullFirstX, globalTrackPullFirstY, globalTrackPullLastX, globalTrackPullLastY, globalTrackResidualFirstX, globalTrackResidualFirstY, globalTrackResidualLastX, globalTrackResidualLastY, gMuchPoints, gNofClones, gNofNonGhosts, gNofRecoTracks, gStsPoints, gTofPoints, gTracks, gTrdPoints, TrackDesc::hasTof, i, TrackDesc::isPrimary, TrackDesc::isReconstructed, TrackDesc::isReference, lambdaChildrenEffByMom, lambdaChildrenMoms, lambdaList, m, TrackDesc::much, muchHitPullT, muchHitPullX, muchHitPullY, muchHitResidualT, muchHitResidualX, muchHitResidualY, muchTrackPullFirstX, muchTrackPullFirstY, muchTrackPullLastX, muchTrackPullLastY, muchTrackResidualFirstX, muchTrackResidualFirstY, muchTrackResidualLastX, muchTrackResidualLastY, TrackDesc::nearestHitDistSts, TrackDesc::nearestHitDistTrd, TrackDesc::nofMuchStations, TrackDesc::nofStsStations, TrackDesc::nofTrdStations, NumberToFile(), xMath::Pi(), TrackDesc::ptr, TrackDesc::pullXsts, TrackDesc::pullXtrd, TrackDesc::pullYsts, TrackDesc::pullYtrd, SaveHisto(), TrackDesc::sts, TrackDesc::stsPoints, stsTrackPullFirstX, stsTrackPullFirstY, stsTrackPullLastX, stsTrackPullLastY, stsTrackResidualFirstX, stsTrackResidualFirstY, stsTrackResidualLastX, stsTrackResidualLastY, TrackDesc::tof, TrackDesc::trd, TrackDesc::trdPoints, trdTrackPullFirstX, trdTrackPullFirstY, trdTrackPullLastX, trdTrackPullLastY, trdTrackResidualFirstX, trdTrackResidualFirstY, trdTrackResidualLastX, trdTrackResidualLastY, x, y, z1, and z2.

◆ HandleMuch()

◆ HandleSts()

◆ HandleTof()

void CbmBinnedTrackerQA::HandleTof ( Int_t  globalTrackIndex,
Int_t  tofHitIndex,
std::map< Int_t, std::set< Int_t >> &  mcTrackIds,
std::set< Int_t > *  globalTrackMCRefs,
Int_t *  globalTracksHitInds 
)
private

◆ HandleTrd()

◆ Init()

InitStatus CbmBinnedTrackerQA::Init ( )

Definition at line 304 of file CbmBinnedTrackerQA.cxx.

References TrackDesc::children, clonesNofSameHits, effByMom, effByMomNonPrimary, effByMomPrimary, effByPolarAngle, effByPolarAngleNonPrimary, effByPolarAnglePrimary, effByXAngle, effByXAngleNonPrimary, effByXAnglePrimary, effByYAngle, effByYAngleNonPrimary, effByYAnglePrimary, fGlobalTracks, TrackDesc::firstMuchStationNo, TrackDesc::firstTrdStationNo, fIsOnlyPrimary, fMCTracks, fMuchClusters, fMuchDigiMatches, fMuchDigis, fMuchHits, fMuchPoints, fMuchTracks, fPrimaryParticleIds, fSettings, fStsClusters, fStsDigiMatches, fStsDigis, fStsHits, fStsPoints, fStsTracks, fTofDigiPointMatches, fTofDigis, fTofHitDigiMatches, fTofHits, fTofPoints, fTrdClusters, fTrdDigiMatches, fTrdDigis, fTrdHits, fTrdPoints, fTrdTracks, CbmMCDataArray::Get(), CbmTrdAddress::GetLayerId(), CbmMuchGeoScheme::GetLayerIndex(), CbmTrdPoint::GetModuleAddress(), CbmMCTrack::GetMotherId(), CbmBinnedSettings::GetNofMuchStations(), CbmBinnedSettings::GetNofStsStations(), CbmBinnedSettings::GetNofTrdStations(), CbmMCTrack::GetPdgCode(), CbmMCTrack::GetStartX(), CbmMCTrack::GetStartY(), CbmMCTrack::GetStartZ(), CbmMuchGeoScheme::GetStationIndex(), CbmStsSetup::GetStationNumber(), globalTrackPullFirstX, globalTrackPullFirstY, globalTrackPullLastX, globalTrackPullLastY, globalTrackResidualFirstX, globalTrackResidualFirstY, globalTrackResidualLastX, globalTrackResidualLastY, gMuchPoints, gStsPoints, gTofPoints, gTracks, gTrdPoints, TrackDesc::hasTof, i, CbmStsSetup::Init(), CbmMCDataManager::InitBranch(), CbmBinnedSettings::Instance(), CbmStsSetup::Instance(), CbmStsSetup::IsInit(), CbmBinnedSettings::IsOnlyPrimary(), TrackDesc::isPrimary, kMuch, kSts, kTof, kTrd, lambdaChildrenEffByMom, lambdaChildrenMoms, lambdaList, muchHitPullT, muchHitPullX, muchHitPullY, muchHitResidualT, muchHitResidualX, muchHitResidualY, TrackDesc::muchPoints, muchTrackPullFirstX, muchTrackPullFirstY, muchTrackPullLastX, muchTrackPullLastY, muchTrackResidualFirstX, muchTrackResidualFirstY, muchTrackResidualLastX, muchTrackResidualLastY, TrackDesc::nofMuchStations, TrackDesc::nofStsStations, TrackDesc::nofTrdStations, ppiJpsi, TrackDesc::ptr, CbmMCDataArray::Size(), TrackDesc::stsPoints, stsTrackPullFirstX, stsTrackPullFirstY, stsTrackPullLastX, stsTrackPullLastY, stsTrackResidualFirstX, stsTrackResidualFirstY, stsTrackResidualLastX, stsTrackResidualLastY, TrackDesc::tofStationNo, tracks, TrackDesc::trdPoints, trdTrackPullFirstX, trdTrackPullFirstY, trdTrackPullLastX, trdTrackPullLastY, trdTrackResidualFirstX, trdTrackResidualFirstY, trdTrackResidualLastX, trdTrackResidualLastY, and CbmBinnedSettings::Use().

◆ IterateTrdHits()

void CbmBinnedTrackerQA::IterateTrdHits ( std::function< void(const CbmTrdHit *, const CbmTrdPoint *)>  handleData)
private

◆ operator=()

CbmBinnedTrackerQA& CbmBinnedTrackerQA::operator= ( const CbmBinnedTrackerQA )
delete

◆ SetParContainers()

void CbmBinnedTrackerQA::SetParContainers ( )

Definition at line 2462 of file CbmBinnedTrackerQA.cxx.

References fSettings.

◆ SetPrimaryParticle()

void CbmBinnedTrackerQA::SetPrimaryParticle ( EPrimaryParticleId  v)
inline

Definition at line 39 of file CbmBinnedTrackerQA.h.

References fPrimaryParticleIds, and v.

Member Data Documentation

◆ fGlobalTracks

TClonesArray* CbmBinnedTrackerQA::fGlobalTracks
private

Definition at line 73 of file CbmBinnedTrackerQA.h.

Referenced by Exec(), HandleTof(), and Init().

◆ fIsOnlyPrimary

bool CbmBinnedTrackerQA::fIsOnlyPrimary
private

Definition at line 71 of file CbmBinnedTrackerQA.h.

Referenced by Finish(), and Init().

◆ fMCTracks

CbmMCDataArray* CbmBinnedTrackerQA::fMCTracks
private

Definition at line 96 of file CbmBinnedTrackerQA.h.

Referenced by Init().

◆ fMuchClusters

TClonesArray* CbmBinnedTrackerQA::fMuchClusters
private

Definition at line 82 of file CbmBinnedTrackerQA.h.

Referenced by Exec(), HandleMuch(), and Init().

◆ fMuchDigiMatches

TClonesArray* CbmBinnedTrackerQA::fMuchDigiMatches
private

Definition at line 92 of file CbmBinnedTrackerQA.h.

Referenced by Exec(), HandleMuch(), and Init().

◆ fMuchDigis

TClonesArray* CbmBinnedTrackerQA::fMuchDigis
private

Definition at line 91 of file CbmBinnedTrackerQA.h.

Referenced by Init().

◆ fMuchHits

TClonesArray* CbmBinnedTrackerQA::fMuchHits
private

Definition at line 78 of file CbmBinnedTrackerQA.h.

Referenced by Exec(), HandleMuch(), and Init().

◆ fMuchPoints

CbmMCDataArray* CbmBinnedTrackerQA::fMuchPoints
private

Definition at line 98 of file CbmBinnedTrackerQA.h.

Referenced by Exec(), HandleMuch(), and Init().

◆ fMuchTracks

TClonesArray* CbmBinnedTrackerQA::fMuchTracks
private

Definition at line 75 of file CbmBinnedTrackerQA.h.

Referenced by HandleMuch(), and Init().

◆ fPrimaryParticleIds

std::list<EPrimaryParticleId> CbmBinnedTrackerQA::fPrimaryParticleIds
private

◆ fSettings

CbmBinnedSettings* CbmBinnedTrackerQA::fSettings
private

◆ fStsClusters

TClonesArray* CbmBinnedTrackerQA::fStsClusters
private

Definition at line 81 of file CbmBinnedTrackerQA.h.

Referenced by Exec(), HandleSts(), and Init().

◆ fStsDigiMatches

TClonesArray* CbmBinnedTrackerQA::fStsDigiMatches
private

Definition at line 90 of file CbmBinnedTrackerQA.h.

Referenced by Exec(), HandleSts(), and Init().

◆ fStsDigis

TClonesArray* CbmBinnedTrackerQA::fStsDigis
private

Definition at line 89 of file CbmBinnedTrackerQA.h.

Referenced by Init().

◆ fStsHits

TClonesArray* CbmBinnedTrackerQA::fStsHits
private

Definition at line 77 of file CbmBinnedTrackerQA.h.

Referenced by Exec(), HandleSts(), and Init().

◆ fStsPoints

CbmMCDataArray* CbmBinnedTrackerQA::fStsPoints
private

Definition at line 97 of file CbmBinnedTrackerQA.h.

Referenced by Exec(), HandleSts(), and Init().

◆ fStsTracks

TClonesArray* CbmBinnedTrackerQA::fStsTracks
private

Definition at line 74 of file CbmBinnedTrackerQA.h.

Referenced by HandleSts(), and Init().

◆ fTofDigiPointMatches

TClonesArray* CbmBinnedTrackerQA::fTofDigiPointMatches
private

Definition at line 87 of file CbmBinnedTrackerQA.h.

Referenced by Exec(), HandleTof(), and Init().

◆ fTofDigis

TClonesArray* CbmBinnedTrackerQA::fTofDigis
private

Definition at line 94 of file CbmBinnedTrackerQA.h.

Referenced by Init().

◆ fTofHitDigiMatches

TClonesArray* CbmBinnedTrackerQA::fTofHitDigiMatches
private

Definition at line 86 of file CbmBinnedTrackerQA.h.

Referenced by Exec(), HandleTof(), and Init().

◆ fTofHits

TClonesArray* CbmBinnedTrackerQA::fTofHits
private

Definition at line 80 of file CbmBinnedTrackerQA.h.

Referenced by Exec(), and Init().

◆ fTofPoints

CbmMCDataArray* CbmBinnedTrackerQA::fTofPoints
private

Definition at line 100 of file CbmBinnedTrackerQA.h.

Referenced by Exec(), HandleTof(), and Init().

◆ fTrdClusters

TClonesArray* CbmBinnedTrackerQA::fTrdClusters
private

Definition at line 83 of file CbmBinnedTrackerQA.h.

Referenced by Exec(), HandleTrd(), Init(), and IterateTrdHits().

◆ fTrdDigiMatches

TClonesArray* CbmBinnedTrackerQA::fTrdDigiMatches
private

Definition at line 85 of file CbmBinnedTrackerQA.h.

Referenced by Exec(), HandleTrd(), Init(), and IterateTrdHits().

◆ fTrdDigis

TClonesArray* CbmBinnedTrackerQA::fTrdDigis
private

Definition at line 93 of file CbmBinnedTrackerQA.h.

Referenced by Init().

◆ fTrdHits

TClonesArray* CbmBinnedTrackerQA::fTrdHits
private

Definition at line 79 of file CbmBinnedTrackerQA.h.

Referenced by Exec(), HandleTrd(), Init(), and IterateTrdHits().

◆ fTrdPoints

CbmMCDataArray* CbmBinnedTrackerQA::fTrdPoints
private

Definition at line 99 of file CbmBinnedTrackerQA.h.

Referenced by Exec(), HandleTrd(), Init(), and IterateTrdHits().

◆ fTrdTracks

TClonesArray* CbmBinnedTrackerQA::fTrdTracks
private

Definition at line 76 of file CbmBinnedTrackerQA.h.

Referenced by HandleTrd(), and Init().


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