CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HLTHeavyIon.h
Go to the documentation of this file.
1 #ifndef HLTHEV_H
2 #define HLTHEV_H
3 
4 #include "TH1.h"
5 #include "TH2.h"
6 #include "TFile.h"
7 #include "TNamed.h"
8 #include <vector>
9 #include <map>
10 #include "TROOT.h"
11 #include "TChain.h"
12 
15 
17 
22 
23 //ccla
27 
28 /* #include "CalibFormats/CaloTPG/interface/CaloTPGTranscoder.h" */
29 /* #include "CalibFormats/CaloTPG/interface/CaloTPGRecord.h" */
30 /* #include "CondFormats/L1TObjects/interface/L1CaloEtScale.h" */
31 /* #include "CondFormats/DataRecord/interface/L1EmEtScaleRcd.h" */
32 /* #include "CondFormats/L1TObjects/interface/L1RCTParameters.h" */
33 /* #include "CondFormats/DataRecord/interface/L1RCTParametersRcd.h" */
34 /* #include "L1Trigger/RegionalCaloTrigger/interface/L1RCT.h" */
35 /* #include "L1Trigger/RegionalCaloTrigger/interface/L1RCTLookupTables.h" */
36 
39 
40 // #include "DataFormats/L1Trigger/interface/L1ParticleMap.h"
46 //#include "DataFormats/L1GlobalTrigger/interface/L1GtLogicParser.h"
47 
49 
50 typedef std::vector<std::string> MyStrings;
51 
58 class HLTHeavyIon {
59 public:
61 
62  void setup(const edm::ParameterSet& pSet, TTree* tree);
63  void beginRun(const edm::Run& , const edm::EventSetup& );
64  static void fillDescriptions(edm::ConfigurationDescriptions & descriptions);
65 
67  void analyze(const edm::Handle<edm::TriggerResults> & hltresults,
68  const edm::Handle<reco::Centrality> & centrality,
69  const edm::Handle<reco::EvtPlaneCollection> & evtPlanes,
70  const edm::Handle<edm::GenHIEvent> & hiMC,
71  edm::EventSetup const& eventSetup,
72  edm::Event const& iEvent,
73  TTree* tree);
74 
75 private:
76 
77  // Tree variables
78 
79  float *hiEvtPlane;
81  int HltEvtCnt;
82  int hiBin;
85 
86  float fNpart;
87  float fNcoll;
88  float fNhard;
89  float fPhi0;
90  float fb;
91 
92  int fNcharged;
94  float fMeanPt;
95  float fMeanPtMR;
96  float fEtMR;
99 
100 
101  TString * algoBitToName;
102  TString * techBitToName;
103 
104 
107 
108  bool _OR_BXes;
109  int UnpackBxInEvent; // save number of BXs unpacked in event
110 
113 
114  // input variables
115  bool _Debug;
116  bool _Monte;
117 };
118 
119 #endif
edm::EDGetTokenT< int > centralityBin_Token
Definition: HLTHeavyIon.h:112
float hiEB
Definition: HLTHeavyIon.h:84
TString * techBitToName
Definition: HLTHeavyIon.h:102
void analyze(const edm::Handle< edm::TriggerResults > &hltresults, const edm::Handle< reco::Centrality > &centrality, const edm::Handle< reco::EvtPlaneCollection > &evtPlanes, const edm::Handle< edm::GenHIEvent > &hiMC, edm::EventSetup const &eventSetup, edm::Event const &iEvent, TTree *tree)
Definition: HLTHeavyIon.cc:139
std::string processName_
Definition: HLTHeavyIon.h:106
float hiZDCminus
Definition: HLTHeavyIon.h:84
float * hiEvtPlane
Definition: HLTHeavyIon.h:79
edm::InputTag centralityBin_Label
Definition: HLTHeavyIon.h:111
float fMeanPt
Definition: HLTHeavyIon.h:94
float hiET
Definition: HLTHeavyIon.h:84
int hiNtracksEtaPtCut
Definition: HLTHeavyIon.h:83
float fEtMR
Definition: HLTHeavyIon.h:96
TString * algoBitToName
Definition: HLTHeavyIon.h:101
int fNchargedMR
Definition: HLTHeavyIon.h:93
int hiNtracksEtaCut
Definition: HLTHeavyIon.h:83
void beginRun(const edm::Run &, const edm::EventSetup &)
Definition: HLTHeavyIon.cc:42
HLTConfigProvider hltConfig_
Definition: HLTHeavyIon.h:105
int iEvent
Definition: GenABIO.cc:230
float hiHF
Definition: HLTHeavyIon.h:84
float hiHFhit
Definition: HLTHeavyIon.h:84
float fNcoll
Definition: HLTHeavyIon.h:87
std::vector< std::string > MyStrings
EgammaCoreTools.
Definition: HLTAlCa.h:39
float hiHFhitMinus
Definition: HLTHeavyIon.h:84
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: HLTHeavyIon.cc:32
float hiEEplus
Definition: HLTHeavyIon.h:84
int nEvtPlanes
Definition: HLTHeavyIon.h:80
float hiHFhitPlus
Definition: HLTHeavyIon.h:84
int hiNpixelTracks
Definition: HLTHeavyIon.h:83
float fNhard
Definition: HLTHeavyIon.h:88
HLTHeavyIon(edm::ConsumesCollector &&iC)
Definition: HLTHeavyIon.cc:21
float fMeanPtMR
Definition: HLTHeavyIon.h:95
float fNpart
Definition: HLTHeavyIon.h:86
int hiNtracksPtCut
Definition: HLTHeavyIon.h:83
void setup(const edm::ParameterSet &pSet, TTree *tree)
Definition: HLTHeavyIon.cc:62
float hiHFminus
Definition: HLTHeavyIon.h:84
float hiEEminus
Definition: HLTHeavyIon.h:84
int fNchargedPtCut
Definition: HLTHeavyIon.h:97
int UnpackBxInEvent
Definition: HLTHeavyIon.h:109
int fNchargedPtCutMR
Definition: HLTHeavyIon.h:98
float hiZDC
Definition: HLTHeavyIon.h:84
float hiZDCplus
Definition: HLTHeavyIon.h:84
float hiHFplus
Definition: HLTHeavyIon.h:84
float hiEE
Definition: HLTHeavyIon.h:84
Definition: Run.h:41
float fPhi0
Definition: HLTHeavyIon.h:89