CbmRoot
PairAnalysisVarManager Class Reference

#include <PairAnalysisVarManager.h>

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

Public Types

enum  ValueTypes {
  kMEL = 1, kMMU, kMPI, kMKA,
  kMPR, kMK0, kMLA, kMPair,
  kEbeam, kConstMax, kPosX = kConstMax, kPosY,
  kPosZ, kLinksMC, kTrdLayer, kTrdPads,
  kTrdCols, kTrdRows, kEloss, kNPhotons,
  kPmtId, kBeta, kTofPidDeltaBetaEL, kTofPidDeltaBetaMU,
  kTofPidDeltaBetaPI, kTofPidDeltaBetaKA, kTofPidDeltaBetaPR, kMassSq,
  kHitMax, kPx = kHitMax, kPy, kPz,
  kPt, kPtSq, kP, kXv,
  kYv, kZv, kOneOverPt, kPhi,
  kTheta, kEta, kY, kYlab,
  kE, kM, kCharge, kMt,
  kChi2NDFtoVtx, kImpactParXY, kImpactParZ, kInclAngle,
  kParticleMax, kTrackLength = kParticleMax, kTrackChi2NDF, kPin,
  kPtin, kPout, kPtout, kTrdSignal,
  kTrdPidWkn, kTrdPidANN, kTrdPidLikeEL, kTrdPidLikePI,
  kTrdPidLikeKA, kTrdPidLikePR, kTrdPidLikeMU, kTrdHits,
  kTrdChi2NDF, kTrdPin, kTrdPtin, kTrdPhiin,
  kTrdThetain, kTrdPout, kTrdPtout, kTrdThetaCorr,
  kTrdPhiCorr, kMvdhasEntr, kMvdHits, kMvdFirstHitPosZ,
  kMvdFirstExtX, kMvdFirstExtY, kStsHits, kStsChi2NDF,
  kStsPin, kStsPtin, kStsPout, kStsPtout,
  kStsXv, kStsYv, kStsZv, kStsFirstHitPosZ,
  kRichhasProj, kRichPidANN, kRichHitsOnRing, kRichHits,
  kRichChi2NDF, kRichRadius, kRichAxisA, kRichAxisB,
  kRichCenterX, kRichCenterY, kRichDistance, kRichRadialPos,
  kRichRadialAngle, kRichPhi, kTofHits, kMuchHits,
  kMuchHitsPixel, kMuchChi2NDF, kRndmTrack, kTrackMax,
  kChi2NDF = kTrackMax, kDecayLength, kR, kOpeningAngle,
  kCosPointingAngle, kArmAlpha, kArmPt, kThetaHE,
  kPhiHE, kThetaSqHE, kCos2PhiHE, kCosTilPhiHE,
  kThetaCS, kPhiCS, kThetaSqCS, kCos2PhiCS,
  kCosTilPhiCS, kPsiPair, kPhivPair, kLegDist,
  kLegDistXY, kDeltaEta, kDeltaPhi, kLegsP,
  kMerr, kDCA, kPairType, kMomAsymDau1,
  kMomAsymDau2, kPairEff, kOneOverPairEff, kOneOverPairEffSq,
  kRndmPair, kPairs, kPairMax, kXvPrim = kPairMax,
  kYvPrim, kZvPrim, kVtxChi, kVtxNDF,
  kXRes, kYRes, kZRes, kMaxPt,
  kRndmRej, kNTrk, kTracks, kNVtxContrib,
  kCentrality, kNevents, kRunNumber, kYbeam,
  kMixingBin, kTotalTRDHits, kNMaxValues, kPosXMC = kNMaxValues,
  kPosYMC, kPosZMC, kElossMC, kHitMaxMC,
  kPxMC = kHitMaxMC, kPyMC, kPzMC, kPtMC,
  kPtSqMC, kPMC, kXvMC, kYvMC,
  kZvMC, kPhivMC, kThetavMC, kOneOverPtMC,
  kPhiMC, kThetaMC, kEtaMC, kYMC,
  kYlabMC, kBetaGammaMC, kEMC, kEMotherMC,
  kMMC, kChargeMC, kPdgCode, kPdgCodeMother,
  kPdgCodeGrandMother, kGeantId, kWeight, kParticleMaxMC,
  kTrdHitsMC = kParticleMaxMC, kMvdHitsMC, kStsHitsMC, kTofHitsMC,
  kMuchHitsMC, kRichHitsMC, kTrdMCTracks, kRichMCPoints,
  kTrdTrueHits, kTrdDistHits, kTrdFakeHits, kTrdDistortion,
  kStsTrueHits, kStsDistHits, kStsFakeHits, kTrdisMC,
  kMvdisMC, kStsisMC, kMuchisMC, kRichisMC,
  kTofisMC, kTrackMaxMC, kOpeningAngleMC = kTrackMaxMC, kCosPointingAngleMC,
  kPairMaxMC, kNTrkMC = kPairMaxMC, kXvPrimMC, kYvPrimMC,
  kZvPrimMC, kStsMatches, kTrdMatches, kVageMatches,
  kTotalTRDHitsMC, kImpactParam, kNPrimMC, kNMaxValuesMC
}
 

