]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWG/CaloTrackCorrBase/AliIsolationCut.h
making the container name parameterized
[u/mrichter/AliRoot.git] / PWG / CaloTrackCorrBase / AliIsolationCut.h
index 0424808706b63319f7fb88b5283cebbc3aed8580..18e0814ce2dcbf37bb3310a283f51516aa0daeca 100755 (executable)
@@ -58,22 +58,27 @@ class AliIsolationCut : public TObject {
   
   Float_t    GetConeSize()            const { return fConeSize       ; }
   Float_t    GetPtThreshold()         const { return fPtThreshold    ; }
+  Float_t    GetPtThresholdMax()      const { return fPtThresholdMax    ; }
   Float_t    GetSumPtThreshold()      const { return fSumPtThreshold ; }
   Float_t    GetPtFraction()          const { return fPtFraction     ; }
   Int_t      GetICMethod()            const { return fICMethod       ; }
   Int_t      GetParticleTypeInCone()  const { return fPartInCone     ; }
+  Bool_t     GetFracIsThresh()        const { return fFracIsThresh   ; }
        
   void       SetConeSize(Float_t r)         { fConeSize       = r    ; }
   void       SetPtThreshold(Float_t pt)     { fPtThreshold    = pt   ; }
+  void       SetPtThresholdMax(Float_t pt)  { fPtThresholdMax    = pt   ; }
   void       SetSumPtThreshold(Float_t s)   { fSumPtThreshold = s    ; }
   void       SetPtFraction(Float_t pt)      { fPtFraction     = pt   ; }
   void       SetICMethod(Int_t i )          { fICMethod       = i    ; }
   void       SetParticleTypeInCone(Int_t i) { fPartInCone     = i    ; }
   void       SetDebug(Int_t d)              { fDebug          = d    ; }
+  void       SetFracIsThresh(Bool_t f )     { fFracIsThresh   = f    ; }
  private:
   
   Float_t    fConeSize ;       // Size of the isolation cone 
   Float_t    fPtThreshold ;    // Mimium pt of the particles in the cone or sum in cone (UE pt mean in the forward region cone)
+  Float_t    fPtThresholdMax ; // Maximum pt of the particles outside the cone (needed to fit shower distribution isolated/non-isolated particles)
   Float_t    fSumPtThreshold ; // Minium of sum pt of the particles in the cone (UE sum in the forward region cone)
   Float_t    fPtFraction ;     // Fraction of the momentum of particles in cone or sum in cone
   Int_t      fICMethod ;       // Isolation cut method to be used
@@ -85,6 +90,7 @@ class AliIsolationCut : public TObject {
                                // kNeutralAndCharged, kOnlyNeutral, kOnlyCharged
 
   Int_t      fDebug;           // Debug level
+  Bool_t     fFracIsThresh;    // Use threshold instead of fraction when pt leading is small
   
   AliIsolationCut(              const AliIsolationCut & g) ; // cpy ctor
   AliIsolationCut & operator = (const AliIsolationCut & g) ; // cpy assignment