CMS 3D CMS Logo

List of all members | Classes | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes
RecAnalyzerHF Class Reference
Inheritance diagram for RecAnalyzerHF:
edm::one::EDAnalyzer< edm::one::SharedResources > edm::one::EDAnalyzerBase edm::EDConsumerBase

Classes

struct  myInfo
 

Public Member Functions

 RecAnalyzerHF (const edm::ParameterSet &)
 
 ~RecAnalyzerHF () override
 
- Public Member Functions inherited from edm::one::EDAnalyzer< edm::one::SharedResources >
 EDAnalyzer ()=default
 
SerialTaskQueueglobalLuminosityBlocksQueue () final
 
SerialTaskQueueglobalRunsQueue () final
 
bool wantsGlobalLuminosityBlocks () const final
 
bool wantsGlobalRuns () const final
 
bool wantsInputProcessBlocks () const final
 
bool wantsProcessBlocks () const final
 
- Public Member Functions inherited from edm::one::EDAnalyzerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzerBase ()
 
ModuleDescription const & moduleDescription () const
 
bool wantsStreamLuminosityBlocks () const
 
bool wantsStreamRuns () const
 
 ~EDAnalyzerBase () override
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
void convertCurrentProcessAlias (std::string const &processName)
 Convert "@currentProcess" in InputTag process names to the actual current process name. More...
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase &&)=default
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
ESProxyIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
std::vector< ESProxyIndex > const & esGetTokenIndicesVector (edm::Transition iTrans) const
 
std::vector< ESRecordIndex > const & esGetTokenRecordIndicesVector (edm::Transition iTrans) const
 
ProductResolverIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
std::vector< ProductResolverIndexAndSkipBit > const & itemsToGetFrom (BranchType iType) const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesWhoseProductsAreConsumed (std::array< std::vector< ModuleDescription const * > *, NumBranchTypes > &modulesAll, std::vector< ModuleProcessName > &modulesInPreviousProcesses, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProxyIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 

Static Public Member Functions

static void fillDescriptions (edm::ConfigurationDescriptions &descriptions)
 
- Static Public Member Functions inherited from edm::one::EDAnalyzerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 

Private Member Functions

void analyze (edm::Event const &, edm::EventSetup const &) override
 
void analyzeHcal (const HFPreRecHitCollection &, int, bool)
 
void beginJob () override
 
void endJob () override
 

Private Attributes

int cells
 
int depth
 
double eHighHF_
 
double eLowHF_
 
bool fillTree_
 
edm::Service< TFileServicefs_
 
std::vector< unsigned int > hcalID_
 
TH1D * hist_ [2]
 
std::vector< std::pair< TH1D *, TH1D * > > histo_
 
int ieta
 
bool ignoreL1_
 
int iphi
 
float mom0_F1
 
float mom0_F2
 
float mom1_F1
 
float mom1_F2
 
float mom2_F1
 
float mom2_F2
 
float mom3_F1
 
float mom3_F2
 
float mom4_F1
 
float mom4_F2
 
std::map< std::pair< int, HcalDetId >, myInfomyMap_
 
int mysubd
 
TTree * myTree_
 
bool noise_
 
bool nzs_
 
bool ratio_
 
double rnnum_
 
double rnnumber
 
edm::EDGetTokenT< HFPreRecHitCollectiontok_hfreco_
 
edm::EDGetTokenT< L1GlobalTriggerObjectMapRecordtok_hltL1GtMap_
 
int trigbit
 
std::vector< int > trigbit_
 

Additional Inherited Members

- Public Types inherited from edm::one::EDAnalyzerBase
typedef EDAnalyzerBase ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Protected Member Functions inherited from edm::EDConsumerBase
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
template<BranchType B = InEvent>
EDConsumerBaseAdaptor< B > consumes (edm::InputTag tag) noexcept
 
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
 
ConsumesCollector consumesCollector ()
 Use a ConsumesCollector to gather consumes information from helper functions. More...
 
template<typename ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes ()
 
template<Transition Tr = Transition::Event>
constexpr auto esConsumes () noexcept
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
template<Transition Tr = Transition::Event>
auto esConsumes (ESInputTag tag) noexcept
 
template<Transition Tr = Transition::Event>
ESGetTokenGeneric esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey)
 Used with EventSetupRecord::doGet. More...
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 

Detailed Description

Definition at line 40 of file RecAnalyzerHF.cc.

Constructor & Destructor Documentation

◆ RecAnalyzerHF()

RecAnalyzerHF::RecAnalyzerHF ( const edm::ParameterSet iConfig)
explicit