Public Member Functions

 PairAnalysisVarManager ()
 
 PairAnalysisVarManager (const char *name, const char *title)
 
virtual ~PairAnalysisVarManager ()
 

Static Public Member Functions

static void InitFormulas ()
 
static void InitFitter ()
 
static void Fill (const TObject *particle, Double_t *const values)
 
static void FillVarMCParticle (const CbmMCTrack *p1, const CbmMCTrack *p2, Double_t *const values)
 
static void FillSum (const TObject *particle, Double_t *const values)
 
static void CalculateHitTypes (const PairAnalysisTrack *track, ECbmModuleId idet, Int_t *trueH, Int_t *distH, Int_t *fakeH)
 
static void SetFillMap (TBits *map)
 
static void SetEvent (PairAnalysisEvent *const ev)
 
static void SetEventData (const Double_t data[PairAnalysisVarManager::kNMaxValuesMC])
 
static void SetValue (ValueTypes var, Double_t val)
 
static PairAnalysisEventGetCurrentEvent ()
 
static const CbmKFVertexGetKFVertex ()
 
static const char * GetValueName (Int_t i)
 
static const char * GetValueLabel (Int_t i)
 
static const char * GetValueUnit (Int_t i)
 
static Double_t * GetData ()
 
static Double_t GetValue (ValueTypes val)
 
static UInt_t GetValueType (const char *valname)
 
static UInt_t GetValueTypeMC (UInt_t var)
 
static UInt_t * GetArray (ValueTypes var0, ValueTypes var1=kNMaxValuesMC, ValueTypes var2=kNMaxValuesMC, ValueTypes var3=kNMaxValuesMC, ValueTypes var4=kNMaxValuesMC, ValueTypes var5=kNMaxValuesMC, ValueTypes var6=kNMaxValuesMC, ValueTypes var7=kNMaxValuesMC, ValueTypes var8=kNMaxValuesMC, ValueTypes var9=kNMaxValuesMC)
 

Static Public Attributes

static TFormula * fgFormula [kNMaxValuesMC] = {0x0}
 

Private Member Functions

 PairAnalysisVarManager (const PairAnalysisVarManager &c)
 
PairAnalysisVarManageroperator= (const PairAnalysisVarManager &c)
 
 ClassDef (PairAnalysisVarManager, 1)
 

Static Private Member Functions

static Bool_t Req (ValueTypes var)
 
static void FillVarConstants (Double_t *const values)
 
static void FillVarPairAnalysisEvent (const PairAnalysisEvent *event, Double_t *const values)
 
static void FillVarVertex (const CbmVertex *vertex, Double_t *const values)
 
static void FillVarPairAnalysisTrack (const PairAnalysisTrack *track, Double_t *const values)
 
static void FillVarGlobalTrack (const CbmGlobalTrack *track, Double_t *const values)
 
static void FillVarStsTrack (const CbmStsTrack *track, Double_t *const values)
 
static void FillVarMuchTrack (const CbmMuchTrack *track, Double_t *const values)
 
