]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWGLF/totEt/AliAnalysisEtCuts.cxx
Merge branch 'master' into dev
[u/mrichter/AliRoot.git] / PWGLF / totEt / AliAnalysisEtCuts.cxx
1 //_________________________________________________________________________
2 //  Utility Class for transverse energy studies
3 //  Base class for ESD & MC analysis
4 //  - cuts for reconstruction and MonteCarlo 
5 // implementation file
6 //  
7 //*-- Authors: Oystein Djuvsland (Bergen), David Silvermyr (ORNL)
8 //_________________________________________________________________________
9
10 #include "AliAnalysisEtCuts.h"
11
12 #include <iostream>
13 #include "TNamed.h"
14
15 using namespace std;
16
17 ClassImp(AliAnalysisEtCuts);
18
19
20 AliAnalysisEtCuts::AliAnalysisEtCuts() : 
21   TNamed()
22                                     //
23   ,fCommonEtaCut(0.5)
24   ,fCommonClusterEnergyCut(0.15)
25   ,fCommonTrackPtCut(0.0)
26   ,fCommonSingleCell(1)
27   ,fEmcalTrackDistanceCut(15.0)
28   ,fEmcalTrackDxCut(5.0)
29   ,fEmcalTrackDzCut(5.0)
30   ,fPhosTrackDistanceCut(10.0)  
31   ,fPhosTrackDxCut(8.0)
32   ,fPhosTrackDzCut(3.0)
33   ,fPhosTrackRCut(5.0)
34   ,fPhosBadDistanceCut(3.0)
35   
36   ,fGeometryPhosEtaAccCut(0.12)
37   ,fGeometryPhosPhiAccMinCut(-100)//260.0)
38   ,fGeometryPhosPhiAccMaxCut(-40)//320.0)
39   ,fGeometryPhosDetectorRadius(460.0)
40                                     //
41   ,fGeometryEmcalEtaAccCut(0.6)
42   ,fGeometryEmcalPhiAccMinCut(80.0) // rad 1.4
43   ,fGeometryEmcalPhiAccMaxCut(180.0) // rad 3.14
44   ,fGeometryEmcalDetectorRadius(440.0)
45                                     //
46   ,fReconstructedVertexXCut(0.5)
47   ,fReconstructedVertexYCut(0.5)
48   ,fReconstructedVertexZCut(12.0)
49   ,fReconstructedIPxyCut(1.5)
50   ,fReconstructedIPzCut(1.5)
51   ,fReconstructedNTpcClustersCut(30)
52   ,fReconstructedNItsClustersCut(3)
53   ,fReconstructedPidCut(0.0)
54                                     //
55   ,fReconstructedPhosClusterType(-1)
56   ,fReconstructedPhosClusterEnergyCut(0.25)// GeV
57   ,fReconstructedPhosSingleCellEnergyCut(0.5)
58   ,fReconstructedPhosTrackDistanceTightCut(3.0)
59   ,fReconstructedPhosTrackDistanceMediumCut(5.0)
60   ,fReconstructedPhosTrackDistanceLooseCut(15.0)
61                                     //
62   ,fReconstructedEmcalClusterType(1)
63   ,fReconstructedEmcalClusterEnergyCut(0.30) // GeV
64   ,fReconstructedEmcalSingleCellEnergyCut(0.5)
65   ,fReconstructedEmcalTrackDistanceTightCut(5.0)
66   ,fReconstructedEmcalTrackDistanceMediumCut(10.0)
67   ,fReconstructedEmcalTrackDistanceLooseCut(15.0)
68   
69   ,fMonteCarloSingleChargedParticle(3)
70   ,fMonteCarloNeutralParticle(0)
71
72   ,fHistMakeTree(kTRUE)
73   ,fHistMakeTreeDeposit(kFALSE)
74   ,fHistNbinsMult(2000)
75   ,fHistMinMult(-0.5)
76   ,fHistMaxMult(1999.5)
77   ,fHistNbinsTotEt(10000)
78   ,fHistMinTotEt(0.000)
79   ,fHistMaxTotEt(1000)
80   ,fHistNbinsParticleEt(5000)
81   ,fHistMinParticleEt(0)
82   ,fHistMaxParticleEt(500)
83   ,fHistNbinsParticlePt(200) 
84   ,fHistMinParticlePt(0)
85   ,fHistMaxParticlePt(20)
86   
87   ,fPrimaryVertexCutXY(4.0)
88   ,fPrimaryVertexCutZ(20.0)
89 { // ctor
90 }
91
92 AliAnalysisEtCuts::~AliAnalysisEtCuts()
93 { // dtor
94 }
95
96 void AliAnalysisEtCuts::SetPbPbDefaults()
97 { // just increase seom histogram max values for now
98   // enough to multiply conservative p+p defaults by a factor 100?
99   fHistMaxMult = 20000;
100   fHistMaxTotEt = 10000;
101 }
102
103