Definition at line 80 of file RecAnalyzerHF.cc.

80  {
81  usesResource("TFileService");
82  // get name of output file with histogramms
83  nzs_ = iConfig.getParameter<bool>("RunNZS");
84  noise_ = iConfig.getParameter<bool>("Noise");
85  ratio_ = iConfig.getParameter<bool>("Ratio");
86  eLowHF_ = iConfig.getParameter<double>("ELowHF");
87  eHighHF_ = iConfig.getParameter<double>("EHighHF");
88  trigbit_ = iConfig.getUntrackedParameter<std::vector<int>>("TriggerBits");
89  ignoreL1_ = iConfig.getUntrackedParameter<bool>("IgnoreL1", false);
90  fillTree_ = iConfig.getUntrackedParameter<bool>("FillTree", true);
91  std::vector<int> ieta = iConfig.getUntrackedParameter<std::vector<int>>("HcalIeta");
92  std::vector<int> iphi = iConfig.getUntrackedParameter<std::vector<int>>("HcalIphi");
93  std::vector<int> depth = iConfig.getUntrackedParameter<std::vector<int>>("HcalDepth");
94 
95  // get token names of modules, producing object collections
96  tok_hfreco_ = consumes<HFPreRecHitCollection>(iConfig.getParameter<edm::InputTag>("hfInput"));
97  tok_hltL1GtMap_ = consumes<L1GlobalTriggerObjectMapRecord>(edm::InputTag("hltL1GtObjectMap"));
98 
99  edm::LogVerbatim("RecAnalyzer") << " Flags (IgnoreL1): " << ignoreL1_ << " (NZS) " << nzs_ << " (Noise) " << noise_
100  << " (Ratio) " << ratio_;
101  edm::LogVerbatim("RecAnalyzer") << "Thresholds for HF " << eLowHF_ << ":" << eHighHF_;
102  for (unsigned int k = 0; k < ieta.size(); ++k) {
103  if (std::abs(ieta[k]) >= 29) {
104  unsigned int id = (HcalDetId(HcalForward, ieta[k], iphi[k], depth[k])).rawId();
105  hcalID_.push_back(id);
106  edm::LogVerbatim("RecAnalyzer") << "DetId[" << k << "] " << HcalDetId(id);
107  }
108  }
109  edm::LogVerbatim("RecAnalyzer") << "Select on " << trigbit_.size() << " L1 Trigger selection";
110  unsigned int k(0);
111  for (auto trig : trigbit_) {
112  edm::LogVerbatim("RecAnalyzer") << "Bit[" << k << "] " << trig;
113  ++k;
114  }
115 }

References funct::abs(), depth, eHighHF_, eLowHF_, fillTree_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), HcalForward, hcalID_, ieta, ignoreL1_, iphi, dqmdumpme::k, noise_, nzs_, ratio_, tok_hfreco_, tok_hltL1GtMap_, ClusterTask_cfi::trig, and trigbit_.

◆ ~RecAnalyzerHF()

RecAnalyzerHF::~RecAnalyzerHF ( )
override

Definition at line 117 of file RecAnalyzerHF.cc.

117 {}

Member Function Documentation

◆ analyze()

void RecAnalyzerHF::analyze ( edm::Event const &  iEvent,
edm::EventSetup const &   
)
overrideprivatevirtual

Implements edm::one::EDAnalyzerBase.

Definition at line 234 of file RecAnalyzerHF.cc.

