]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - JETAN/AliJetKineReaderHeader.h
another codechecker warning fixed
[u/mrichter/AliRoot.git] / JETAN / AliJetKineReaderHeader.h
index 49ef2e161e172bb65db54aae14c16124ca6c973f..ff4c13c142056ffaa10ae1b07666b705321b7d80 100644 (file)
@@ -18,20 +18,23 @@ class AliJetKineReaderHeader : public AliJetReaderHeader
   virtual ~AliJetKineReaderHeader();
   
   // Setters
-  void SetFastSimTPC(Bool_t flag = kTRUE) {fFastSimTPC = flag;}
-  void SetFastSimEMCAL(Bool_t flag = kTRUE) {fFastSimEMCAL = flag;}
-  virtual void SetPtCut(Float_t par = 2.0) {fPtCut = par;}
+  void SetFastSimTPC(Bool_t flag = kTRUE) {fFastSimTPC = flag;} // if TPC fast simulation
+  void SetFastSimEMCAL(Bool_t flag = kTRUE) {fFastSimEMCAL = flag;} // if EMCAL fast simulation
+  void SetChargedOnly(Bool_t flag = kTRUE) {fChargedOnly = flag;} // for charged particles only, no smearing and no acceptance cuts
+
   // Getter
   Bool_t  FastSimTPC() const  {return fFastSimTPC;}
   Bool_t  FastSimEMCAL() const  {return fFastSimEMCAL;}
-  Float_t GetPtCut()   const  {return fPtCut;}
+  Bool_t  ChargedOnly() const  {return fChargedOnly;}
+
          
  protected:
   //parameters set by user
   Bool_t fFastSimTPC;
   Bool_t fFastSimEMCAL;
-  Float_t fPtCut;
-  ClassDef(AliJetKineReaderHeader,1);
+  Bool_t fChargedOnly;
+
+  ClassDef(AliJetKineReaderHeader,2);
 };
  
 #endif