static void FillVarTrdTrack (const CbmTrdTrack *track, Double_t *const values)
 
static void FillVarRichRing (const CbmRichRing *track, Double_t *const values)
 
static void FillVarMCTrack (const CbmMCTrack *particle, Double_t *const values)
 
static void FillVarPairAnalysisPair (const PairAnalysisPair *pair, Double_t *const values)
 
static void FillVarMvdHit (const CbmMvdHit *hit, Double_t *const values)
 
static void FillVarStsHit (const CbmStsHit *hit, Double_t *const values)
 
static void FillVarMuchHit (const CbmMuchPixelHit *hit, Double_t *const values)
 
static void FillVarTrdHit (const CbmTrdHit *hit, Double_t *const values)
 
static void FillVarRichHit (const CbmRichHit *hit, Double_t *const values)
 
static void FillVarTofHit (const CbmTofHit *hit, Double_t *const values)
 
static void FillVarPixelHit (const CbmPixelHit *hit, Double_t *const values)
 
static void FillVarTrdCluster (const CbmTrdCluster *cluster, Double_t *const values)
 
static void FillVarMCPoint (const FairMCPoint *hit, Double_t *const values)
 
static void FillSumVarMCPoint (const FairMCPoint *hit, Double_t *const values)
 
static void FillVarMCHeader (const FairMCEventHeader *header, Double_t *const values)
 
static void ResetArrayData (Int_t to, Double_t *const values)
 
static void ResetArrayDataMC (Int_t to, Double_t *const values)
 

Static Private Attributes

static Double_t fgData [kNMaxValuesMC]
 
static const char * fgkParticleNames [kNMaxValuesMC][3]
 data More...
 
static PairAnalysisEventfgEvent = 0x0
 
static CbmKFVertexfgKFVertex = 0x0
 
static CbmVertexfgVertexMC = 0x0
 
static TBits * fgFillMap = 0x0
 
static Int_t fgCurrentRun = -1
 

Detailed Description

Definition at line 68 of file PairAnalysisVarManager.h.

Member Enumeration Documentation

◆ ValueTypes

Enumerator
kMEL 
kMMU 
kMPI 
kMKA 
kMPR 
kMK0 
kMLA 
kMPair 
kEbeam 
kConstMax 
kPosX 
kPosY 
kPosZ 
kLinksMC 
kTrdLayer 
kTrdPads 
kTrdCols 
kTrdRows 
kEloss 
kNPhotons 
kPmtId 
kBeta 
kTofPidDeltaBetaEL 
kTofPidDeltaBetaMU 
kTofPidDeltaBetaPI 
kTofPidDeltaBetaKA 
kTofPidDeltaBetaPR 
kMassSq 
kHitMax 
kPx 
kPy 
kPz 
kPt 
kPtSq 
kP 
kXv 
kYv 
kZv 
kOneOverPt 
kPhi 
kTheta 
kEta 
kY 
kYlab 
kE 
kM 
kCharge 
kMt 
kChi2NDFtoVtx 
kImpactParXY 
kImpactParZ 
kInclAngle 
kParticleMax 
kTrackLength 
kTrackChi2NDF 
kPin 
kPtin 
kPout 
kPtout 
kTrdSignal 
kTrdPidWkn 
kTrdPidANN 
kTrdPidLikeEL 
kTrdPidLikePI 
kTrdPidLikeKA 
kTrdPidLikePR 
kTrdPidLikeMU 
kTrdHits 
kTrdChi2NDF 
kTrdPin 
kTrdPtin 
kTrdPhiin 
kTrdThetain 
kTrdPout 
kTrdPtout 
kTrdThetaCorr 
kTrdPhiCorr 
kMvdhasEntr 
kMvdHits 
kMvdFirstHitPosZ 
kMvdFirstExtX 
kMvdFirstExtY 
kStsHits 
kStsChi2NDF 
kStsPin 
kStsPtin 
kStsPout 
kStsPtout 
kStsXv 
kStsYv 
kStsZv 
kStsFirstHitPosZ 
kRichhasProj 
kRichPidANN 
kRichHitsOnRing 
kRichHits 
kRichChi2NDF 
kRichRadius 
kRichAxisA 
kRichAxisB 
kRichCenterX 
kRichCenterY 
kRichDistance 
kRichRadialPos 
kRichRadialAngle 
kRichPhi 
kTofHits 
kMuchHits 
kMuchHitsPixel 
kMuchChi2NDF 
kRndmTrack 
kTrackMax 
kChi2NDF 
kDecayLength 
kR 
kOpeningAngle 
kCosPointingAngle 
kArmAlpha 
kArmPt 
kThetaHE 
kPhiHE 
kThetaSqHE 
kCos2PhiHE 
kCosTilPhiHE 
kThetaCS 
kPhiCS 
kThetaSqCS 
kCos2PhiCS 
kCosTilPhiCS 
kPsiPair 
kPhivPair 
kLegDist 
kLegDistXY 
kDeltaEta 
kDeltaPhi 
kLegsP 
kMerr 
kDCA 
kPairType 
kMomAsymDau1 
kMomAsymDau2 
kPairEff 
kOneOverPairEff 
kOneOverPairEffSq 
kRndmPair 
kPairs 
kPairMax 
kXvPrim 
kYvPrim 