234  {
235  rnnum_ = (double)iEvent.run();
236 
238  iEvent.getByToken(tok_hfreco_, hf);
239  if (!hf.isValid()) {
240  edm::LogWarning("RecAnalyzer") << "HcalCalibAlgos: Error! can't get hf product!";
241  return;
242  }
243  const HFPreRecHitCollection Hithf = *(hf.product());
244  edm::LogVerbatim("RecAnalyzer") << "HF MB size of collection " << Hithf.size();
245  if (Hithf.size() < 1700 && nzs_) {
246  edm::LogWarning("RecAnalyzer") << "HF problem " << rnnum_ << " size " << Hithf.size();
247  }
248 
249  bool select(false);
250  if (!trigbit_.empty()) {
252  iEvent.getByToken(tok_hltL1GtMap_, gtObjectMapRecord);
253  if (gtObjectMapRecord.isValid()) {
254  const std::vector<L1GlobalTriggerObjectMap>& objMapVec = gtObjectMapRecord->gtObjectMap();
255  for (std::vector<L1GlobalTriggerObjectMap>::const_iterator itMap = objMapVec.begin(); itMap != objMapVec.end();
256  ++itMap) {
257  bool resultGt = (*itMap).algoGtlResult();
258  if (resultGt) {
259  int algoBit = (*itMap).algoBitNumber();
260  if (std::find(trigbit_.begin(), trigbit_.end(), algoBit) != trigbit_.end()) {
261  select = true;
262  break;
263  }
264  }
265  }
266  }
267  }
268 
269  //event weight for FLAT sample and PU information
270 
271  if (ignoreL1_ || (!trigbit_.empty() && select)) {
272  analyzeHcal(Hithf, 1, true);
273  } else if ((!ignoreL1_) && (trigbit_.empty())) {
275  iEvent.getByToken(tok_hltL1GtMap_, gtObjectMapRecord);
276  if (gtObjectMapRecord.isValid()) {
277  const std::vector<L1GlobalTriggerObjectMap>& objMapVec = gtObjectMapRecord->gtObjectMap();
278  bool ok(false);
279  for (std::vector<L1GlobalTriggerObjectMap>::const_iterator itMap = objMapVec.begin(); itMap != objMapVec.end();
280  ++itMap) {
281  bool resultGt = (*itMap).algoGtlResult();
282  if (resultGt) {
283  int algoBit = (*itMap).algoBitNumber();
284  analyzeHcal(Hithf, algoBit, (!ok));
285  ok = true;
286  }
287  }
288  if (!ok) {
289  edm::LogVerbatim("RecAnalyzer") << "No passed L1 Trigger found";
290  }
291  }
292  }
293 }

References analyzeHcal(), spr::find(), L1GlobalTriggerObjectMapRecord::gtObjectMap(), photonIsolationHIProducer_cfi::hf, iEvent, ignoreL1_, edm::HandleBase::isValid(), nzs_, convertSQLiteXML::ok, rnnum_, singleTopDQM_cfi::select, edm::SortedCollection< T, SORT >::size(), tok_hfreco_, tok_hltL1GtMap_, and trigbit_.

◆ analyzeHcal()

void RecAnalyzerHF::analyzeHcal ( const HFPreRecHitCollection Hithf,
int  algoBit,
bool  fill 
)
private

Definition at line 295 of file RecAnalyzerHF.cc.

295  {
296 #ifdef EDM_ML_DEBUG
297  edm::LogVerbatim("RecAnalyzer") << "Enter analyzeHcal for bit " << algoBit << " Fill " << fill << " Collection size "
298  << Hithf.size();
299 #endif
300  // Signal part for HF
301  for (const auto& hfItr : Hithf) {
302  HcalDetId hid = hfItr.id();
303  double e0 = (hfItr.getHFQIE10Info(0) == nullptr) ? 0 : hfItr.getHFQIE10Info(0)->energy();
304  double e1 = (hfItr.getHFQIE10Info(1) == nullptr) ? 0 : hfItr.getHFQIE10Info(1)->energy();
305  double energy = e0 + e1;
306  if (std::abs(energy) < 1e-6)
307  energy = (energy > 0) ? 1e-6 : -1e-6;
308  double f1(e0), f2(e1);
309  if (ratio_) {
310  f1 /= energy;
311  f2 /= energy;
312  }
313 #ifdef EDM_ML_DEBUG
314  edm::LogVerbatim("RecAnalyzer") << hid << " E " << e0 << ":" << e1 << " F " << f1 << ":" << f2;
315 #endif
316  if (fill) {
317  for (unsigned int i = 0; i < hcalID_.size(); i++) {
318  if (hcalID_[i] == hid.rawId()) {
319  histo_[i].first->Fill(f1);
320  histo_[i].second->Fill(f2);
321  break;
322  }
323  }
324  hist_[0]->Fill(f1);
325  hist_[1]->Fill(f2);
326  }
327 
328  //
329  // Remove PMT hits
330  //
331  if (((noise_ || nzs_) && fabs(energy) <= 40.) || (energy >= eLowHF_ && energy <= eHighHF_)) {
332  std::map<std::pair<int, HcalDetId>, myInfo>::iterator itr1 = myMap_.find(std::pair<int, HcalDetId>(algoBit, hid));
333  if (itr1 == myMap_.end()) {
334  myInfo info;
335  myMap_[std::pair<int, HcalDetId>(algoBit, hid)] = info;
336  itr1 = myMap_.find(std::pair<int, HcalDetId>(algoBit, hid));
337  }
338  itr1->second.kount += 1.0;
339  itr1->second.f11 += (f1);
340  itr1->second.f12 += (f1 * f1);
341  itr1->second.f13 += (f1 * f1 * f1);
342  itr1->second.f14 += (f1 * f1 * f1 * f1);
343  itr1->second.f21 += (f2);
344  itr1->second.f22 += (f2 * f2);
345  itr1->second.f23 += (f2 * f2 * f2);
346  itr1->second.f24 += (f2 * f2 * f2 * f2);
347  itr1->second.runcheck = rnnum_;
348  }
349  }
350 }

