11#include "FairMCEventHeader.h"
12#include "FairRootManager.h"
49 virtual InitStatus
Init();
54 virtual void Exec(Option_t* option);
59 FairRootManager* ioman = FairRootManager::Instance();
60 if (ioman ==
nullptr) { LOG(fatal) <<
"LmvmTask::Init No FairRootManager!"; }
61 T* array =
static_cast<T*
>(ioman->GetObject(name.c_str()));
62 if (array ==
nullptr) { LOG(fatal) <<
"LmvmTask::Init No " << name <<
" object!"; }
125 int pdg,
bool isTofEl);
135 void CheckClosestMvdHit(
int mvdStationNum,
const std::string& hist,
const std::string& histQa);
void CombinatorialPairs()
void CheckGammaConvAndPi0()
std::map< int, int > fNofHitsInRingMap
TClonesArray * fRichRingMatches
FairMCEventHeader * fMCEventHeader
std::vector< LmvmCand > fSTCands
void AssignMcToTopologyCands(std::vector< LmvmCand > &topoCands)
TClonesArray * fMvdHitMatches
TClonesArray * fRichRings
TClonesArray * fTofPoints
bool IsPrimary(double vertexMag)
double MinvScale(double minv)
TClonesArray * fTofHitsMatches
std::vector< LmvmCand > fCandsTotal
TClonesArray * fMvdPoints
void FillPairHists(const LmvmCand &candP, const LmvmCand &candM, const LmvmKinePar &parMc, const LmvmKinePar &parRec, ELmvmAnaStep step)
void BgPairPdg(const LmvmCand &candP, const LmvmCand &candM, ELmvmAnaStep step)
void CalculateNofTopologyPairs(const std::string &name, ELmvmSrc src)
LmvmTask(const LmvmTask &)
void SetEnergyAndPlutoParticle(const std::string &energy, const std::string &particle)
TClonesArray * fRichPoints
std::vector< LmvmCand > fTTCands
std::vector< LmvmCand > fCands
void TrackSource(const LmvmCand &cand, ELmvmAnaStep step, int pdg)
bool IsInTofPile(double mom, double m2)
void AssignMcToCands(std::vector< LmvmCand > &cands)
void AnalyseGlobalTracks()
void CheckClosestMvdHit(int mvdStationNum, const std::string &hist, const std::string &histQa)
TClonesArray * fTofTracks
bool IsMcTrackAccepted(int mcTrackInd)
TClonesArray * fStsTrackMatches
virtual InitStatus Init()
virtual void Exec(Option_t *option)
void BetaMom(const CbmMCTrack *mct, const CbmGlobalTrack *gTrack, const std::string &ptcl)
TClonesArray * fTrdTracks
std::string GetPidString(const CbmMCTrack *mct, const LmvmCand *cand)
void CheckTofId(const CbmMCTrack *mcTrack, const LmvmCand &cand, ELmvmAnaStep step, int pdg)
T * InitOrFatal(const std::string &name)
void SetPionMisidLevel(double level)
LmvmTask & operator=(const LmvmTask &)
void DifferenceSignalAndBg(const LmvmCand &cand)
void FillCandPidValues(const CbmMCTrack *mcTrack, const LmvmCand &cand, ELmvmAnaStep step)
TClonesArray * fTrdTrackMatches
void CheckTopologyCut(ELmvmTopologyCut cut, const std::string &name)
TClonesArray * fGlobalTracks
void CheckTofIdentification(const CbmGlobalTrack *gTrack, const std::string &pidString, double mom, double m2, int pdg, bool isTofEl)
void PidVsMom(const CbmGlobalTrack *gTrack, int iGTrack, int pdg, double mom)
std::vector< LmvmCand > fRTCands
void FillMomHists(const CbmMCTrack *mct, const LmvmCand *cand, ELmvmSrc src, ELmvmAnaStep step)
void FillRichRingNofHits()
void PairSource(const LmvmCand &candP, const LmvmCand &candM, ELmvmAnaStep step, const LmvmKinePar &parRec)
bool IsInAllDets(const CbmGlobalTrack *gTrack)
void CheckMismatches(const CbmGlobalTrack *gTrack, int pdg, bool isElectron, const std::string &ptcl, double weight)
TClonesArray * fStsTracks