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 
14 
19 
20 //ccla
23 
24 /* #include "CalibFormats/CaloTPG/interface/CaloTPGTranscoder.h" */
25 /* #include "CalibFormats/CaloTPG/interface/CaloTPGRecord.h" */
26 /* #include "CondFormats/L1TObjects/interface/L1CaloEtScale.h" */
27 /* #include "CondFormats/DataRecord/interface/L1EmEtScaleRcd.h" */
28 /* #include "CondFormats/L1TObjects/interface/L1RCTParameters.h" */
29 /* #include "CondFormats/DataRecord/interface/L1RCTParametersRcd.h" */
30 /* #include "L1Trigger/RegionalCaloTrigger/interface/L1RCT.h" */
31 /* #include "L1Trigger/RegionalCaloTrigger/interface/L1RCTLookupTables.h" */
32 
35 
36 // #include "DataFormats/L1Trigger/interface/L1ParticleMap.h"
42 //#include "DataFormats/L1GlobalTrigger/interface/L1GtLogicParser.h"
43 
46 
47 typedef std::vector<std::string> MyStrings;
48 
55 class HLTHeavyIon {
56 public:
57  HLTHeavyIon();
58 
59  void setup(const edm::ParameterSet& pSet, TTree* tree);
60  void beginRun(const edm::Run& , const edm::EventSetup& );
61 
63  void analyze(const edm::Handle<edm::TriggerResults> & hltresults,
64  const edm::Handle<reco::Centrality> & centrality,
65  const edm::Handle<reco::EvtPlaneCollection> & evtPlanes,
66  const edm::Handle<edm::GenHIEvent> & hiMC,
67  edm::EventSetup const& eventSetup,
68  edm::Event const& iEvent,
69  TTree* tree);
70 
71 private:
72 
73  // Tree variables
74 
75  float *hiEvtPlane;
77  int HltEvtCnt;
78  int hiBin;
81 
82  float fNpart;
83  float fNcoll;
84  float fNhard;
85  float fPhi0;
86  float fb;
87 
88  int fNcharged;
90  float fMeanPt;
91  float fMeanPtMR;
92  float fEtMR;
95 
96 
97  TString * algoBitToName;
98  TString * techBitToName;
99 
100 
103  std::string processName_;
104 
105  bool _OR_BXes;
106  int UnpackBxInEvent; // save number of BXs unpacked in event
107 
108  // input variables
109  bool _Debug;
110  bool _Monte;
111 };
112 
113 #endif
float hiEB
Definition: HLTHeavyIon.h:80
TString * techBitToName
Definition: HLTHeavyIon.h:98
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:129
std::string processName_
Definition: HLTHeavyIon.h:103
float hiZDCminus
Definition: HLTHeavyIon.h:80
float * hiEvtPlane
Definition: HLTHeavyIon.h:75
float fMeanPt
Definition: HLTHeavyIon.h:90
float hiET
Definition: HLTHeavyIon.h:80
int hiNtracksEtaPtCut
Definition: HLTHeavyIon.h:79
float fEtMR
Definition: HLTHeavyIon.h:92
TString * algoBitToName
Definition: HLTHeavyIon.h:97
int fNchargedMR
Definition: HLTHeavyIon.h:89
int hiNtracksEtaCut
Definition: HLTHeavyIon.h:79
void beginRun(const edm::Run &, const edm::EventSetup &)
Definition: HLTHeavyIon.cc:31
HLTConfigProvider hltConfig_
Definition: HLTHeavyIon.h:101
int iEvent
Definition: GenABIO.cc:243
float hiHF
Definition: HLTHeavyIon.h:80
float hiHFhit
Definition: HLTHeavyIon.h:80
L1GtUtils m_l1GtUtils
Definition: HLTHeavyIon.h:102
float fNcoll
Definition: HLTHeavyIon.h:83
std::vector< std::string > MyStrings
EgammaCoreTools.
Definition: HLTAlCa.h:39
float hiHFhitMinus
Definition: HLTHeavyIon.h:80
float hiEEplus
Definition: HLTHeavyIon.h:80
int nEvtPlanes
Definition: HLTHeavyIon.h:76
float hiHFhitPlus
Definition: HLTHeavyIon.h:80
int hiNpixelTracks
Definition: HLTHeavyIon.h:79
float fNhard
Definition: HLTHeavyIon.h:84
float fMeanPtMR
Definition: HLTHeavyIon.h:91
float fNpart
Definition: HLTHeavyIon.h:82
int hiNtracksPtCut
Definition: HLTHeavyIon.h:79
void setup(const edm::ParameterSet &pSet, TTree *tree)
Definition: HLTHeavyIon.cc:52
float hiHFminus
Definition: HLTHeavyIon.h:80
float hiEEminus
Definition: HLTHeavyIon.h:80
int fNchargedPtCut
Definition: HLTHeavyIon.h:93
int UnpackBxInEvent
Definition: HLTHeavyIon.h:106
int fNchargedPtCutMR
Definition: HLTHeavyIon.h:94
float hiZDC
Definition: HLTHeavyIon.h:80
float hiZDCplus
Definition: HLTHeavyIon.h:80
float hiHFplus
Definition: HLTHeavyIon.h:80
float hiEE
Definition: HLTHeavyIon.h:80
Definition: Run.h:32
float fPhi0
Definition: HLTHeavyIon.h:85