References funct::abs(), MillePedeFileConverter_cfg::e, StorageManager_cfg::e1, eHighHF_, eLowHF_, HCALHighEnergyHPDFilter_cfi::energy, DeadROC_duringRun::f1, DeadROC_duringRun::f2, ntuplemaker::fill, hcalID_, hist_, histo_, mps_fire::i, info(), myMap_, noise_, nzs_, ratio_, DetId::rawId(), rnnum_, and edm::SortedCollection< T, SORT >::size().

Referenced by analyze().

◆ beginJob()

void RecAnalyzerHF::beginJob ( void  )
overrideprivatevirtual

Reimplemented from edm::one::EDAnalyzerBase.

Definition at line 138 of file RecAnalyzerHF.cc.

138  {
139  char name[700], title[700];
140  double xmin(-10.0), xmax(90.0);
141  if (ratio_) {
142  xmin = -5.0;
143  xmax = 5.0;
144  }
145  for (int i = 0; i < 2; ++i) {
146  sprintf(name, "HF%d", i);
147  sprintf(title, "The metric F%d for HF", i + 1);
148  hist_[i] = fs_->make<TH1D>(name, title, 50, xmin, xmax);
149  }
150 
151  for (const auto& id : hcalID_) {
152  HcalDetId hid = HcalDetId(id);
153  TH1D *h1(nullptr), *h2(nullptr);
154  for (int i = 0; i < 2; ++i) {
155  sprintf(name, "HF%d%d_%d_%d", i, hid.ieta(), hid.iphi(), hid.depth());
156  sprintf(title, "The metric F%d for HF i#eta %d i#phi %d depth %d", i + 1, hid.ieta(), hid.iphi(), hid.depth());
157  if (i == 0)
158  h1 = fs_->make<TH1D>(name, title, 50, xmin, xmax);
159  else
160  h2 = fs_->make<TH1D>(name, title, 50, xmin, xmax);
161  }
162  histo_.push_back(std::pair<TH1D*, TH1D*>(h1, h2));
163  };
164 
165  if (fillTree_) {
166  myTree_ = fs_->make<TTree>("RecJet", "RecJet Tree");
167  myTree_->Branch("cells", &cells, "cells/I");
168  myTree_->Branch("mysubd", &mysubd, "mysubd/I");
169  myTree_->Branch("depth", &depth, "depth/I");
170  myTree_->Branch("ieta", &ieta, "ieta/I");
171  myTree_->Branch("iphi", &iphi, "iphi/I");
172  myTree_->Branch("mom0_F1", &mom0_F1, "mom0_F1/F");
173  myTree_->Branch("mom1_F1", &mom1_F1, "mom1_F1/F");
174  myTree_->Branch("mom2_F1", &mom2_F1, "mom2_F1/F");
175  myTree_->Branch("mom3_F1", &mom3_F1, "mom3_F1/F");
176  myTree_->Branch("mom4_F1", &mom4_F1, "mom4_F1/F");
177  myTree_->Branch("mom0_F2", &mom0_F2, "mom0_F2/F");
178  myTree_->Branch("mom1_F2", &mom1_F2, "mom1_F2/F");
179  myTree_->Branch("mom2_F2", &mom2_F2, "mom2_F2/F");
180  myTree_->Branch("mom3_F2", &mom3_F2, "mom3_F2/F");
181  myTree_->Branch("mom4_F2", &mom4_F2, "mom4_F2/F");
182  myTree_->Branch("trigbit", &trigbit, "trigbit/I");
183  myTree_->Branch("rnnumber", &rnnumber, "rnnumber/D");
184  }
185 
186  myMap_.clear();
187 }

References cells, depth, HcalDetId::depth(), fillTree_, fs_, hcalID_, hist_, histo_, mps_fire::i, ieta, HcalDetId::ieta(), iphi, HcalDetId::iphi(), TFileService::make(), mom0_F1, mom0_F2, mom1_F1, mom1_F2, mom2_F1, mom2_F2, mom3_F1, mom3_F2, mom4_F1, mom4_F2, myMap_, mysubd, myTree_, Skims_PA_cff::name, ratio_, rnnumber, runGCPTkAlMap::title, trigbit, TrackerOfflineValidation_Dqm_cff::xmax, and TrackerOfflineValidation_Dqm_cff::xmin.