prim vertex [cm]

kZvPrim 

prim vertex [cm]

kVtxChi 

prim vertex [cm]

kVtxNDF 

chi2

kXRes 

nof degrees of freedom

kYRes 
kZRes 
kMaxPt 
kRndmRej 
kNTrk 
kTracks 
kNVtxContrib 
kCentrality 

number of primary vertex contibutors

kNevents 
kRunNumber 
kYbeam 
kMixingBin 
kTotalTRDHits 
kNMaxValues 
kPosXMC 
kPosYMC 
kPosZMC 
kElossMC 
kHitMaxMC 
kPxMC 
kPyMC 
kPzMC 
kPtMC 
kPtSqMC 
kPMC 
kXvMC 
kYvMC 
kZvMC 
kPhivMC 
kThetavMC 
kOneOverPtMC 
kPhiMC 
kThetaMC 
kEtaMC 
kYMC 
kYlabMC 
kBetaGammaMC 
kEMC 
kEMotherMC 
kMMC 
kChargeMC 
kPdgCode 
kPdgCodeMother 
kPdgCodeGrandMother 
kGeantId 
kWeight 
kParticleMaxMC 
kTrdHitsMC 
kMvdHitsMC 
kStsHitsMC 
kTofHitsMC 
kMuchHitsMC 
kRichHitsMC 
kTrdMCTracks 
kRichMCPoints 
kTrdTrueHits 
kTrdDistHits 
kTrdFakeHits 
kTrdDistortion 
kStsTrueHits 
kStsDistHits 
kStsFakeHits 
kTrdisMC 
kMvdisMC 
kStsisMC 
kMuchisMC 
kRichisMC 
kTofisMC 
kTrackMaxMC 
kOpeningAngleMC 
kCosPointingAngleMC 
kPairMaxMC 
kNTrkMC 
kXvPrimMC 
kYvPrimMC 

MC vertex [cm].

kZvPrimMC 

MC vertex [cm].

kStsMatches 

MC vertex [cm].

kTrdMatches 
kVageMatches 
kTotalTRDHitsMC 
kImpactParam 
kNPrimMC 
kNMaxValuesMC 

Definition at line 71 of file PairAnalysisVarManager.h.

Constructor & Destructor Documentation

◆ PairAnalysisVarManager() [1/3]

PairAnalysisVarManager::PairAnalysisVarManager ( )

Definition at line 318 of file PairAnalysisVarManager.cxx.

References fgFormula, i, and kNMaxValuesMC.

◆ PairAnalysisVarManager() [2/3]

PairAnalysisVarManager::PairAnalysisVarManager ( const char *  name,
const char *  title 
)

Definition at line 331 of file PairAnalysisVarManager.cxx.

References fgFormula, i, and kNMaxValuesMC.

◆ ~PairAnalysisVarManager()

PairAnalysisVarManager::~PairAnalysisVarManager ( )
virtual

Definition at line 345 of file PairAnalysisVarManager.cxx.

