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 
50 
51 typedef std::vector<std::string> MyStrings;
52 
59 class HLTHeavyIon {
60 public:
62 
63  void setup(const edm::ParameterSet& pSet, TTree* tree);
64  void beginRun(const edm::Run& , const edm::EventSetup& );
65  static void fillDescriptions(edm::ConfigurationDescriptions & descriptions);
66 
68  void analyze(const edm::Handle<edm::TriggerResults> & hltresults,
69  const edm::Handle<reco::Centrality> & centrality,
70  const edm::Handle<reco::EvtPlaneCollection> & evtPlanes,
71  const edm::Handle<edm::GenHIEvent> & hiMC,
72  edm::EventSetup const& eventSetup,
73  edm::Event const& iEvent,
74  TTree* tree);
75 
76 private:
77 
78  // Tree variables
79 
80  float *hiEvtPlane;
82  int HltEvtCnt;
83  int hiBin;
86 
87  float fNpart;
88  float fNcoll;
89  float fNhard;
90  float fPhi0;
91  float fb;
92 
93  int fNcharged;
95  float fMeanPt;
96  float fMeanPtMR;
97  float fEtMR;
100 
101 
102  TString * algoBitToName;
103  TString * techBitToName;
104 
105 
109 
110  bool _OR_BXes;
111  int UnpackBxInEvent; // save number of BXs unpacked in event
112 
115 
116  // input variables
117  bool _Debug;
118  bool _Monte;
119 };
120 
121 #endif
edm::EDGetTokenT< int > centralityBin_Token
Definition: HLTHeavyIon.h:114
float hiEB
Definition: HLTHeavyIon.h:85
TString * techBitToName
Definition: HLTHeavyIon.h:103
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:108
float hiZDCminus
Definition: HLTHeavyIon.h:85
float * hiEvtPlane
Definition: HLTHeavyIon.h:80
edm::InputTag centralityBin_Label
Definition: HLTHeavyIon.h:113
float fMeanPt
Definition: HLTHeavyIon.h:95
float hiET
Definition: HLTHeavyIon.h:85
int hiNtracksEtaPtCut
Definition: HLTHeavyIon.h:84
float fEtMR
Definition: HLTHeavyIon.h:97
TString * algoBitToName
Definition: HLTHeavyIon.h:102
int fNchargedMR
Definition: HLTHeavyIon.h:94
int hiNtracksEtaCut
Definition: HLTHeavyIon.h:84
void beginRun(const edm::Run &, const edm::EventSetup &)
Definition: HLTHeavyIon.cc:42
HLTConfigProvider hltConfig_
Definition: HLTHeavyIon.h:106
int iEvent
Definition: GenABIO.cc:230
float hiHF
Definition: HLTHeavyIon.h:85
float hiHFhit
Definition: HLTHeavyIon.h:85
L1GtUtils m_l1GtUtils
Definition: HLTHeavyIon.h:107
float fNcoll
Definition: HLTHeavyIon.h:88
std::vector< std::string > MyStrings
EgammaCoreTools.
Definition: HLTAlCa.h:39
float hiHFhitMinus
Definition: HLTHeavyIon.h:85
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: HLTHeavyIon.cc:32
float hiEEplus
Definition: HLTHeavyIon.h:85
int nEvtPlanes
Definition: HLTHeavyIon.h:81
float hiHFhitPlus
Definition: HLTHeavyIon.h:85
int hiNpixelTracks
Definition: HLTHeavyIon.h:84
float fNhard
Definition: HLTHeavyIon.h:89
HLTHeavyIon(edm::ConsumesCollector &&iC)
Definition: HLTHeavyIon.cc:21
float fMeanPtMR
Definition: HLTHeavyIon.h:96
float fNpart
Definition: HLTHeavyIon.h:87
int hiNtracksPtCut
Definition: HLTHeavyIon.h:84
void setup(const edm::ParameterSet &pSet, TTree *tree)
Definition: HLTHeavyIon.cc:62
float hiHFminus
Definition: HLTHeavyIon.h:85
float hiEEminus
Definition: HLTHeavyIon.h:85
int fNchargedPtCut
Definition: HLTHeavyIon.h:98
int UnpackBxInEvent
Definition: HLTHeavyIon.h:111
int fNchargedPtCutMR
Definition: HLTHeavyIon.h:99
float hiZDC
Definition: HLTHeavyIon.h:85
float hiZDCplus
Definition: HLTHeavyIon.h:85
float hiHFplus
Definition: HLTHeavyIon.h:85
float hiEE
Definition: HLTHeavyIon.h:85
Definition: Run.h:41
float fPhi0
Definition: HLTHeavyIon.h:90