◆ endJob()

void RecAnalyzerHF::endJob ( void  )
overrideprivatevirtual

Reimplemented from edm::one::EDAnalyzerBase.

Definition at line 189 of file RecAnalyzerHF.cc.

189  {
190  if (fillTree_) {
191  cells = 0;
192  for (const auto& itr : myMap_) {
193  edm::LogVerbatim("RecAnalyzer") << "Fired trigger bit number " << itr.first.first;
194  myInfo info = itr.second;
195  if (info.kount > 0) {
196  mom0_F1 = info.kount;
197  mom1_F1 = info.f11;
198  mom2_F1 = info.f12;
199  mom3_F1 = info.f13;
200  mom4_F1 = info.f14;
201  mom0_F2 = info.kount;
202  mom1_F2 = info.f21;
203  mom2_F2 = info.f22;
204  mom3_F2 = info.f23;
205  mom4_F2 = info.f24;
206  rnnumber = info.runcheck;
207  trigbit = itr.first.first;
208  mysubd = itr.first.second.subdet();
209  depth = itr.first.second.depth();
210  iphi = itr.first.second.iphi();
211  ieta = itr.first.second.ieta();
212  edm::LogVerbatim("RecAnalyzer") << " Result= " << trigbit << " " << mysubd << " " << ieta << " " << iphi
213  << " F1:mom0 " << mom0_F1 << " mom1 " << mom1_F1 << " mom2 " << mom2_F1
214  << " mom3 " << mom3_F1 << " mom4 " << mom4_F1 << " F2:mom0 " << mom0_F2
215  << " mom1 " << mom1_F2 << " mom2 " << mom2_F2 << " mom3 " << mom3_F2 << " mom4 "
216  << mom4_F2;
217  myTree_->Fill();
218  cells++;
219  }
220  }
221  edm::LogVerbatim("RecAnalyzer") << "cells"
222  << " " << cells;
223  }
224 #ifdef EDM_ML_DEBUG
225  edm::LogVerbatim("RecAnalyzer") << "Exiting from RecAnalyzerHF::endjob";
226 #endif
227 }

References cells, depth, fillTree_, ieta, info(), iphi, mom0_F1, mom0_F2, mom1_F1, mom1_F2, mom2_F1, mom2_F2, mom3_F1, mom3_F2, mom4_F1, mom4_F2, myMap_, mysubd, myTree_, rnnumber, and trigbit.

Referenced by o2olib.O2ORunMgr::executeJob().

◆ fillDescriptions()

void RecAnalyzerHF::fillDescriptions ( edm::ConfigurationDescriptions descriptions)
static

Definition at line 120 of file RecAnalyzerHF.cc.

120  {
122  desc.add<bool>("RunNZS", true);
123  desc.add<bool>("Noise", false);
124  desc.add<bool>("Ratio", false);
125  desc.add<double>("ELowHF", 10);
126  desc.add<double>("EHighHF", 150);
127  std::vector<int> idummy;
128  desc.addUntracked<std::vector<int>>("TriggerBits", idummy);
129  desc.addUntracked<bool>("IgnoreL1", false);
130  desc.addUntracked<bool>("FillHisto", false);
131  desc.addUntracked<std::vector<int>>("HcalIeta", idummy);
132  desc.addUntracked<std::vector<int>>("HcalIphi", idummy);
133  desc.addUntracked<std::vector<int>>("HcalDepth", idummy);
134  desc.add<edm::InputTag>("hfInput", edm::InputTag("hfprereco"));
135  descriptions.add("recAnalyzerHF", desc);
136 }

References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, and HLT_FULL_cff::InputTag.

Member Data Documentation

◆ cells

int RecAnalyzerHF::cells
private

Definition at line 71 of file RecAnalyzerHF.cc.

Referenced by beginJob(), and endJob().

◆ depth

int RecAnalyzerHF::depth
private

◆ eHighHF_

double RecAnalyzerHF::eHighHF_
private

Definition at line 58 of file RecAnalyzerHF.cc.

Referenced by analyzeHcal(), and RecAnalyzerHF().

◆ eLowHF_

double RecAnalyzerHF::eLowHF_
private

Definition at line 58 of file RecAnalyzerHF.cc.

Referenced by analyzeHcal(), and RecAnalyzerHF().