References fgFormula, i, and kNMaxValuesMC.

◆ PairAnalysisVarManager() [3/3]

PairAnalysisVarManager::PairAnalysisVarManager ( const PairAnalysisVarManager c)
private

Member Function Documentation

◆ CalculateHitTypes()

◆ ClassDef()

PairAnalysisVarManager::ClassDef ( PairAnalysisVarManager  ,
 
)
private

◆ Fill()

◆ FillSum()

void PairAnalysisVarManager::FillSum ( const TObject *  particle,
Double_t *const  values 
)
inlinestatic

Definition at line 527 of file PairAnalysisVarManager.h.

References FillSumVarMCPoint().

Referenced by PairAnalysis::FillHistogramsHits().

◆ FillSumVarMCPoint()

void PairAnalysisVarManager::FillSumVarMCPoint ( const FairMCPoint *  hit,
Double_t *const  values 
)
inlinestaticprivate

Definition at line 1481 of file PairAnalysisVarManager.h.

References kElossMC, kPosXMC, kPosYMC, and kPosZMC.

Referenced by FillSum().

◆ FillVarConstants()

void PairAnalysisVarManager::FillVarConstants ( Double_t *const  values)
inlinestaticprivate

automaticaly filled in PairAnalysis::Process using PairAnalysis::fPdgMother

automaticaly filled in AnalysisTaskMultiPairAnalysis::Init

Definition at line 1499 of file PairAnalysisVarManager.h.

References fgData, kEbeam, kMEL, kMK0, kMKA, kMLA, kMMU, kMPair, kMPI, and kMPR.

Referenced by SetEvent().

◆ FillVarGlobalTrack()

void PairAnalysisVarManager::FillVarGlobalTrack ( const CbmGlobalTrack track,
Double_t *const  values 
)
inlinestaticprivate

◆ FillVarMCHeader()

void PairAnalysisVarManager::FillVarMCHeader ( const FairMCEventHeader *  header,
Double_t *const  values 
)
inlinestaticprivate

◆ FillVarMCParticle()

◆ FillVarMCPoint()

void PairAnalysisVarManager::FillVarMCPoint ( const FairMCPoint *  hit,
Double_t *const  values 
)
inlinestaticprivate

Definition at line 1462 of file PairAnalysisVarManager.h.

References kElossMC, kHitMaxMC, kPosXMC, kPosYMC, kPosZMC, and ResetArrayDataMC().

Referenced by Fill().

◆ FillVarMCTrack()

◆ FillVarMuchHit()

void PairAnalysisVarManager::FillVarMuchHit ( const CbmMuchPixelHit hit,
Double_t *const  values 
)
inlinestaticprivate

Definition at line 1322 of file PairAnalysisVarManager.h.

References FillVarPixelHit(), kHitMax, and ResetArrayData().

Referenced by Fill().

◆ FillVarMuchTrack()

void PairAnalysisVarManager::FillVarMuchTrack ( const CbmMuchTrack track,
Double_t *const  values 
)
inlinestaticprivate

◆ FillVarMvdHit()

void PairAnalysisVarManager::FillVarMvdHit ( const CbmMvdHit hit,
Double_t *const  values 
)
inlinestaticprivate

Definition at line 1302 of file PairAnalysisVarManager.h.

References FillVarPixelHit(), kHitMax, and ResetArrayData().

Referenced by Fill().

◆ FillVarPairAnalysisEvent()

void PairAnalysisVarManager::FillVarPairAnalysisEvent ( const PairAnalysisEvent event,
Double_t *const  values 
)
inlinestaticprivate

◆ FillVarPairAnalysisPair()

void PairAnalysisVarManager::FillVarPairAnalysisPair ( const PairAnalysisPair pair,
Double_t *const  values 
)
inlinestaticprivate

TODO: check

Definition at line 1158 of file PairAnalysisVarManager.h.

