12#include "FairMCEventHeader.h"
13#include "FairRootManager.h"
49 virtual InitStatus
Init();
54 virtual void Exec(Option_t* option);
59 FairRootManager* ioman = FairRootManager::Instance();
60 if (ioman ==
nullptr) {
61 LOG(fatal) <<
"LmvmTask::Init No FairRootManager!";
63 T* array =
static_cast<T*
>(ioman->GetObject(name.c_str()));
64 if (array ==
nullptr) {
65 LOG(fatal) <<
"LmvmTask::Init No " << name <<
" object!";
135 void CheckClosestMvdHit(
int mvdStationNum,
const std::string& hist,
const std::string& histQa);
153 bool IsInBox(
double boxX,
double boxY,
double xVal,
double yVal,
double width);
163 bool IsPrimary(
double vertexZ) {
return (vertexZ < fZ + 0.1 && vertexZ >
fZ - 0.1); }
204 std::vector<LmvmCand>
void CombinatorialPairs()
void CheckGammaConvAndPi0()
std::map< int, int > fNofHitsInRingMap
CbmDigiManager * fDigiManager
TClonesArray * fRichRingMatches
TClonesArray * fCbmEvents
FairMCEventHeader * fMCEventHeader
std::vector< LmvmCand > fSTCands
void AssignMcToTopologyCands(std::vector< LmvmCand > &topoCands)
void RatioMomentum(const CbmMCTrack *mct, const LmvmCand &cand, ELmvmAnaStep step, int pdg)
TClonesArray * fMvdHitMatches
TClonesArray * fRichRings
TClonesArray * fTofPoints
TClonesArray * fTofHitsMatches
void CheckLikeSignCorrelations()
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)
void FillCandsForEventMix()
double MinvScale(const CbmMCTrack *mct, const std::string &signal)
LmvmTask(const LmvmTask &)
void SetEnergyAndPlutoParticle(const std::string &energy, const std::string &particle)
TClonesArray * fRichPoints
bool IsPrimary(double vertexZ)
std::vector< LmvmCand > fTTCands
std::vector< LmvmCand > fCands
void TrackSource(const LmvmCand &cand, ELmvmAnaStep step, int pdg)
bool IsInTofPile(double mom, double m2)
CbmMCTrack * GetMcTrackSts(int stsIndex)
void AssignMcToCands(std::vector< LmvmCand > &cands)
void AnalyseGlobalTracks()
void CheckClosestMvdHit(int mvdStationNum, const std::string &hist, const std::string &histQa)
void FillSourceHistos(const LmvmCand &cand)
TClonesArray * fTofTracks
TClonesArray * fStsTrackMatches
virtual InitStatus Init()
bool IsRecoTrackAccepted(const CbmGlobalTrack *gTrack)
virtual void Exec(Option_t *option)
void BetaMom(const CbmMCTrack *mct, const CbmGlobalTrack *gTrack, const std::string &ptcl)
std::vector< LmvmCand > fCandsMix
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 &)
CbmStsKFTrackFitter fKFFitter
TClonesArray * fTrdTrackMatches
bool IsInBox(double boxX, double boxY, double xVal, double yVal, double width)
void CheckTopologyCut(ELmvmTopologyCut cut, const std::string &name)
TClonesArray * fGlobalTracks
std::vector< LmvmCand > fRTCands
void FillMomHists(const CbmMCTrack *mct, const LmvmCand *cand, ELmvmSrc src, ELmvmAnaStep step)
void PidVsMom(const CbmGlobalTrack *gTrack, int iGTrack, int pdg, double mom, bool isAcc)
void FillHistosForFastSim()
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
void SetTaskId(const std::string &taskId)