◆ fillTree_

bool RecAnalyzerHF::fillTree_
private

Definition at line 57 of file RecAnalyzerHF.cc.

Referenced by beginJob(), endJob(), and RecAnalyzerHF().

◆ fs_

edm::Service<TFileService> RecAnalyzerHF::fs_
private

Definition at line 56 of file RecAnalyzerHF.cc.

Referenced by beginJob().

◆ hcalID_

std::vector<unsigned int> RecAnalyzerHF::hcalID_
private

Definition at line 59 of file RecAnalyzerHF.cc.

Referenced by analyzeHcal(), beginJob(), and RecAnalyzerHF().

◆ hist_

TH1D* RecAnalyzerHF::hist_[2]
private

Definition at line 61 of file RecAnalyzerHF.cc.

Referenced by analyzeHcal(), and beginJob().

◆ histo_

std::vector<std::pair<TH1D*, TH1D*> > RecAnalyzerHF::histo_
private

Definition at line 62 of file RecAnalyzerHF.cc.

Referenced by analyzeHcal(), and beginJob().

◆ ieta

int RecAnalyzerHF::ieta
private

Definition at line 71 of file RecAnalyzerHF.cc.

Referenced by beginJob(), endJob(), and RecAnalyzerHF().

◆ ignoreL1_

bool RecAnalyzerHF::ignoreL1_
private

Definition at line 57 of file RecAnalyzerHF.cc.

Referenced by analyze(), and RecAnalyzerHF().

◆ iphi

int RecAnalyzerHF::iphi
private

Definition at line 71 of file RecAnalyzerHF.cc.

Referenced by beginJob(), endJob(), and RecAnalyzerHF().

◆ mom0_F1

float RecAnalyzerHF::mom0_F1
private

Definition at line 72 of file RecAnalyzerHF.cc.

Referenced by beginJob(), and endJob().

◆ mom0_F2

float RecAnalyzerHF::mom0_F2
private

Definition at line 73 of file RecAnalyzerHF.cc.

Referenced by beginJob(), and endJob().

◆ mom1_F1

float RecAnalyzerHF::mom1_F1
private

Definition at line 72 of file RecAnalyzerHF.cc.

Referenced by beginJob(), and endJob().

◆ mom1_F2

float RecAnalyzerHF::mom1_F2
private

Definition at line 73 of file RecAnalyzerHF.cc.

Referenced by beginJob(), and endJob().

◆ mom2_F1

float RecAnalyzerHF::mom2_F1
private

Definition at line 72 of file RecAnalyzerHF.cc.

Referenced by beginJob(), and endJob().

◆ mom2_F2

float RecAnalyzerHF::mom2_F2
private

Definition at line 73 of file RecAnalyzerHF.cc.

Referenced by beginJob(), and endJob().

◆ mom3_F1

float RecAnalyzerHF::mom3_F1
private

Definition at line 72 of file RecAnalyzerHF.cc.

Referenced by beginJob(), and endJob().

◆ mom3_F2

float RecAnalyzerHF::mom3_F2
private

Definition at line 73 of file RecAnalyzerHF.cc.

Referenced by beginJob(), and endJob().

◆ mom4_F1

float RecAnalyzerHF::mom4_F1
private

Definition at line 72 of file RecAnalyzerHF.cc.

Referenced by beginJob(), and endJob().

◆ mom4_F2

float RecAnalyzerHF::mom4_F2
private

Definition at line 73 of file RecAnalyzerHF.cc.

Referenced by beginJob(), and endJob().

◆ myMap_

std::map<std::pair<int, HcalDetId>, myInfo> RecAnalyzerHF::myMap_
private

Definition at line 74 of file RecAnalyzerHF.cc.

Referenced by analyzeHcal(), beginJob(), and endJob().

◆ mysubd

int RecAnalyzerHF::mysubd
private

Definition at line 71 of file RecAnalyzerHF.cc.

Referenced by beginJob(), and endJob().

◆ myTree_

TTree* RecAnalyzerHF::myTree_
private

Definition at line 60 of file RecAnalyzerHF.cc.

Referenced by beginJob(), and endJob().

◆ noise_

bool RecAnalyzerHF::noise_
private

Definition at line 57 of file RecAnalyzerHF.cc.

Referenced by analyzeHcal(), and RecAnalyzerHF().

◆ nzs_

bool RecAnalyzerHF::nzs_
private

Definition at line 57 of file RecAnalyzerHF.cc.

Referenced by analyze(), analyzeHcal(), and RecAnalyzerHF().

