]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG4/JCORRAN/JConst.h
Updates in JCORRAN (Filip and Dongjo)
[u/mrichter/AliRoot.git] / PWG4 / JCORRAN / JConst.h
CommitLineData
2f4cac02 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
25const double kJPi = 3.14159265358979; //TMath::Pi();
26const double kJTwoPi = 2*kJPi;
27const double kJToRadian = kJPi/180.;
28const double kJToDegree = 180./kJPi;
29const double kElectronMass = .51099906e-3;
30const double kPionMass = .1395675;
31
32enum expName {kPHENIX, kALICE};
33const int kNumberOfExperiments = 2; //numberOfExperiments
34
35//====================== particle types ============================================
36const int kNumberOfParticleTypes = 9;
37enum particleType {kHadron, kPion, kKaon, kProton, kPhoton, kDecayphoton, kPizero, kEta, kNone};
38
39const char* const kParticleTypeStrName[kNumberOfParticleTypes] =
40 {"hadron", "pion", "kaon", "proton", "photon", "decayphoton", "pizero", "eta", "none"};
41const char* const kParticleProtoType[kNumberOfExperiments][kNumberOfParticleTypes] =
6392490d 42 {{"PhJCgl", "PhJCgl", "PhJCgl", "PhJCgl", "PhJPhoton", "PhJPhoton", "AliPhJPiZero", "AliPhJPiZero", "None"},
43 {"AliJTrack", "AliJTrack", "AliJTrack", "AliJTrack", "AliJPhoton", "AliJPhoton", "AliPhJPiZero", "AliPhJPiZero", "None"}};
2f4cac02 44
45
46//=======================JCorran trigger table definition===========================
7d365db4 47//internal JCorran trigger mask TBit=0 is MinBias, TBit=1 HighMultiplicityTrigger
48enum TriggerBitJCorran {kMinBiasTriggerBitJCorran, kHighMultTriggerBitJCorran};
2f4cac02 49const int kRangeTriggerTableAlice = 50;
50const int kRangeTriggerTableJCorran = 16;
51
52//==================================================================================
53enum fillType { kReal, kMixed, kRotated };
6392490d 54enum corrType { kTriggType, kAssocType, kXeType, kCentrType, kMassType, kNoType };
2f4cac02 55
56
57// PHENIX constants
58enum TEMC {kPbSc, kPbGl};
59
60#endif