]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Adding a MC/real data switch in the constructor (Ch.Baumann)
authorbelikov <belikov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 9 Feb 2011 16:14:15 +0000 (16:14 +0000)
committerbelikov <belikov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 9 Feb 2011 16:14:15 +0000 (16:14 +0000)
STEER/AliESDpid.h

index c8e9c4a21fe63159aff388488b465dc1672f5a42..f9c50037a955dae2587a34e885cb32a7808241ba 100644 (file)
@@ -23,7 +23,7 @@ class AliESDEvent;
 
 class AliESDpid {
 public:
-  AliESDpid(): fRange(5.), fRangeTOFMismatch(5.), fITSPIDmethod(kITSTruncMean), fTPCResponse(), fITSResponse(), fTOFResponse(), fTRDResponse(){;}
+  AliESDpid(Bool_t forMC=kFALSE): fRange(5.), fRangeTOFMismatch(5.), fITSPIDmethod(kITSTruncMean), fTPCResponse(), fITSResponse(forMC), fTOFResponse(), fTRDResponse(){;}
   virtual ~AliESDpid() {}
   Int_t MakePID(AliESDEvent *event, Bool_t TPCOnly = kFALSE, Float_t timeZeroTOF=9999) const;
   void MakeTPCPID(AliESDtrack *track) const;