◆ ratio_

bool RecAnalyzerHF::ratio_
private

Definition at line 57 of file RecAnalyzerHF.cc.

Referenced by analyzeHcal(), beginJob(), and RecAnalyzerHF().

◆ rnnum_

double RecAnalyzerHF::rnnum_
private

Definition at line 64 of file RecAnalyzerHF.cc.

Referenced by analyze(), and analyzeHcal().

◆ rnnumber

double RecAnalyzerHF::rnnumber
private

Definition at line 70 of file RecAnalyzerHF.cc.

Referenced by beginJob(), and endJob().

◆ tok_hfreco_

edm::EDGetTokenT<HFPreRecHitCollection> RecAnalyzerHF::tok_hfreco_
private

Definition at line 75 of file RecAnalyzerHF.cc.

Referenced by analyze(), and RecAnalyzerHF().

◆ tok_hltL1GtMap_

edm::EDGetTokenT<L1GlobalTriggerObjectMapRecord> RecAnalyzerHF::tok_hltL1GtMap_
private

Definition at line 76 of file RecAnalyzerHF.cc.

Referenced by analyze(), and RecAnalyzerHF().

◆ trigbit

int RecAnalyzerHF::trigbit
private

Definition at line 71 of file RecAnalyzerHF.cc.

Referenced by beginJob(), and endJob().

◆ trigbit_

std::vector<int> RecAnalyzerHF::trigbit_
private

Definition at line 63 of file RecAnalyzerHF.cc.

Referenced by analyze(), and RecAnalyzerHF().

