4 #include "FairRootManager.h" 
   12   FairRootManager *fManager =FairRootManager::Instance();
 
   35   std::cout << 
"InitStatus PndPidSciTAssociatorTask::Init()" << std::endl;
 
   37   FairRootManager *fManager =FairRootManager::Instance();       
 
   41     std::cout << 
"-I- PndPidSciTAssociatorTask::Init: No PndPidCandidate array PidChargedCand there!" << std::endl;
 
   47   std::cout << 
"-I- PndPidSciTAssociatorTask::Init: Success!" << std::endl;
 
   59   if(
fVerbose>1) std::cout << 
"-I- Start PndPidSciTAssociatorTask. "<<std::endl;
 
   70       if ((pidcand->
GetMomentum().Theta()*TMath::RadToDeg())<20.) 
continue; 
 
   80   TF1 *tofResolution = 
new TF1(
"tofResolution",
"[0]/x**4+[1]");
 
   91   tofResolution->SetParameters(0.0000153,0.0765);
 
   92   sigma = tofResolution->Eval(mom); 
 
   97   tofResolution->SetParameters(0.0000222,0.0768); 
 
   98   sigma = tofResolution->Eval(mom); 
 
  103   tofResolution->SetParameters(0.0000225,0.0764);
 
  104   sigma = tofResolution->Eval(mom);
 
  109   tofResolution->SetParameters(0.0003,0.0767);
 
  110   sigma = tofResolution->Eval(mom);
 
  115   tofResolution->SetParameters(0.00124,0.0787);
 
  116   sigma = tofResolution->Eval(mom);
 
  120   delete tofResolution;
 
  128   TF1 *gausPdf = 
new TF1(
"gausPdf",
"gausn",0,1);
 
  129   gausPdf->SetParameter(0,1);
 
  130   gausPdf->SetParameter(1,tofCalc);
 
  131   gausPdf->SetParameter(2,sigma);
 
  140   FairRootManager::Instance()->
 
Float_t GetTofStopTime() const 
 
PndPidSciTAssociatorTask()
 
TClonesArray * fPidChargedCand
 
void SetPionPdf(Double_t val)
 
virtual InitStatus Init()
 
friend F32vec4 sqrt(const F32vec4 &a)
 
Double_t val[nBoxes][nFEBox]
 
void SetKaonPdf(Double_t val)
 
virtual ~PndPidSciTAssociatorTask()
 
void SetElectronPdf(Double_t val)
 
virtual void Exec(Option_t *option)
 
void SetMuonPdf(Double_t val)
 
virtual void SetParContainers()
 
Float_t GetTofTrackLength() const 
 
h_MC_angle SetTitle("MC truth: opening angle of #pi^{0}")
 
Int_t GetTofIndex() const 
 
TString fTrackBranchNamePidHypo
PndPidProbability TCA for charged particles. 
 
void DoPidMatch(PndPidCandidate *pidcand, PndPidProbability *prob)
 
Double_t GetPdf(Double_t mom, Double_t length, Double_t tof, Double_t mass, Double_t sigma)
 
void SetProtonPdf(Double_t val)
 
TClonesArray * fPidChargedProb
PndPidCandidate TCA for charged particles. 
 
TVector3 GetMomentum() const