diff --git a/macro/L1/run_reco_L1global.C b/macro/L1/run_reco_L1global.C index 0d906f6d254e7a62155e2f7893a7f7128bb563aa..eebdd4ce6bf785d243f9138021137323cc65270e 100644 --- a/macro/L1/run_reco_L1global.C +++ b/macro/L1/run_reco_L1global.C @@ -354,7 +354,7 @@ void run_reco_L1global(TString input = "", Int_t nTimeSlices = -1, Int_t firstTi CbmKF* kalman = new CbmKF(); run->AddTask(kalman); CbmL1* l1 = 0; - if (debugWithMC) { l1 = new CbmL1("L1", 2, 2); } + if (debugWithMC) { l1 = new CbmL1("L1", 2, 1); } else { l1 = new CbmL1("L1", 0); } diff --git a/reco/L1/CbmL1MCTrack.h b/reco/L1/CbmL1MCTrack.h index 4793793d9046518d1c590b12b70583cc7fd62b28..59c820b832f39fb448bdb488134cffe1fbf39060 100644 --- a/reco/L1/CbmL1MCTrack.h +++ b/reco/L1/CbmL1MCTrack.h @@ -41,12 +41,13 @@ public: CbmL1MCTrack(double mass, double q, TVector3 vr, TLorentzVector vp, int ID, int mother_ID, int pdg); // CbmL1MCTrack(TmpMCPoints &mcPoint, TVector3 vr, TLorentzVector vp, int ID, int mother_ID); - bool IsPrimary() const { return mother_ID < 0; }; - bool IsReconstructable() const { return isReconstructable; }; + bool IsPrimary() const { return mother_ID < 0; } + bool IsReconstructable() const { return isReconstructable; } bool IsAdditional() const { return isAdditional; } - int NStations() const { return nStations; }; - int NMCStations() const { return nMCStations; }; - int NMCContStations() const { return nMCContStations; }; + int NStations() const { return nStations; } + int NHitContStations() const { return nHitContStations; } + int NMCStations() const { return nMCStations; } + int NMCContStations() const { return nMCContStations; } float Fraction_MC(); void Init();