LCOV - code coverage report
Current view: top level - ANALYSIS/ANALYSISalice - AliKineTrackCuts.h (source / functions) Hit Total Coverage
Test: coverage.info Lines: 1 13 7.7 %
Date: 2016-06-14 17:26:59 Functions: 1 21 4.8 %

          Line data    Source code
       1             : #ifndef ALIKINETRACKCUTS_H
       2             : #define ALIKINETRACKCUTS_H
       3             : 
       4             : /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
       5             :  * See cxx source for full Copyright notice                               */
       6             : 
       7             : #include "AliAnalysisCuts.h"
       8             : 
       9             : class  TObject;
      10             : class  TList;
      11             : 
      12           0 : class AliKineTrackCuts : public AliAnalysisCuts
      13             : {
      14             : 
      15             : public:
      16             :                       AliKineTrackCuts(const Char_t* name = "AliKineTrackCuts", const Char_t* title = "");
      17           0 :   virtual            ~AliKineTrackCuts(){;}
      18             :   
      19             :               Bool_t  IsSelected(TObject* obj);
      20           0 :               Bool_t  IsSelected(TList* /*list*/) {return kTRUE;}
      21             :             
      22           0 :               void    SetFinalParticles( Bool_t val=kTRUE )          { fOnlyFinalParticles = val; }
      23           0 :               void    SetPrimaryParticles( Bool_t val=kTRUE )        { fOnlyPrimary = val; }
      24             :   // track kinematic cut setters
      25           0 :               void    SetPRange(Float_t r1=0, Float_t r2=1e10)       { fPMin=r1;   fPMax=r2;}
      26           0 :               void    SetPtRange(Float_t r1=0, Float_t r2=1e10)      { fPtMin=r1;  fPtMax=r2;}
      27           0 :               void    SetPxRange(Float_t r1=-1e10, Float_t r2=1e10)  { fPxMin=r1;  fPxMax=r2;}
      28           0 :               void    SetPyRange(Float_t r1=-1e10, Float_t r2=1e10)  { fPyMin=r1;  fPyMax=r2;}
      29           0 :               void    SetPzRange(Float_t r1=-1e10, Float_t r2=1e10)  { fPzMin=r1;  fPzMax=r2;}
      30           0 :               void    SetEtaRange(Float_t r1=-1e10, Float_t r2=1e10) { fEtaMin=r1; fEtaMax=r2;}
      31           0 :               void    SetRapRange(Float_t r1=-1e10, Float_t r2=1e10) { fRapMin=r1; fRapMax=r2;}
      32             :                   
      33             : protected:        
      34             :                   
      35             :            Bool_t    fOnlyFinalParticles;   // true => skip part with GetStatusCode()!=1
      36             :            Bool_t    fOnlyPrimary;          // Only Primary Particles
      37             :   // kinematics cuts
      38             :            Float_t   fPMin,   fPMax;        // definition of the range of the P
      39             :            Float_t   fPtMin,  fPtMax;       // definition of the range of the Pt
      40             :            Float_t   fPxMin,  fPxMax;       // definition of the range of the Px
      41             :            Float_t   fPyMin,  fPyMax;       // definition of the range of the Py
      42             :            Float_t   fPzMin,  fPzMax;       // definition of the range of the Pz
      43             :            Float_t   fEtaMin, fEtaMax;      // definition of the range of the eta
      44             :            Float_t   fRapMin, fRapMax;      // definition of the range of the y
      45             :   
      46             :   
      47         170 :   ClassDef(AliKineTrackCuts, 1)
      48             : };
      49             : 
      50             : 
      51             : #endif

Generated by: LCOV version 1.11