]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG4/JCORRAN/AliJCORRANSetup.h
Updating track cuts and removing functionality that is now in separate cosmics tasks
[u/mrichter/AliRoot.git] / PWG4 / JCORRAN / AliJCORRANSetup.h
1 #ifndef ALIJCORRANSETUP_H
2 #define ALIJCORRANSETUP_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice     */
5
6 //______________________________________________________________________________
7 //                 Implementation Class AliJCorranSetup.h
8 // Analysis task for high pt particle correlations 
9 // author: R.Diaz, J. Rak,  D.J. Kim
10 // ALICE Group University of Jyvaskyla 
11 // Finland 
12 //
13 // Fill the analysis containers for ESD or AOD
14 // Note: Adapted for AliAnalysisTaskSE
15 //////////////////////////////////////////////////////////////////////////////
16
17
18 #include <string>
19
20 #define kMaxNumOfBadRuns 100
21 #define kMaxNumOfFiles 500
22 #define kMaxNumOfQual  5
23
24 using namespace std;
25
26 class AliJCORRANSetup {
27
28 public:
29   AliJCORRANSetup(); // default constructor
30   AliJCORRANSetup(const char *SelectionsFile);
31   virtual ~AliJCORRANSetup(){;}
32
33   void PrintOut();
34   void WriteToFile(const char *fout);
35   
36   // GENERAL SELECTIONS:
37   string  GetSpecies()  const     {return fSpecies;}
38   float GetVtxRange()   const     {return fVtxRange;}
39   // Trigger SELECTIONS:
40   float GetOffLineTriggThreshold() const {return fOffLineTriggThreshold;}
41   float GetOffLinePi0TriggThreshold() const  {return fOffLinePi0TriggThreshold;}
42   float GetOffLineHadronTriggThreshold() const {return fOffLineHadronTriggThreshold;}
43   float GetOffLineAccHadronTriggThreshold() const {return fOffLineAccHadronTriggThreshold;}
44   int   GetMinBiasScaleFact() const  {return fMinBiasScaleFact;}
45   // CLUSTER SELECTIONS:
46   float GetClusEnerMin() const    {return fClusEnerMin;}       
47   float GetClusEnerMax() const    {return fClusEnerMax;}       
48   float GetChi2Cut()     const    {return fChi2Cut;}      
49   float GetProbPhotCut() const    {return fProbPhotCut;}
50   int   GetClusNTowMin() const    {return fClusNTowMin;}
51   int   GetClusNTowMax() const    {return fClusNTowMax;}
52   // TRACK SELECTIONS:
53   float GetTrkPtMin()    const    {return fTrkPtMin;}         
54   float GetTrkPtMax()    const    {return fTrkPtMax;}
55   // External file
56   string  GetWarnMapFile()  const {return fWarnmapfile;}
57
58 protected:
59
60   // GENERAL SELECTIONS:
61   string fSpecies;  //name
62   float fVtxRange;  //vertex range
63   // Trigger SELECTIONS: 
64   float fOffLineTriggThreshold;     //offline trigger threshold
65   float fOffLinePi0TriggThreshold;  //offline pi0 trigger threshold
66   float fOffLineHadronTriggThreshold;  //offline hadron trigger threshold
67   float fOffLineAccHadronTriggThreshold; //offline acc hadron trigg thr
68   int   fMinBiasScaleFact; //min bias scale factor
69   // CLUSTER SELECTIONS:
70   float fClusEnerMin; //minimal cluster energy
71   float fClusEnerMax; //maximal cluster energy
72   float fChi2Cut;     //chi2 cut
73   float fProbPhotCut; //probability photon cut
74   int   fClusNTowMin; //minimum of N towers
75   int   fClusNTowMax;  //maximum of N towers
76   // TRACK SELECTIONS:
77   float fTrkPtMin;   //minimum pt track
78   float fTrkPtMax;   //maximum pt track       
79   // External file
80   string fWarnmapfile;  //warn map file
81   string fComment;    //comment
82 };
83 #endif // AliJCORRANSetup_H