CbmRoot
|
#include <CbmBinnedTrackerQA.h>
Public Member Functions | |
CbmBinnedTrackerQA () | |
CbmBinnedTrackerQA (const CbmBinnedTrackerQA &)=delete | |
CbmBinnedTrackerQA & | operator= (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< EPrimaryParticleId > | fPrimaryParticleIds |
bool | fIsOnlyPrimary |
CbmBinnedSettings * | fSettings |
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 |
CbmMCDataArray * | fMCTracks |
CbmMCDataArray * | fStsPoints |
CbmMCDataArray * | fMuchPoints |
CbmMCDataArray * | fTrdPoints |
CbmMCDataArray * | fTofPoints |
Definition at line 29 of file CbmBinnedTrackerQA.h.
CbmBinnedTrackerQA::CbmBinnedTrackerQA | ( | ) |
Definition at line 273 of file CbmBinnedTrackerQA.cxx.
References fPrimaryParticleIds, and ppiNone.
|
delete |
|
inline |
Definition at line 44 of file CbmBinnedTrackerQA.h.
References fPrimaryParticleIds, and v.
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.
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.
|
private |
Definition at line 1462 of file CbmBinnedTrackerQA.cxx.
References TrackDesc::firstMuchStationNo, fMuchClusters, fMuchDigiMatches, fMuchHits, fMuchPoints, fMuchTracks, fSettings, CbmMCDataArray::Get(), CbmHit::GetAddress(), CbmCluster::GetDigi(), CbmLink::GetEntry(), CbmTrack::GetHitIndex(), CbmLink::GetIndex(), CbmMuchGeoScheme::GetLayerIndex(), CbmMatch::GetLink(), CbmCluster::GetNofDigis(), CbmTrack::GetNofHits(), CbmMatch::GetNofLinks(), CbmBinnedSettings::GetNofStations(), CbmTrack::GetParamFirst(), CbmTrack::GetParamLast(), CbmHit::GetRefId(), CbmMuchGeoScheme::GetStationIndex(), CbmMuchPoint::GetXIn(), CbmMuchPoint::GetXOut(), CbmMuchPoint::GetYIn(), CbmMuchPoint::GetYOut(), gTracks, i, IncrementForId(), TrackDesc::much, muchTrackPullFirstX, muchTrackPullFirstY, muchTrackPullLastX, muchTrackPullLastY, muchTrackResidualFirstX, muchTrackResidualFirstY, muchTrackResidualLastX, muchTrackResidualLastY, and TrackDesc::nofMuchStations.
Referenced by Exec().
|
private |
Definition at line 1345 of file CbmBinnedTrackerQA.cxx.
References TrackDesc::firstStsStationNo, fSettings, fStsClusters, fStsDigiMatches, fStsHits, fStsPoints, fStsTracks, CbmMCDataArray::Get(), CbmHit::GetAddress(), CbmStsHit::GetBackClusterId(), CbmCluster::GetDigi(), CbmLink::GetEntry(), CbmStsHit::GetFrontClusterId(), CbmLink::GetIndex(), CbmMatch::GetLink(), CbmCluster::GetNofDigis(), CbmStsTrack::GetNofHits(), CbmMatch::GetNofLinks(), CbmBinnedSettings::GetNofStations(), CbmTrack::GetParamFirst(), CbmTrack::GetParamLast(), CbmStsSetup::GetStationNumber(), CbmStsTrack::GetStsHitIndex(), CbmStsPoint::GetXIn(), CbmStsPoint::GetXOut(), CbmStsPoint::GetYIn(), CbmStsPoint::GetYOut(), gTracks, i, IncrementForId(), CbmStsSetup::Instance(), TrackDesc::nofStsStations, TrackDesc::sts, stsTrackPullFirstX, stsTrackPullFirstY, stsTrackPullLastX, stsTrackPullLastY, stsTrackResidualFirstX, stsTrackResidualFirstY, stsTrackResidualLastX, and stsTrackResidualLastY.
Referenced by Exec().
|
private |
Definition at line 1669 of file CbmBinnedTrackerQA.cxx.
References fGlobalTracks, fSettings, fTofDigiPointMatches, fTofHitDigiMatches, fTofPoints, CbmMCDataArray::Get(), CbmLink::GetEntry(), CbmLink::GetIndex(), CbmMatch::GetLink(), CbmMatch::GetNofLinks(), CbmBinnedSettings::GetNofStations(), CbmGlobalTrack::GetParamLast(), globalTrackPullLastX, globalTrackPullLastY, globalTrackResidualLastX, globalTrackResidualLastY, gTracks, i, IncrementForId(), TrackDesc::tof, and TrackDesc::tofStationNo.
Referenced by Exec().
|
private |
Definition at line 1577 of file CbmBinnedTrackerQA.cxx.
References TrackDesc::firstTrdStationNo, fSettings, fTrdClusters, fTrdDigiMatches, fTrdHits, fTrdPoints, fTrdTracks, CbmMCDataArray::Get(), CbmCluster::GetDigi(), CbmLink::GetEntry(), CbmTrack::GetHitIndex(), CbmLink::GetIndex(), CbmMatch::GetLink(), CbmCluster::GetNofDigis(), CbmTrack::GetNofHits(), CbmMatch::GetNofLinks(), CbmBinnedSettings::GetNofStations(), CbmTrack::GetParamFirst(), CbmTrack::GetParamLast(), CbmTrdHit::GetPlaneId(), CbmHit::GetRefId(), CbmTrdPoint::GetXIn(), CbmTrdPoint::GetXOut(), CbmTrdPoint::GetYIn(), CbmTrdPoint::GetYOut(), gEventNumber, gTracks, i, IncrementForId(), TrackDesc::nofTrdStations, TrackDesc::trd, trdTrackPullFirstX, trdTrackPullFirstY, trdTrackPullLastX, trdTrackPullLastY, trdTrackResidualFirstX, trdTrackResidualFirstY, trdTrackResidualLastX, and trdTrackResidualLastY.
Referenced by Exec().
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().
|
private |
Definition at line 809 of file CbmBinnedTrackerQA.cxx.
References fTrdClusters, fTrdDigiMatches, fTrdHits, fTrdPoints, CbmMCDataArray::Get(), CbmCluster::GetDigi(), CbmLink::GetEntry(), CbmLink::GetIndex(), CbmMatch::GetLink(), CbmCluster::GetNofDigis(), CbmMatch::GetNofLinks(), CbmHit::GetRefId(), and i.
|
delete |
void CbmBinnedTrackerQA::SetParContainers | ( | ) |
Definition at line 2462 of file CbmBinnedTrackerQA.cxx.
References fSettings.
|
inline |
Definition at line 39 of file CbmBinnedTrackerQA.h.
References fPrimaryParticleIds, and v.
|
private |
Definition at line 73 of file CbmBinnedTrackerQA.h.
Referenced by Exec(), HandleTof(), and Init().
|
private |
Definition at line 71 of file CbmBinnedTrackerQA.h.
|
private |
Definition at line 96 of file CbmBinnedTrackerQA.h.
Referenced by Init().
|
private |
Definition at line 82 of file CbmBinnedTrackerQA.h.
Referenced by Exec(), HandleMuch(), and Init().
|
private |
Definition at line 92 of file CbmBinnedTrackerQA.h.
Referenced by Exec(), HandleMuch(), and Init().
|
private |
Definition at line 91 of file CbmBinnedTrackerQA.h.
Referenced by Init().
|
private |
Definition at line 78 of file CbmBinnedTrackerQA.h.
Referenced by Exec(), HandleMuch(), and Init().
|
private |
Definition at line 98 of file CbmBinnedTrackerQA.h.
Referenced by Exec(), HandleMuch(), and Init().
|
private |
Definition at line 75 of file CbmBinnedTrackerQA.h.
Referenced by HandleMuch(), and Init().
|
private |
Definition at line 70 of file CbmBinnedTrackerQA.h.
Referenced by AddPrimaryParticle(), CbmBinnedTrackerQA(), Init(), and SetPrimaryParticle().
|
private |
Definition at line 72 of file CbmBinnedTrackerQA.h.
Referenced by Exec(), Finish(), HandleMuch(), HandleSts(), HandleTof(), HandleTrd(), Init(), and SetParContainers().
|
private |
Definition at line 81 of file CbmBinnedTrackerQA.h.
Referenced by Exec(), HandleSts(), and Init().
|
private |
Definition at line 90 of file CbmBinnedTrackerQA.h.
Referenced by Exec(), HandleSts(), and Init().
|
private |
Definition at line 89 of file CbmBinnedTrackerQA.h.
Referenced by Init().
|
private |
Definition at line 77 of file CbmBinnedTrackerQA.h.
Referenced by Exec(), HandleSts(), and Init().
|
private |
Definition at line 97 of file CbmBinnedTrackerQA.h.
Referenced by Exec(), HandleSts(), and Init().
|
private |
Definition at line 74 of file CbmBinnedTrackerQA.h.
Referenced by HandleSts(), and Init().
|
private |
Definition at line 87 of file CbmBinnedTrackerQA.h.
Referenced by Exec(), HandleTof(), and Init().
|
private |
Definition at line 94 of file CbmBinnedTrackerQA.h.
Referenced by Init().
|
private |
Definition at line 86 of file CbmBinnedTrackerQA.h.
Referenced by Exec(), HandleTof(), and Init().
|
private |
Definition at line 80 of file CbmBinnedTrackerQA.h.
|
private |
Definition at line 100 of file CbmBinnedTrackerQA.h.
Referenced by Exec(), HandleTof(), and Init().
|
private |
Definition at line 83 of file CbmBinnedTrackerQA.h.
Referenced by Exec(), HandleTrd(), Init(), and IterateTrdHits().
|
private |
Definition at line 85 of file CbmBinnedTrackerQA.h.
Referenced by Exec(), HandleTrd(), Init(), and IterateTrdHits().
|
private |
Definition at line 93 of file CbmBinnedTrackerQA.h.
Referenced by Init().
|
private |
Definition at line 79 of file CbmBinnedTrackerQA.h.
Referenced by Exec(), HandleTrd(), Init(), and IterateTrdHits().
|
private |
Definition at line 99 of file CbmBinnedTrackerQA.h.
Referenced by Exec(), HandleTrd(), Init(), and IterateTrdHits().
|
private |
Definition at line 76 of file CbmBinnedTrackerQA.h.
Referenced by HandleTrd(), and Init().