CMS 3D CMS Logo

RecAnalyzerHF.cc
Go to the documentation of this file.
1 // system include files
2 #include <memory>
3 #include <string>
4 #include <iostream>
5 #include <fstream>
6 #include <sstream>
7 #include <vector>
8 #include <map>
9 
10 // user include files
32 
34 
35 #include "TH1D.h"
36 #include "TTree.h"
37 
38 //#define EDM_ML_DEBUG
39 
40 // class declaration
41 class RecAnalyzerHF : public edm::one::EDAnalyzer<edm::one::SharedResources> {
42 public:
43  explicit RecAnalyzerHF(const edm::ParameterSet&);
44  ~RecAnalyzerHF() override;
45 
46  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
47 
48 private:
49  void analyze(edm::Event const&, edm::EventSetup const&) override;
50  void beginJob() override;
51  void endJob() override;
52 
53 private:
54  void analyzeHcal(const HFPreRecHitCollection&, int, bool);
55 
56  // ----------member data ---------------------------
59  double eLowHF_, eHighHF_;
60  std::vector<unsigned int> hcalID_;
61  TTree* myTree_;
62  TH1D* hist_[2];
63  std::vector<std::pair<TH1D*, TH1D*>> histo_;
64  std::vector<int> trigbit_;
65  double rnnum_;
66  struct myInfo {
67  double kount, f11, f12, f13, f14, f21, f22, f23, f24, runcheck;
68  myInfo() { kount = f11 = f12 = f13 = f14 = f21 = f22 = f23 = f24 = runcheck = 0; }
69  };
70  // Root tree members
71  double rnnumber;
75  std::map<std::pair<int, HcalDetId>, myInfo> myMap_;
78 };
79 
80 // constructors and destructor
82  usesResource("TFileService");
83  // get name of output file with histogramms
84  nzs_ = iConfig.getParameter<bool>("RunNZS");
85  noise_ = iConfig.getParameter<bool>("Noise");
86  ratio_ = iConfig.getParameter<bool>("Ratio");
87  eLowHF_ = iConfig.getParameter<double>("ELowHF");
88  eHighHF_ = iConfig.getParameter<double>("EHighHF");
89  trigbit_ = iConfig.getUntrackedParameter<std::vector<int>>("TriggerBits");
90  ignoreL1_ = iConfig.getUntrackedParameter<bool>("IgnoreL1", false);
91  fillTree_ = iConfig.getUntrackedParameter<bool>("FillTree", true);
92  std::vector<int> ieta = iConfig.getUntrackedParameter<std::vector<int>>("HcalIeta");
93  std::vector<int> iphi = iConfig.getUntrackedParameter<std::vector<int>>("HcalIphi");
94  std::vector<int> depth = iConfig.getUntrackedParameter<std::vector<int>>("HcalDepth");
95 
96  // get token names of modules, producing object collections
97  tok_hfreco_ = consumes<HFPreRecHitCollection>(iConfig.getParameter<edm::InputTag>("hfInput"));
98  tok_hltL1GtMap_ = consumes<L1GlobalTriggerObjectMapRecord>(edm::InputTag("hltL1GtObjectMap"));
99 
100  edm::LogVerbatim("RecAnalyzer") << " Flags (IgnoreL1): " << ignoreL1_ << " (NZS) " << nzs_ << " (Noise) " << noise_
101  << " (Ratio) " << ratio_;
102  edm::LogVerbatim("RecAnalyzer") << "Thresholds for HF " << eLowHF_ << ":" << eHighHF_;
103  for (unsigned int k = 0; k < ieta.size(); ++k) {
104  if (std::abs(ieta[k]) >= 29) {
105  unsigned int id = (HcalDetId(HcalForward, ieta[k], iphi[k], depth[k])).rawId();
106  hcalID_.push_back(id);
107  edm::LogVerbatim("RecAnalyzer") << "DetId[" << k << "] " << HcalDetId(id);
108  }
109  }
110  edm::LogVerbatim("RecAnalyzer") << "Select on " << trigbit_.size() << " L1 Trigger selection";
111  unsigned int k(0);
112  for (auto trig : trigbit_) {
113  edm::LogVerbatim("RecAnalyzer") << "Bit[" << k << "] " << trig;
114  ++k;
115  }
116 }
117 
119 
120 // ------------ method fills 'descriptions' with the allowed parameters for the module ------------
123  desc.add<bool>("RunNZS", true);
124  desc.add<bool>("Noise", false);
125  desc.add<bool>("Ratio", false);
126  desc.add<double>("ELowHF", 10);
127  desc.add<double>("EHighHF", 150);
128  std::vector<int> idummy;
129  desc.addUntracked<std::vector<int>>("TriggerBits", idummy);
130  desc.addUntracked<bool>("IgnoreL1", false);
131  desc.addUntracked<bool>("FillHisto", false);
132  desc.addUntracked<std::vector<int>>("HcalIeta", idummy);
133  desc.addUntracked<std::vector<int>>("HcalIphi", idummy);
134  desc.addUntracked<std::vector<int>>("HcalDepth", idummy);
135  desc.add<edm::InputTag>("hfInput", edm::InputTag("hfprereco"));
136  descriptions.add("recAnalyzerHF", desc);
137 }
138 
140  char name[700], title[700];
141  double xmin(-10.0), xmax(90.0);
142  if (ratio_) {
143  xmin = -5.0;
144  xmax = 5.0;
145  }
146  for (int i = 0; i < 2; ++i) {
147  sprintf(name, "HF%d", i);
148  sprintf(title, "The metric F%d for HF", i + 1);
149  hist_[i] = fs_->make<TH1D>(name, title, 50, xmin, xmax);
150  }
151 
152  for (const auto& id : hcalID_) {
153  HcalDetId hid = HcalDetId(id);
154  TH1D *h1(nullptr), *h2(nullptr);
155  for (int i = 0; i < 2; ++i) {
156  sprintf(name, "HF%d%d_%d_%d", i, hid.ieta(), hid.iphi(), hid.depth());
157  sprintf(title, "The metric F%d for HF i#eta %d i#phi %d depth %d", i + 1, hid.ieta(), hid.iphi(), hid.depth());
158  if (i == 0)
159  h1 = fs_->make<TH1D>(name, title, 50, xmin, xmax);
160  else
161  h2 = fs_->make<TH1D>(name, title, 50, xmin, xmax);
162  }
163  histo_.push_back(std::pair<TH1D*, TH1D*>(h1, h2));
164  };
165 
166  if (fillTree_) {
167  myTree_ = fs_->make<TTree>("RecJet", "RecJet Tree");
168  myTree_->Branch("cells", &cells, "cells/I");
169  myTree_->Branch("mysubd", &mysubd, "mysubd/I");
170  myTree_->Branch("depth", &depth, "depth/I");
171  myTree_->Branch("ieta", &ieta, "ieta/I");
172  myTree_->Branch("iphi", &iphi, "iphi/I");
173  myTree_->Branch("mom0_F1", &mom0_F1, "mom0_F1/F");
174  myTree_->Branch("mom1_F1", &mom1_F1, "mom1_F1/F");
175  myTree_->Branch("mom2_F1", &mom2_F1, "mom2_F1/F");
176  myTree_->Branch("mom3_F1", &mom3_F1, "mom3_F1/F");
177  myTree_->Branch("mom4_F1", &mom4_F1, "mom4_F1/F");
178  myTree_->Branch("mom0_F2", &mom0_F2, "mom0_F2/F");
179  myTree_->Branch("mom1_F2", &mom1_F2, "mom1_F2/F");
180  myTree_->Branch("mom2_F2", &mom2_F2, "mom2_F2/F");
181  myTree_->Branch("mom3_F2", &mom3_F2, "mom3_F2/F");
182  myTree_->Branch("mom4_F2", &mom4_F2, "mom4_F2/F");
183  myTree_->Branch("trigbit", &trigbit, "trigbit/I");
184  myTree_->Branch("rnnumber", &rnnumber, "rnnumber/D");
185  }
186 
187  myMap_.clear();
188 }
189 
191  if (fillTree_) {
192  cells = 0;
193  for (const auto& itr : myMap_) {
194  edm::LogVerbatim("RecAnalyzer") << "Fired trigger bit number " << itr.first.first;
195  myInfo info = itr.second;
196  if (info.kount > 0) {
197  mom0_F1 = info.kount;
198  mom1_F1 = info.f11;
199  mom2_F1 = info.f12;
200  mom3_F1 = info.f13;
201  mom4_F1 = info.f14;
202  mom0_F2 = info.kount;
203  mom1_F2 = info.f21;
204  mom2_F2 = info.f22;
205  mom3_F2 = info.f23;
206  mom4_F2 = info.f24;
207  rnnumber = info.runcheck;
208  trigbit = itr.first.first;
209  mysubd = itr.first.second.subdet();
210  depth = itr.first.second.depth();
211  iphi = itr.first.second.iphi();
212  ieta = itr.first.second.ieta();
213  edm::LogVerbatim("RecAnalyzer") << " Result= " << trigbit << " " << mysubd << " " << ieta << " " << iphi
214  << " F1:mom0 " << mom0_F1 << " mom1 " << mom1_F1 << " mom2 " << mom2_F1
215  << " mom3 " << mom3_F1 << " mom4 " << mom4_F1 << " F2:mom0 " << mom0_F2
216  << " mom1 " << mom1_F2 << " mom2 " << mom2_F2 << " mom3 " << mom3_F2 << " mom4 "
217  << mom4_F2;
218  myTree_->Fill();
219  cells++;
220  }
221  }
222  edm::LogVerbatim("RecAnalyzer") << "cells"
223  << " " << cells;
224  }
225 #ifdef EDM_ML_DEBUG
226  edm::LogVerbatim("RecAnalyzer") << "Exiting from RecAnalyzerHF::endjob";
227 #endif
228 }
229 
230 //
231 // member functions
232 //
233 // ------------ method called to produce the data ------------
234 
236  rnnum_ = (double)iEvent.run();
237 
239  iEvent.getByToken(tok_hfreco_, hf);
240  if (!hf.isValid()) {
241  edm::LogWarning("RecAnalyzer") << "HcalCalibAlgos: Error! can't get hf product!";
242  return;
243  }
244  const HFPreRecHitCollection Hithf = *(hf.product());
245  edm::LogVerbatim("RecAnalyzer") << "HF MB size of collection " << Hithf.size();
246  if (Hithf.size() < 1700 && nzs_) {
247  edm::LogWarning("RecAnalyzer") << "HF problem " << rnnum_ << " size " << Hithf.size();
248  }
249 
250  bool select(false);
251  if (!trigbit_.empty()) {
253  iEvent.getByToken(tok_hltL1GtMap_, gtObjectMapRecord);
254  if (gtObjectMapRecord.isValid()) {
255  const std::vector<L1GlobalTriggerObjectMap>& objMapVec = gtObjectMapRecord->gtObjectMap();
256  for (std::vector<L1GlobalTriggerObjectMap>::const_iterator itMap = objMapVec.begin(); itMap != objMapVec.end();
257  ++itMap) {
258  bool resultGt = (*itMap).algoGtlResult();
259  if (resultGt) {
260  int algoBit = (*itMap).algoBitNumber();
261  if (std::find(trigbit_.begin(), trigbit_.end(), algoBit) != trigbit_.end()) {
262  select = true;
263  break;
264  }
265  }
266  }
267  }
268  }
269 
270  //event weight for FLAT sample and PU information
271 
272  if (ignoreL1_ || (!trigbit_.empty() && select)) {
273  analyzeHcal(Hithf, 1, true);
274  } else if ((!ignoreL1_) && (trigbit_.empty())) {
276  iEvent.getByToken(tok_hltL1GtMap_, gtObjectMapRecord);
277  if (gtObjectMapRecord.isValid()) {
278  const std::vector<L1GlobalTriggerObjectMap>& objMapVec = gtObjectMapRecord->gtObjectMap();
279  bool ok(false);
280  for (std::vector<L1GlobalTriggerObjectMap>::const_iterator itMap = objMapVec.begin(); itMap != objMapVec.end();
281  ++itMap) {
282  bool resultGt = (*itMap).algoGtlResult();
283  if (resultGt) {
284  int algoBit = (*itMap).algoBitNumber();
285  analyzeHcal(Hithf, algoBit, (!ok));
286  ok = true;
287  }
288  }
289  if (!ok) {
290  edm::LogVerbatim("RecAnalyzer") << "No passed L1 Trigger found";
291  }
292  }
293  }
294 }
295 
296 void RecAnalyzerHF::analyzeHcal(const HFPreRecHitCollection& Hithf, int algoBit, bool fill) {
297 #ifdef EDM_ML_DEBUG
298  edm::LogVerbatim("RecAnalyzer") << "Enter analyzeHcal for bit " << algoBit << " Fill " << fill << " Collection size "
299  << Hithf.size();
300 #endif
301  // Signal part for HF
302  for (const auto& hfItr : Hithf) {
303  HcalDetId hid = hfItr.id();
304  double e0 = (hfItr.getHFQIE10Info(0) == nullptr) ? 0 : hfItr.getHFQIE10Info(0)->energy();
305  double e1 = (hfItr.getHFQIE10Info(1) == nullptr) ? 0 : hfItr.getHFQIE10Info(1)->energy();
306  double energy = e0 + e1;
307  if (std::abs(energy) < 1e-6)
308  energy = (energy > 0) ? 1e-6 : -1e-6;
309  double f1(e0), f2(e1);
310  if (ratio_) {
311  f1 /= energy;
312  f2 /= energy;
313  }
314 #ifdef EDM_ML_DEBUG
315  edm::LogVerbatim("RecAnalyzer") << hid << " E " << e0 << ":" << e1 << " F " << f1 << ":" << f2;
316 #endif
317  if (fill) {
318  for (unsigned int i = 0; i < hcalID_.size(); i++) {
319  if (hcalID_[i] == hid.rawId()) {
320  histo_[i].first->Fill(f1);
321  histo_[i].second->Fill(f2);
322  break;
323  }
324  }
325  hist_[0]->Fill(f1);
326  hist_[1]->Fill(f2);
327  }
328 
329  //
330  // Remove PMT hits
331  //
332  if (((noise_ || nzs_) && fabs(energy) <= 40.) || (energy >= eLowHF_ && energy <= eHighHF_)) {
333  std::map<std::pair<int, HcalDetId>, myInfo>::iterator itr1 = myMap_.find(std::pair<int, HcalDetId>(algoBit, hid));
334  if (itr1 == myMap_.end()) {
335  myInfo info;
336  myMap_[std::pair<int, HcalDetId>(algoBit, hid)] = info;
337  itr1 = myMap_.find(std::pair<int, HcalDetId>(algoBit, hid));
338  }
339  itr1->second.kount += 1.0;
340  itr1->second.f11 += (f1);
341  itr1->second.f12 += (f1 * f1);
342  itr1->second.f13 += (f1 * f1 * f1);
343  itr1->second.f14 += (f1 * f1 * f1 * f1);
344  itr1->second.f21 += (f2);
345  itr1->second.f22 += (f2 * f2);
346  itr1->second.f23 += (f2 * f2 * f2);
347  itr1->second.f24 += (f2 * f2 * f2 * f2);
348  itr1->second.runcheck = rnnum_;
349  }
350  }
351 }
352 
353 //define this as a plug-in
ConfigurationDescriptions.h
RecAnalyzerHF::fillTree_
bool fillTree_
Definition: RecAnalyzerHF.cc:58
HcalRespCorrsRcd.h
EDAnalyzer.h
mps_fire.i
i
Definition: mps_fire.py:355
edm::ParameterSetDescription::add
ParameterDescriptionBase * add(U const &iLabel, T const &value)
Definition: ParameterSetDescription.h:95
MessageLogger.h
RecAnalyzerHF::hcalID_
std::vector< unsigned int > hcalID_
Definition: RecAnalyzerHF.cc:60
ESHandle.h
TriggerResults.h
RecAnalyzerHF::trigbit
int trigbit
Definition: RecAnalyzerHF.cc:72
HcalDetId::iphi
constexpr int iphi() const
get the cell iphi
Definition: HcalDetId.h:157
edm::EDGetTokenT
Definition: EDGetToken.h:33
RecAnalyzerHF::myInfo::kount
double kount
Definition: RecAnalyzerHF.cc:67
singleTopDQM_cfi.select
select
Definition: singleTopDQM_cfi.py:50
edm::ParameterSetDescription
Definition: ParameterSetDescription.h:52
edm::SortedCollection
Definition: SortedCollection.h:49
RecAnalyzerHF::ieta
int ieta
Definition: RecAnalyzerHF.cc:72
RecAnalyzerHF::myTree_
TTree * myTree_
Definition: RecAnalyzerHF.cc:61
edm::SortedCollection::size
size_type size() const
Definition: SortedCollection.h:215
RecAnalyzerHF::endJob
void endJob() override
Definition: RecAnalyzerHF.cc:190
info
static const TGPicture * info(bool iBackgroundIsBlack)
Definition: FWCollectionSummaryWidget.cc:152
HcalDetId::depth
constexpr int depth() const
get the tower depth
Definition: HcalDetId.h:164
edm::ParameterSet::getUntrackedParameter
T getUntrackedParameter(std::string const &, T const &) const
edm::one::EDAnalyzer
Definition: EDAnalyzer.h:30
spr::find
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition: FindCaloHit.cc:19
convertSQLiteXML.ok
bool ok
Definition: convertSQLiteXML.py:98
edm::Handle
Definition: AssociativeIterator.h:50
RecAnalyzerHF::beginJob
void beginJob() override
Definition: RecAnalyzerHF.cc:139
RecAnalyzerHF::histo_
std::vector< std::pair< TH1D *, TH1D * > > histo_
Definition: RecAnalyzerHF.cc:63
RecAnalyzerHF::cells
int cells
Definition: RecAnalyzerHF.cc:72
RecAnalyzerHF::trigbit_
std::vector< int > trigbit_
Definition: RecAnalyzerHF.cc:64
RecAnalyzerHF::ratio_
bool ratio_
Definition: RecAnalyzerHF.cc:58
MakerMacros.h
RecAnalyzerHF::myInfo::myInfo
myInfo()
Definition: RecAnalyzerHF.cc:68
RecAnalyzerHF::myMap_
std::map< std::pair< int, HcalDetId >, myInfo > myMap_
Definition: RecAnalyzerHF.cc:75
RecAnalyzerHF::analyze
void analyze(edm::Event const &, edm::EventSetup const &) override
Definition: RecAnalyzerHF.cc:235
photonIsolationHIProducer_cfi.hf
hf
Definition: photonIsolationHIProducer_cfi.py:9
DEFINE_FWK_MODULE
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:16
edm::ConfigurationDescriptions::add
void add(std::string const &label, ParameterSetDescription const &psetDescription)
Definition: ConfigurationDescriptions.cc:57
Service.h
RecAnalyzerHF::mom2_F2
float mom2_F2
Definition: RecAnalyzerHF.cc:74
RecAnalyzerHF::mom0_F2
float mom0_F2
Definition: RecAnalyzerHF.cc:74
RecAnalyzerHF::myInfo::f13
double f13
Definition: RecAnalyzerHF.cc:67
RecAnalyzerHF::tok_hltL1GtMap_
edm::EDGetTokenT< L1GlobalTriggerObjectMapRecord > tok_hltL1GtMap_
Definition: RecAnalyzerHF.cc:77
HCALHighEnergyHPDFilter_cfi.energy
energy
Definition: HCALHighEnergyHPDFilter_cfi.py:5
dqmdumpme.k
k
Definition: dqmdumpme.py:60
RecAnalyzerHF::RecAnalyzerHF
RecAnalyzerHF(const edm::ParameterSet &)
Definition: RecAnalyzerHF.cc:81
ParameterSetDescription.h
RecAnalyzerHF::mom4_F1
float mom4_F1
Definition: RecAnalyzerHF.cc:73
edm::ConfigurationDescriptions
Definition: ConfigurationDescriptions.h:28
RecAnalyzerHF
Definition: RecAnalyzerHF.cc:41
edm::LogWarning
Definition: MessageLogger.h:141
TFileService.h
ntuplemaker.fill
fill
Definition: ntuplemaker.py:304
RecAnalyzerHF::myInfo::f11
double f11
Definition: RecAnalyzerHF.cc:67
edm::ParameterSetDescription::addUntracked
ParameterDescriptionBase * addUntracked(U const &iLabel, T const &value)
Definition: ParameterSetDescription.h:100
HcalDetId::ieta
constexpr int ieta() const
get the cell ieta
Definition: HcalDetId.h:155
HLT_2018_cff.InputTag
InputTag
Definition: HLT_2018_cff.py:79016
edm::ParameterSet
Definition: ParameterSet.h:36
RecAnalyzerHF::myInfo::runcheck
double runcheck
Definition: RecAnalyzerHF.cc:67
GenEventInfoProduct.h
Event.h
RecAnalyzerHF::mom1_F1
float mom1_F1
Definition: RecAnalyzerHF.cc:73
DeadROC_duringRun.f2
f2
Definition: DeadROC_duringRun.py:220
RecAnalyzerHF::analyzeHcal
void analyzeHcal(const HFPreRecHitCollection &, int, bool)
Definition: RecAnalyzerHF.cc:296
HcalDetId.h
StorageManager_cfg.e1
e1
Definition: StorageManager_cfg.py:16
RecAnalyzerHF::myInfo::f21
double f21
Definition: RecAnalyzerHF.cc:67
HcalDetId
Definition: HcalDetId.h:12
edm::Service< TFileService >
TriggerNames.h
iEvent
int iEvent
Definition: GenABIO.cc:224
RecAnalyzerHF::depth
int depth
Definition: RecAnalyzerHF.cc:72
RecAnalyzerHF::mom1_F2
float mom1_F2
Definition: RecAnalyzerHF.cc:74
edm::LogVerbatim
Definition: MessageLogger.h:297
edm::EventSetup
Definition: EventSetup.h:57
HcalSubdetector.h
HcalRespCorrs.h
RecAnalyzerHF::hist_
TH1D * hist_[2]
Definition: RecAnalyzerHF.cc:62
itr
std::vector< std::pair< float, float > >::iterator itr
Definition: HGCDigitizer.cc:28
RecAnalyzerHF::mom3_F1
float mom3_F1
Definition: RecAnalyzerHF.cc:73
RecAnalyzerHF::eLowHF_
double eLowHF_
Definition: RecAnalyzerHF.cc:59
ClusterTask_cfi.trig
trig
Definition: ClusterTask_cfi.py:336
RecAnalyzerHF::rnnumber
double rnnumber
Definition: RecAnalyzerHF.cc:71
RecAnalyzerHF::myInfo::f12
double f12
Definition: RecAnalyzerHF.cc:67
overlapproblemtsosanalyzer_cfi.title
title
Definition: overlapproblemtsosanalyzer_cfi.py:7
RecAnalyzerHF::iphi
int iphi
Definition: RecAnalyzerHF.cc:72
HcalForward
Definition: HcalAssistant.h:36
RecAnalyzerHF::myInfo::f14
double f14
Definition: RecAnalyzerHF.cc:67
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
RecAnalyzerHF::ignoreL1_
bool ignoreL1_
Definition: RecAnalyzerHF.cc:58
HcalTopology.h
RecAnalyzerHF::mysubd
int mysubd
Definition: RecAnalyzerHF.cc:72
DetId::rawId
constexpr uint32_t rawId() const
get the raw id
Definition: DetId.h:57
RecAnalyzerHF::myInfo
Definition: RecAnalyzerHF.cc:66
RecAnalyzerHF::rnnum_
double rnnum_
Definition: RecAnalyzerHF.cc:65
RecAnalyzerHF::nzs_
bool nzs_
Definition: RecAnalyzerHF.cc:58
RecAnalyzerHF::~RecAnalyzerHF
~RecAnalyzerHF() override
Definition: RecAnalyzerHF.cc:118
Frameworkfwd.h
TrackerOfflineValidation_Dqm_cff.xmax
xmax
Definition: TrackerOfflineValidation_Dqm_cff.py:11
RecAnalyzerHF::myInfo::f24
double f24
Definition: RecAnalyzerHF.cc:67
RecAnalyzerHF::fs_
edm::Service< TFileService > fs_
Definition: RecAnalyzerHF.cc:57
RecAnalyzerHF::noise_
bool noise_
Definition: RecAnalyzerHF.cc:58
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
EventSetup.h
L1GlobalTriggerObjectMapRecord::gtObjectMap
const std::vector< L1GlobalTriggerObjectMap > & gtObjectMap() const
get / set the vector of object maps
Definition: L1GlobalTriggerObjectMapRecord.h:64
HcalRecHitCollections.h
RecAnalyzerHF::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: RecAnalyzerHF.cc:121
RecAnalyzerHF::mom3_F2
float mom3_F2
Definition: RecAnalyzerHF.cc:74
funct::abs
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
L1GlobalTriggerObjectMapRecord.h
ParameterSet.h
TrackerOfflineValidation_Dqm_cff.xmin
xmin
Definition: TrackerOfflineValidation_Dqm_cff.py:10
RecAnalyzerHF::mom4_F2
float mom4_F2
Definition: RecAnalyzerHF.cc:74
RecAnalyzerHF::tok_hfreco_
edm::EDGetTokenT< HFPreRecHitCollection > tok_hfreco_
Definition: RecAnalyzerHF.cc:76
edm::HandleBase::isValid
bool isValid() const
Definition: HandleBase.h:70
edm::Event
Definition: Event.h:73
DeadROC_duringRun.f1
f1
Definition: DeadROC_duringRun.py:219
RecAnalyzerHF::mom2_F1
float mom2_F1
Definition: RecAnalyzerHF.cc:73
L1GlobalTriggerObjectMap.h
RecAnalyzerHF::myInfo::f23
double f23
Definition: RecAnalyzerHF.cc:67
RecAnalyzerHF::eHighHF_
double eHighHF_
Definition: RecAnalyzerHF.cc:59
edm::InputTag
Definition: InputTag.h:15
RecAnalyzerHF::mom0_F1
float mom0_F1
Definition: RecAnalyzerHF.cc:73
TFileService::make
T * make(const Args &... args) const
make new ROOT object
Definition: TFileService.h:64
RecAnalyzerHF::myInfo::f22
double f22
Definition: RecAnalyzerHF.cc:67
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37