References PairAnalysisPair::Charge(), PairAnalysisPair::DaughtersP(), PairAnalysisPair::DistanceDaughters(), PairAnalysisPair::DistanceDaughtersXY(), PairAnalysisPair::E(), fgEvent, FillVarMCParticle(), PairAnalysisPair::GetArmAlpha(), PairAnalysisPair::GetArmPt(), PairAnalysisPair::GetChi2(), PairAnalysisPair::GetCosPointingAngle(), PairAnalysisPair::GetDCA(), PairAnalysisPair::GetDecayLength(), PairAnalysisPair::GetFirstDaughter(), PairAnalysisTrack::GetMCTrack(), PairAnalysisPair::GetNdf(), PairAnalysisEvent::GetPrimaryVertex(), PairAnalysisPair::GetR(), PairAnalysisPair::GetSecondDaughter(), PairAnalysisPair::GetThetaPhiCM(), PairAnalysisPair::GetType(), PairAnalysisPair::GetWeight(), kArmAlpha, kArmPt, kCharge, kChi2NDF, kCos2PhiCS, kCos2PhiHE, kCosPointingAngle, kCosTilPhiCS, kCosTilPhiHE, kDecayLength, kE, kEbeam, kImpactParXY, kImpactParZ, kLegDist, kLegDistXY, kLegsP, kM, kMPair, kMt, kOneOverPt, kOpeningAngle, kP, kPairMax, kPairMaxMC, kPairType, kPhi, kPhiCS, kPhiHE, kPt, kPtSq, kPx, kPy, kPz, kR, kRndmPair, kTheta, kThetaCS, kThetaHE, kThetaSqCS, kThetaSqHE, kWeight, kXv, kY, kYbeam, kYlab, kYv, kZv, PairAnalysisPair::M(), PairAnalysisPair::OneOverPt(), PairAnalysisPair::OpeningAngle(), PairAnalysisPair::P(), PairAnalysisPair::Phi(), xMath::Pi(), PairAnalysisPair::Pt(), PairAnalysisPair::Px(), PairAnalysisPair::Py(), PairAnalysisPair::Pz(), Req(), ResetArrayData(), ResetArrayDataMC(), PairAnalysisPair::SetBeamEnergy(), PairAnalysisPair::Theta(), PairAnalysisPair::Xv(), PairAnalysisPair::Y(), PairAnalysisPair::Yv(), and PairAnalysisPair::Zv().

Referenced by Fill().

◆ FillVarPairAnalysisTrack()

void PairAnalysisVarManager::FillVarPairAnalysisTrack ( const PairAnalysisTrack track,
Double_t *const  values 
)
inlinestaticprivate

printf("track length %f \n",values[kTrackLength]);

Definition at line 686 of file PairAnalysisVarManager.h.

References CbmRichElectronIdAnn::CalculateAnnValue(), CalculateHitTypes(), PairAnalysisTrack::Charge(), PairAnalysisTrack::ChiToVertex(), PairAnalysisTrack::E(), Fill(), PairAnalysisTrack::GetGlobalIndex(), PairAnalysisTrack::GetGlobalTrack(), CbmRichElectronIdAnn::GetInstance(), PairAnalysisTrack::GetMCTrack(), PairAnalysisTrack::GetMuchTrack(), PairAnalysisTrack::GetMvdEntrance(), CbmMatch::GetNofLinks(), PairAnalysisTrack::GetRichProj(), PairAnalysisTrack::GetRichRing(), PairAnalysisTrack::GetStsTrack(), PairAnalysisTrack::GetTofHit(), PairAnalysisTrack::GetTrackMatch(), PairAnalysisTrack::GetTrdTrack(), PairAnalysisTrack::GetWeight(), kCharge, kChi2NDFtoVtx, kE, kImpactParXY, kImpactParZ, kInclAngle, kM, kMPair, kMt, kMuch, kMuchisMC, kMvd, kMvdFirstExtX, kMvdFirstExtY, kMvdhasEntr, kMvdisMC, kOneOverPt, kP, kParticleMax, kPhi, kPt, kPtSq, kPx, kPy, kPz, kRich, kRichDistance, kRichhasProj, kRichisMC, kRichMCPoints, kRichPidANN, kRndmTrack, kSts, kStsDistHits, kStsFakeHits, kStsisMC, kStsTrueHits, kTheta, kTof, kTofHits, kTofisMC, kTrackMax, kTrackMaxMC, kTrd, kTrdDistHits, kTrdFakeHits, kTrdisMC, kTrdMCTracks, kTrdTrueHits, kWeight, kXv, kXvPrim, kY, kYbeam, kYlab, kYv, kYvPrim, kZv, kZvPrim, PairAnalysisTrack::M(), PairAnalysisTrack::OneOverPt(), PairAnalysisTrack::P(), PairAnalysisTrack::Phi(), PairAnalysisTrack::Pt(), PairAnalysisTrack::Px(), PairAnalysisTrack::Py(), PairAnalysisTrack::Pz(), ResetArrayData(), ResetArrayDataMC(), PairAnalysisTrack::Theta(), ToIntegralType(), PairAnalysisTrack::Xv(), PairAnalysisTrack::Y(), PairAnalysisTrack::Yv(), and PairAnalysisTrack::Zv().

