]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG4/JCORRAN/JConst.h
Removing the tasks from the digitization (Ruben)
[u/mrichter/AliRoot.git] / PWG4 / JCORRAN / JConst.h
1 // $Id: JConst.h,v 1.5 2008/05/08 15:19:52 djkim Exp $
2
3 ////////////////////////////////////////////////////
4 /*!
5   \file JConst.h
6   \brief
7   \author J. Rak, D.J.Kim, R.Diaz (University of Jyvaskyla)
8   \email: djkim@jyu.fi
9   \version $Revision: 1.5 $
10   \date $Date: 2008/05/08 15:19:52 $
11 */
12 ////////////////////////////////////////////////////
13
14 #ifndef JCONST_H
15 #define JCONST_H
16
17 //
18 //  Constants
19 //
20 // for JHisto and PhxJHisto
21 #define kMaxNoCentrBin 10   // Maximum no of centrality bins defined in JCard.h
22 #define kPtDim 20           // 
23 #define kMaxNoRuns 100      // Maximum no of runs in a nanoDST file
24
25 const double kJPi           = 3.14159265358979; //TMath::Pi();
26 const double kJTwoPi        = 2*kJPi;
27 const double kJToRadian     = kJPi/180.;
28 const double kJToDegree     = 180./kJPi;
29 const double kElectronMass = .51099906e-3;
30 const double kPionMass     = .1395675;
31
32 enum expName {kPHENIX, kALICE};
33 const int kNumberOfExperiments = 2; //numberOfExperiments
34
35 //====================== particle types ============================================
36 const int kNumberOfParticleTypes = 9;
37 enum particleType   {kHadron, kPion, kKaon, kProton, kPhoton, kDecayphoton, kPizero, kEta, kNone};
38
39 const char* const kParticleTypeStrName[kNumberOfParticleTypes] =
40                     {"hadron", "pion", "kaon", "proton", "photon", "decayphoton", "pizero", "eta", "none"};
41 const char* const kParticleProtoType[kNumberOfExperiments][kNumberOfParticleTypes] =
42                     {{"PhJCgl",    "PhJCgl",    "PhJCgl",    "PhJCgl",    "PhJPhoton",  "PhJPhoton",  "AliPhJPiZero", "AliPhJPiZero", "None"},
43                      {"AliJTrack", "AliJTrack", "AliJTrack", "AliJTrack", "AliJPhoton", "AliJPhoton", "AliPhJPiZero", "AliPhJPiZero", "None"}};
44
45
46 //=======================JCorran trigger table definition===========================
47 //internal JCorran trigger mask  TBit=0 is MinBias, TBit=1 HighMultiplicityTrigger
48 enum TriggerBitJCorran   {kMinBiasTriggerBitJCorran, kHighMultTriggerBitJCorran};  
49 const int kRangeTriggerTableAlice   = 50;
50 const int kRangeTriggerTableJCorran = 16;
51
52 //==================================================================================
53 enum fillType { kReal, kMixed, kRotated };
54 enum corrType { kTriggType, kAssocType, kXeType, kCentrType, kMassType, kNoType }; 
55
56
57 // PHENIX  constants
58 enum TEMC {kPbSc, kPbGl}; 
59
60 #endif