RecAnalyzerHF::fillTree_
bool fillTree_
Definition: RecAnalyzerHF.cc:57
runGCPTkAlMap.title
string title
Definition: runGCPTkAlMap.py:94
mps_fire.i
i
Definition: mps_fire.py:428
RecAnalyzerHF::hcalID_
std::vector< unsigned int > hcalID_
Definition: RecAnalyzerHF.cc:59
RecAnalyzerHF::trigbit
int trigbit
Definition: RecAnalyzerHF.cc:71
HcalDetId::iphi
constexpr int iphi() const
get the cell iphi
Definition: HcalDetId.h:157
singleTopDQM_cfi.select
select
Definition: singleTopDQM_cfi.py:50
HLT_FULL_cff.InputTag
InputTag
Definition: HLT_FULL_cff.py:89281
edm::ParameterSetDescription
Definition: ParameterSetDescription.h:52
edm::SortedCollection
Definition: SortedCollection.h:49
RecAnalyzerHF::ieta
int ieta
Definition: RecAnalyzerHF.cc:71
RecAnalyzerHF::myTree_
TTree * myTree_
Definition: RecAnalyzerHF.cc:60
edm::SortedCollection::size
size_type size() const
Definition: SortedCollection.h:215
info
static const TGPicture * info(bool iBackgroundIsBlack)
Definition: FWCollectionSummaryWidget.cc:153
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
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
edm::LogWarning
Log< level::Warning, false > LogWarning
Definition: MessageLogger.h:122
RecAnalyzerHF::histo_
std::vector< std::pair< TH1D *, TH1D * > > histo_
Definition: RecAnalyzerHF.cc:62
RecAnalyzerHF::cells
int cells
Definition: RecAnalyzerHF.cc:71
RecAnalyzerHF::trigbit_
std::vector< int > trigbit_
Definition: RecAnalyzerHF.cc:63
RecAnalyzerHF::ratio_
bool ratio_
Definition: RecAnalyzerHF.cc:57
RecAnalyzerHF::myMap_
std::map< std::pair< int, HcalDetId >, myInfo > myMap_
Definition: RecAnalyzerHF.cc:74
photonIsolationHIProducer_cfi.hf
hf
Definition: photonIsolationHIProducer_cfi.py:9
edm::ConfigurationDescriptions::add
void add(std::string const &label, ParameterSetDescription const &psetDescription)
Definition: ConfigurationDescriptions.cc:57
RecAnalyzerHF::mom2_F2
float mom2_F2
Definition: RecAnalyzerHF.cc:73
RecAnalyzerHF::mom0_F2
float mom0_F2
Definition: RecAnalyzerHF.cc:73
RecAnalyzerHF::tok_hltL1GtMap_
edm::EDGetTokenT< L1GlobalTriggerObjectMapRecord > tok_hltL1GtMap_
Definition: RecAnalyzerHF.cc:76
HCALHighEnergyHPDFilter_cfi.energy
energy
Definition: HCALHighEnergyHPDFilter_cfi.py:5
dqmdumpme.k
k
Definition: dqmdumpme.py:60
RecAnalyzerHF::mom4_F1
float mom4_F1
Definition: RecAnalyzerHF.cc:72
ntuplemaker.fill
fill
Definition: ntuplemaker.py:304
HcalDetId::ieta
constexpr int ieta() const
get the cell ieta
Definition: HcalDetId.h:155
RecAnalyzerHF::mom1_F1
float mom1_F1
Definition: RecAnalyzerHF.cc:72
DeadROC_duringRun.f2
f2
Definition: DeadROC_duringRun.py:220
RecAnalyzerHF::analyzeHcal
void analyzeHcal(const HFPreRecHitCollection &, int, bool)
Definition: RecAnalyzerHF.cc:295
StorageManager_cfg.e1
e1
Definition: StorageManager_cfg.py:16
HcalDetId
Definition: HcalDetId.h:12
iEvent
int iEvent
Definition: GenABIO.cc:224
RecAnalyzerHF::depth
int depth
Definition: RecAnalyzerHF.cc:71
RecAnalyzerHF::mom1_F2
float mom1_F2
Definition: RecAnalyzerHF.cc:73
RecAnalyzerHF::hist_
TH1D * hist_[2]
Definition: RecAnalyzerHF.cc:61
RecAnalyzerHF::mom3_F1
float mom3_F1
Definition: RecAnalyzerHF.cc:72
RecAnalyzerHF::eLowHF_
double eLowHF_
Definition: RecAnalyzerHF.cc:58
ClusterTask_cfi.trig
trig
Definition: ClusterTask_cfi.py:398
RecAnalyzerHF::rnnumber
double rnnumber
Definition: RecAnalyzerHF.cc:70
RecAnalyzerHF::iphi
int iphi
Definition: RecAnalyzerHF.cc:71
HcalForward
Definition: HcalAssistant.h:36
RecAnalyzerHF::ignoreL1_
bool ignoreL1_
Definition: RecAnalyzerHF.cc:57
RecAnalyzerHF::mysubd
int mysubd
Definition: RecAnalyzerHF.cc:71
submitPVResolutionJobs.desc
string desc
Definition: submitPVResolutionJobs.py:251
DetId::rawId
constexpr uint32_t rawId() const
get the raw id
Definition: DetId.h:57
RecAnalyzerHF::rnnum_
double rnnum_
Definition: RecAnalyzerHF.cc:64
RecAnalyzerHF::nzs_
bool nzs_
Definition: RecAnalyzerHF.cc:57
edm::LogVerbatim
Log< level::Info, true > LogVerbatim
Definition: MessageLogger.h:128
TrackerOfflineValidation_Dqm_cff.xmax
xmax
Definition: TrackerOfflineValidation_Dqm_cff.py:11
RecAnalyzerHF::fs_
edm::Service< TFileService > fs_
Definition: RecAnalyzerHF.cc:56
RecAnalyzerHF::noise_
bool noise_
Definition: RecAnalyzerHF.cc:57
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
L1GlobalTriggerObjectMapRecord::gtObjectMap
const std::vector< L1GlobalTriggerObjectMap > & gtObjectMap() const
get / set the vector of object maps
Definition: L1GlobalTriggerObjectMapRecord.h:64
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
RecAnalyzerHF::mom3_F2
float mom3_F2
Definition: RecAnalyzerHF.cc:73
funct::abs
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
TrackerOfflineValidation_Dqm_cff.xmin
xmin
Definition: TrackerOfflineValidation_Dqm_cff.py:10
RecAnalyzerHF::mom4_F2
float mom4_F2
Definition: RecAnalyzerHF.cc:73
RecAnalyzerHF::tok_hfreco_
edm::EDGetTokenT< HFPreRecHitCollection > tok_hfreco_
Definition: RecAnalyzerHF.cc:75
edm::HandleBase::isValid
bool isValid() const
Definition: HandleBase.h:70
DeadROC_duringRun.f1
f1
Definition: DeadROC_duringRun.py:219
RecAnalyzerHF::mom2_F1
float mom2_F1
Definition: RecAnalyzerHF.cc:72
RecAnalyzerHF::eHighHF_
double eHighHF_
Definition: RecAnalyzerHF.cc:58
edm::InputTag
Definition: InputTag.h:15
RecAnalyzerHF::mom0_F1
float mom0_F1
Definition: RecAnalyzerHF.cc:72
TFileService::make
T * make(const Args &... args) const
make new ROOT object
Definition: TFileService.h:64
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37