Referenced by Fill().

◆ FillVarPixelHit()

void PairAnalysisVarManager::FillVarPixelHit ( const CbmPixelHit hit,
Double_t *const  values 
)
inlinestaticprivate

◆ FillVarRichHit()

void PairAnalysisVarManager::FillVarRichHit ( const CbmRichHit hit,
Double_t *const  values 
)
inlinestaticprivate

Definition at line 1341 of file PairAnalysisVarManager.h.

References FillVarPixelHit(), CbmRichHit::GetPmtId(), kHitMax, kNPhotons, kPmtId, and ResetArrayData().

Referenced by Fill().

◆ FillVarRichRing()

◆ FillVarStsHit()

void PairAnalysisVarManager::FillVarStsHit ( const CbmStsHit hit,
Double_t *const  values 
)
inlinestaticprivate

Definition at line 1283 of file PairAnalysisVarManager.h.

References FillVarPixelHit(), kHitMax, and ResetArrayData().

Referenced by Fill().

◆ FillVarStsTrack()

◆ FillVarTofHit()

void PairAnalysisVarManager::FillVarTofHit ( const CbmTofHit hit,
Double_t *const  values 
)
inlinestaticprivate

◆ FillVarTrdCluster()

void PairAnalysisVarManager::FillVarTrdCluster ( const CbmTrdCluster cluster,
Double_t *const  values 
)
inlinestaticprivate

◆ FillVarTrdHit()

void PairAnalysisVarManager::FillVarTrdHit ( const CbmTrdHit hit,
Double_t *const  values 
)
inlinestaticprivate

◆ FillVarTrdTrack()

◆ FillVarVertex()

void PairAnalysisVarManager::FillVarVertex ( const CbmVertex vertex,
Double_t *const  values 
)
inlinestaticprivate

◆ GetArray()

UInt_t * PairAnalysisVarManager::GetArray ( ValueTypes  var0,
ValueTypes  var1 = kNMaxValuesMC,
ValueTypes  var2 = kNMaxValuesMC,
ValueTypes  var3 = kNMaxValuesMC,
ValueTypes  var4 = kNMaxValuesMC,
ValueTypes  var5 = kNMaxValuesMC,
ValueTypes  var6 = kNMaxValuesMC,
ValueTypes  var7 = kNMaxValuesMC,
ValueTypes  var8 = kNMaxValuesMC,
ValueTypes  var9 = kNMaxValuesMC 
)
inlinestatic

Definition at line 1665 of file PairAnalysisVarManager.h.

◆ GetCurrentEvent()

static PairAnalysisEvent* PairAnalysisVarManager::GetCurrentEvent ( )
inlinestatic

Definition at line 375 of file PairAnalysisVarManager.h.

References fgEvent.

Referenced by PairAnalysis::FillMCHistograms().

◆ GetData()

◆ GetKFVertex()

static const CbmKFVertex* PairAnalysisVarManager::GetKFVertex ( )
inlinestatic

Definition at line 376 of file PairAnalysisVarManager.h.

References fgKFVertex.

◆ GetValue()

static Double_t PairAnalysisVarManager::GetValue ( ValueTypes  val)
inlinestatic

