1 /**************************************************************************
2 * Copyright(c) 1998-2014, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
16 // Comment describing what this class does needed!
18 // $Id: JConst.h,v 1.5 2008/05/08 15:19:52 djkim Exp $
20 ////////////////////////////////////////////////////
24 \author J. Rak, D.J.Kim, R.Diaz (University of Jyvaskyla)
26 \version $Revision: 1.5 $
27 \date $Date: 2008/05/08 15:19:52 $
29 ////////////////////////////////////////////////////
37 // for JHisto and PhxJHisto
38 #define kMaxNoCentrBin 10 // Maximum no of centrality bins defined in JCard.h
39 #define kMaxTriggParticleType 35 //
40 #define kMaxJetType 32 //
42 #define kMaxNoRuns 100 // Maximum no of runs in a nanoDST file
43 #define kMaxNoEPBin 24
45 const double kJPi = 3.14159265358979; //TMath::Pi();
46 const double kJTwoPi = 2*kJPi;
47 const double kJToRadian = kJPi/180.;
48 const double kJToDegree = 180./kJPi;
49 const double kElectronMass = .51099906e-3;
50 const double kPionMass = .1395675;
53 //====================== particle types ============================================
54 const int kNumberOfParticleTypes = 10;
55 enum particleType {kHadron, kPion, kKaon, kProton, kPhoton, kDecayphoton, kPizero, kEta,kHadronMC, kJet, kJNone};
57 const char* const kParticleTypeStrName[kNumberOfParticleTypes] =
58 {"hadron", "pion", "kaon", "proton", "photon", "decayphoton", "pizero", "eta", "hadronMC", "none"};
59 const char* const kParticleProtoType[kNumberOfParticleTypes] =
60 {"AliJTrack", "AliJTrack", "AliJTrack", "AliJTrack", "AliJPhoton", "AliJPhoton", "AliJPiZero", "AliJPiZero", "None"};
62 //=======================JCorran trigger table definition===========================
63 //internal JCorran trigger mask TBit=0 is MinBias, TBit=1 HighMultiplicityTrigger
64 enum TriggerBitJCorran {kMinBiasTriggerBitJCorran, kHighMultTriggerBitJCorran,
65 kEmc0TriggerBitJCorran,
66 kEmc1GammaTriggerBitJCorran, kEmc1JetTriggerBitJCorran,
67 kCentralTriggerBitJCorran,kSemiCentralTriggerBitJCorran,
69 kINT7TriggerBitJCorran
71 const int kRangeTriggerTableAlice = 50;
72 const int kRangeTriggerTableJCorran = 16;
74 //==================================================================================
75 enum fillType { kReal, kMixed, kEtaGap };
76 enum corrFillType {kAzimuthFill=0,kPionFill=1};
77 enum corrType { kTriggType, kAssocType, kXeType, kLongType, kCentrType, kZVertType, kMassType, kEtaGapType, kDiJetType, kRGapType, kNoType, kNcorrType };
78 enum TriggerParticleType { kTriggParticles, kLeadingParticle, kIsolatedParticle };
80 const char* const kTriggerParticleTypeName[] =
81 {"TriggParticles","LeadingParticle","IsolatedParticle"};
84 const int kNJetAlg = 10;
85 enum JetAlg {kkt,kantikt,ksiscone,krecomE,krecomB,kcdfmidpoint,kjade,kd0run2cone,kGF,kSimpleCone};
86 const char* const kJetAlgStrName[kNJetAlg] =
87 {"kt","antikt","siscone","recomE","recomB","cdfmidpoint","jade","d0run2cone","GF","SimpleCone"};
89 enum EPType { kEPV0A, kEPV0C, kEPV0AC, kNEPType };
90 const int kNHarmonics = 5;
92 enum TEMC {kPbSc, kPbGl};