]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWGLF/SPECTRA/XtAnalysis/AliJConst.h
fix compilation
[u/mrichter/AliRoot.git] / PWGLF / SPECTRA / XtAnalysis / AliJConst.h
CommitLineData
072855d8 1/**************************************************************************
2 * Copyright(c) 1998-2014, ALICE Experiment at CERN, All rights reserved. *
3 * *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
6 * *
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 **************************************************************************/
15
16// Comment describing what this class does needed!
17
18// $Id: JConst.h,v 1.5 2008/05/08 15:19:52 djkim Exp $
19
20////////////////////////////////////////////////////
21/*!
22 \file JConst.h
23 \brief
24 \author J. Rak, D.J.Kim, R.Diaz (University of Jyvaskyla)
25 \email: djkim@jyu.fi
26 \version $Revision: 1.5 $
27 \date $Date: 2008/05/08 15:19:52 $
28*/
29////////////////////////////////////////////////////
30
31#ifndef JCONST_H
32#define JCONST_H
33
34//
35// Constants
36//
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 //
41#define kPtDim 15 //
42#define kMaxNoRuns 100 // Maximum no of runs in a nanoDST file
43#define kMaxNoEPBin 24
44
45const double kJPi = 3.14159265358979; //TMath::Pi();
46const double kJTwoPi = 2*kJPi;
47const double kJToRadian = kJPi/180.;
48const double kJToDegree = 180./kJPi;
49const double kElectronMass = .51099906e-3;
50const double kPionMass = .1395675;
51
52
53//====================== particle types ============================================
54const int kNumberOfParticleTypes = 10;
7fb8ef85 55//enum particleType {kHadron, kPion, kKaon, kProton, kPhoton, kDecayphoton, kPizero, kEta,kHadronMC, kJet, kJNone};
072855d8 56
57const char* const kParticleTypeStrName[kNumberOfParticleTypes] =
58 {"hadron", "pion", "kaon", "proton", "photon", "decayphoton", "pizero", "eta", "hadronMC", "none"};
59const char* const kParticleProtoType[kNumberOfParticleTypes] =
60 {"AliJTrack", "AliJTrack", "AliJTrack", "AliJTrack", "AliJPhoton", "AliJPhoton", "AliJPiZero", "AliJPiZero", "None"};
61
62//=======================JCorran trigger table definition===========================
63//internal JCorran trigger mask TBit=0 is MinBias, TBit=1 HighMultiplicityTrigger
64enum TriggerBitJCorran {kMinBiasTriggerBitJCorran, kHighMultTriggerBitJCorran,
65 kEmc0TriggerBitJCorran,
66 kEmc1GammaTriggerBitJCorran, kEmc1JetTriggerBitJCorran,
67 kCentralTriggerBitJCorran,kSemiCentralTriggerBitJCorran,
68 kFastOnlyBitJCorran,
69 kINT7TriggerBitJCorran
70 };
71const int kRangeTriggerTableAlice = 50;
72const int kRangeTriggerTableJCorran = 16;
73
74//==================================================================================
75enum fillType { kReal, kMixed, kEtaGap };
76enum corrFillType {kAzimuthFill=0,kPionFill=1};
77enum corrType { kTriggType, kAssocType, kXeType, kLongType, kCentrType, kZVertType, kMassType, kEtaGapType, kDiJetType, kRGapType, kNoType, kNcorrType };
78enum TriggerParticleType { kTriggParticles, kLeadingParticle, kIsolatedParticle };
79
80const char* const kTriggerParticleTypeName[] =
81 {"TriggParticles","LeadingParticle","IsolatedParticle"};
82
83// JETs =====
84const int kNJetAlg = 10;
85enum JetAlg {kkt,kantikt,ksiscone,krecomE,krecomB,kcdfmidpoint,kjade,kd0run2cone,kGF,kSimpleCone};
86const char* const kJetAlgStrName[kNJetAlg] =
87 {"kt","antikt","siscone","recomE","recomB","cdfmidpoint","jade","d0run2cone","GF","SimpleCone"};
88
89enum EPType { kEPV0A, kEPV0C, kEPV0AC, kNEPType };
90const int kNHarmonics = 5;
91// PHENIX constants
92enum TEMC {kPbSc, kPbGl};
93
94#endif