Definition at line 387 of file PairAnalysisVarManager.h.

References fgData.

◆ GetValueLabel()

static const char* PairAnalysisVarManager::GetValueLabel ( Int_t  i)
inlinestatic

Definition at line 380 of file PairAnalysisVarManager.h.

References fgkParticleNames, i, and kNMaxValuesMC.

Referenced by PairAnalysisHelper::GetFormulaTitle().

◆ GetValueName()

◆ GetValueType()

UInt_t PairAnalysisVarManager::GetValueType ( const char *  valname)
static

Definition at line 355 of file PairAnalysisVarManager.cxx.

References fgkParticleNames, i, and kNMaxValuesMC.

Referenced by GetValueTypeMC(), and PairAnalysisObjectCuts::IsSelected().

◆ GetValueTypeMC()

UInt_t PairAnalysisVarManager::GetValueTypeMC ( UInt_t  var)
static

◆ GetValueUnit()

static const char* PairAnalysisVarManager::GetValueUnit ( Int_t  i)
inlinestatic

Definition at line 383 of file PairAnalysisVarManager.h.

References fgkParticleNames, i, and kNMaxValuesMC.

◆ InitFitter()

void PairAnalysisVarManager::InitFitter ( )
inlinestatic

Definition at line 1701 of file PairAnalysisVarManager.h.

◆ InitFormulas()

void PairAnalysisVarManager::InitFormulas ( )
inlinestatic

◆ operator=()

PairAnalysisVarManager& PairAnalysisVarManager::operator= ( const PairAnalysisVarManager c)
private

◆ Req()

static Bool_t PairAnalysisVarManager::Req ( ValueTypes  var)
inlinestaticprivate

Definition at line 420 of file PairAnalysisVarManager.h.

References fgFillMap.

Referenced by FillVarPairAnalysisPair().

◆ ResetArrayData()

◆ ResetArrayDataMC()

void PairAnalysisVarManager::ResetArrayDataMC ( Int_t  to,
Double_t *const  values 
)
inlinestaticprivate

◆ SetEvent()

void PairAnalysisVarManager::SetEvent ( PairAnalysisEvent *const  ev)
inlinestatic

◆ SetEventData()

void PairAnalysisVarManager::SetEventData ( const Double_t  data[PairAnalysisVarManager::kNMaxValuesMC])
inlinestatic

◆ SetFillMap()

◆ SetValue()

static void PairAnalysisVarManager::SetValue ( ValueTypes  var,
Double_t  val 
)
inlinestatic

Member Data Documentation

◆ fgCurrentRun

Int_t PairAnalysisVarManager::fgCurrentRun = -1
staticprivate

Definition at line 417 of file PairAnalysisVarManager.h.

◆ fgData

Double_t PairAnalysisVarManager::fgData
staticprivate
Initial value:
=
{0.}

Definition at line 407 of file PairAnalysisVarManager.h.

Referenced by FillVarConstants(), GetData(), GetValue(), SetEvent(), SetEventData(), and SetValue().

◆ fgEvent

PairAnalysisEvent * PairAnalysisVarManager::fgEvent = 0x0
staticprivate

◆ fgFillMap

TBits * PairAnalysisVarManager::fgFillMap = 0x0
staticprivate

Definition at line 416 of file PairAnalysisVarManager.h.

Referenced by Req(), and SetFillMap().

◆ fgFormula

TFormula * PairAnalysisVarManager::fgFormula = {0x0}
static

◆ fgKFVertex

CbmKFVertex * PairAnalysisVarManager::fgKFVertex = 0x0
staticprivate

Definition at line 412 of file PairAnalysisVarManager.h.

Referenced by GetKFVertex(), and SetEvent().

◆ fgkParticleNames

const char* PairAnalysisVarManager::fgkParticleNames[kNMaxValuesMC][3]
staticprivate

◆ fgVertexMC

CbmVertex * PairAnalysisVarManager::fgVertexMC = 0x0
staticprivate

Definition at line 413 of file PairAnalysisVarManager.h.

Referenced by FillVarMCHeader(), FillVarMCParticle(), and SetEvent().


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