CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions | Private Attributes
AlCaHcalNoiseProducer Class Reference
Inheritance diagram for AlCaHcalNoiseProducer:
edm::one::EDProducer<> edm::one::EDProducerBase edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

Public Member Functions

 AlCaHcalNoiseProducer (const edm::ParameterSet &)
 
void produce (edm::Event &, const edm::EventSetup &) override
 
 ~AlCaHcalNoiseProducer () override=default
 
- Public Member Functions inherited from edm::one::EDProducer<>
 EDProducer ()=default
 
 EDProducer (const EDProducer &)=delete
 
SerialTaskQueueglobalLuminosityBlocksQueue () final
 
SerialTaskQueueglobalRunsQueue () final
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginProcessBlocks () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndProcessBlocks () const final
 
bool hasAbilityToProduceInEndRuns () const final
 
const EDProduceroperator= (const EDProducer &)=delete
 
bool wantsGlobalLuminosityBlocks () const noexcept final
 
bool wantsGlobalRuns () const noexcept final
 
bool wantsInputProcessBlocks () const noexcept final
 
bool wantsProcessBlocks () const noexcept final
 
- Public Member Functions inherited from edm::one::EDProducerBase
 EDProducerBase ()
 
ModuleDescription const & moduleDescription () const
 
bool wantsStreamLuminosityBlocks () const noexcept
 
bool wantsStreamRuns () const noexcept
 
 ~EDProducerBase () override
 
- Public Member Functions inherited from edm::ProducerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
std::vector< edm::ProductResolverIndex > const & indiciesForPutProducts (BranchType iBranchType) const
 
 ProducerBase ()
 
std::vector< edm::ProductResolverIndex > const & putTokenIndexToProductResolverIndex () const
 
std::vector< bool > const & recordProvenanceList () const
 
void registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &)
 
std::function< void(BranchDescription const &)> registrationCallback () const
 used by the fwk to register list of products More...
 
void resolvePutIndicies (BranchType iBranchType, ModuleToResolverIndicies const &iIndicies, std::string const &moduleLabel)
 
TypeLabelList const & typeLabelList () const
 used by the fwk to register the list of products of this module More...
 
 ~ProducerBase () noexcept(false) 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 const &)=delete
 
 EDConsumerBase (EDConsumerBase &&)=default
 
ESResolverIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
std::vector< ESResolverIndex > 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
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
void selectInputProcessBlocks (ProductRegistry const &productRegistry, ProcessBlockHelperBase const &processBlockHelperBase)
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProductResolverIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 

Static Public Member Functions

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

Private Attributes

std::vector< edm::InputTagecalLabels_
 
double JetHCALminEnergyFraction_
 
double JetMinE_
 
double MetCut_
 
int nAnomalousEvents
 
int nEvents
 
edm::EDGetTokenT< HBHERecHitCollectiontok_hbhe_
 
edm::EDGetTokenT< HFRecHitCollectiontok_hf_
 
edm::EDGetTokenT< HORecHitCollectiontok_ho_
 
edm::EDGetTokenT< reco::CaloJetCollectiontok_jets_
 
edm::EDGetTokenT< reco::CaloMETCollectiontok_met_
 
edm::EDGetTokenT< EcalRecHitCollectiontok_ps_
 
edm::EDGetTokenT< FEDRawDataCollectiontok_raw_
 
edm::EDGetTokenT< CaloTowerCollectiontok_tower_
 
std::vector< edm::EDGetTokenT< EcalRecHitCollection > > toks_ecal_
 
bool useJet_
 
bool useMet_
 

Additional Inherited Members

- Public Types inherited from edm::one::EDProducerBase
typedef EDProducerBase ModuleType
 
- Public Types inherited from edm::ProducerBase
template<typename T >
using BranchAliasSetterT = ProductRegistryHelper::BranchAliasSetterT< T >
 
using ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex > >
 
typedef ProductRegistryHelper::TypeLabelList TypeLabelList
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Protected Member Functions inherited from edm::ProducerBase
template<Transition Tr = Transition::Event>
auto produces (std::string instanceName) noexcept
 declare what type of product will make and with which optional label More...
 
template<Transition B>
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
template<BranchType B>
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
template<typename ProductType , Transition B>
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
template<class ProductType >
BranchAliasSetterT< ProductType > produces ()
 
template<typename ProductType , BranchType B>
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
template<typename ProductType , BranchType B>
BranchAliasSetterT< ProductType > produces ()
 
template<class ProductType >
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
template<typename ProductType , Transition B>
BranchAliasSetterT< ProductType > produces ()
 
template<Transition Tr = Transition::Event>
auto produces () noexcept
 
ProducesCollector producesCollector ()
 
- Protected Member Functions inherited from edm::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
template<BranchType B = InEvent>
EDConsumerBaseAdaptor< Bconsumes (edm::InputTag tag) noexcept
 
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes ()
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
template<Transition Tr = Transition::Event>
constexpr auto esConsumes ()
 
template<Transition Tr = Transition::Event>
auto esConsumes (ESInputTag tag)
 
template<Transition Tr = Transition::Event>
ESGetTokenGeneric esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey)
 Used with EventSetupRecord::doGet. More...
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
void resetItemsToGetFrom (BranchType iType)
 

Detailed Description

Definition at line 57 of file AlCaHcalNoiseProducer.cc.

Constructor & Destructor Documentation

◆ AlCaHcalNoiseProducer()

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

Definition at line 91 of file AlCaHcalNoiseProducer.cc.

References ecalLabels_, edm::ParameterSet::getParameter(), mps_fire::i, JetHCALminEnergyFraction_, JetMinE_, MetCut_, tok_hbhe_, tok_hf_, tok_ho_, tok_jets_, tok_met_, tok_ps_, tok_raw_, tok_tower_, toks_ecal_, useJet_, and useMet_.

91  {
92  tok_jets_ = consumes<reco::CaloJetCollection>(iConfig.getParameter<edm::InputTag>("JetSource"));
93  tok_met_ = consumes<reco::CaloMETCollection>(iConfig.getParameter<edm::InputTag>("MetSource"));
94  tok_tower_ = consumes<CaloTowerCollection>(iConfig.getParameter<edm::InputTag>("TowerSource"));
95  useMet_ = iConfig.getParameter<bool>("UseMET");
96  useJet_ = iConfig.getParameter<bool>("UseJet");
97  MetCut_ = iConfig.getParameter<double>("MetCut");
98  JetMinE_ = iConfig.getParameter<double>("JetMinE");
99  JetHCALminEnergyFraction_ = iConfig.getParameter<double>("JetHCALminEnergyFraction");
100 
101  tok_ho_ = consumes<HORecHitCollection>(iConfig.getParameter<edm::InputTag>("hoInput"));
102  tok_hf_ = consumes<HFRecHitCollection>(iConfig.getParameter<edm::InputTag>("hfInput"));
103  tok_hbhe_ = consumes<HBHERecHitCollection>(iConfig.getParameter<edm::InputTag>("hbheInput"));
104  ecalLabels_ = iConfig.getParameter<std::vector<edm::InputTag>>("ecalInputs");
105  tok_ps_ = consumes<EcalRecHitCollection>(iConfig.getParameter<edm::InputTag>("ecalPSInput"));
106  tok_raw_ = consumes<FEDRawDataCollection>(iConfig.getParameter<edm::InputTag>("rawInput"));
107 
108  const unsigned nLabels = ecalLabels_.size();
109  for (unsigned i = 0; i != nLabels; i++)
110  toks_ecal_.push_back(consumes<EcalRecHitCollection>(ecalLabels_[i]));
111 
112  //register products
113  produces<HBHERecHitCollection>("HBHERecHitCollectionFHN");
114  produces<HORecHitCollection>("HORecHitCollectionFHN");
115  produces<HFRecHitCollection>("HFRecHitCollectionFHN");
116 
117  produces<EcalRecHitCollection>("EcalRecHitCollectionFHN");
118  produces<EcalRecHitCollection>("PSEcalRecHitCollectionFHN");
119 
120  produces<FEDRawDataCollection>("HcalFEDsFHN");
121 }
edm::EDGetTokenT< HFRecHitCollection > tok_hf_
T getParameter(std::string const &) const
Definition: ParameterSet.h:307
edm::EDGetTokenT< HORecHitCollection > tok_ho_
std::vector< edm::EDGetTokenT< EcalRecHitCollection > > toks_ecal_
edm::EDGetTokenT< CaloTowerCollection > tok_tower_
edm::EDGetTokenT< EcalRecHitCollection > tok_ps_
edm::EDGetTokenT< FEDRawDataCollection > tok_raw_
edm::EDGetTokenT< reco::CaloJetCollection > tok_jets_
std::vector< edm::InputTag > ecalLabels_
edm::EDGetTokenT< HBHERecHitCollection > tok_hbhe_
edm::EDGetTokenT< reco::CaloMETCollection > tok_met_

◆ ~AlCaHcalNoiseProducer()

AlCaHcalNoiseProducer::~AlCaHcalNoiseProducer ( )
overridedefault

Member Function Documentation

◆ fillDescriptions()

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

Definition at line 297 of file AlCaHcalNoiseProducer.cc.

References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, PixelMapPlotter::inputs, and ProducerED_cfi::InputTag.

297  {
299  desc.add<edm::InputTag>("JetSource", edm::InputTag("iterativeCone5CaloJets"));
300  desc.add<edm::InputTag>("MetSource", edm::InputTag("met"));
301  desc.add<edm::InputTag>("TowerSource", edm::InputTag("towerMaker"));
302  desc.add<bool>("UseJet", true);
303  desc.add<bool>("UseMET", false);
304  desc.add<double>("MetCut", 0);
305  desc.add<double>("JetMinE", 20);
306  desc.add<double>("JetHCALminEnergyFraction", 0.98);
307  desc.add<edm::InputTag>("hbheInput", edm::InputTag("hbhereco"));
308  desc.add<edm::InputTag>("hfInput", edm::InputTag("hfreco"));
309  desc.add<edm::InputTag>("hoInput", edm::InputTag("horeco"));
310  std::vector<edm::InputTag> inputs = {edm::InputTag("ecalRecHit", "EcalRecHitsEB"),
311  edm::InputTag("ecalRecHit", "EcalRecHitsEE")};
312  desc.add<std::vector<edm::InputTag>>("ecalInputs", inputs);
313  desc.add<edm::InputTag>("ecalPSInput", edm::InputTag("ecalPreshowerRecHit", "EcalRecHitsES"));
314  desc.add<edm::InputTag>("rawInput", edm::InputTag("rawDataCollector"));
315  descriptions.add("alcaHcalNoiseProducer", desc);
316 }
void add(std::string const &label, ParameterSetDescription const &psetDescription)

◆ produce()

void AlCaHcalNoiseProducer::produce ( edm::Event iEvent,
const edm::EventSetup iSetup 
)
overridevirtual

Implements edm::one::EDProducerBase.

Definition at line 124 of file AlCaHcalNoiseProducer.cc.

References edm::SortedCollection< T, SORT >::begin(), FEDRawData::data(), data, PbPb_ZMuSkimMuonDPG_cff::deltaR, HGC3DClusterGenMatchSelector_cfi::dR, edm::SortedCollection< T, SORT >::end(), FEDRawDataCollection::FEDData(), photonIsolationHIProducer_cfi::hbhe, photonIsolationHIProducer_cfi::hf, photonIsolationHIProducer_cfi::ho, mps_fire::i, iEvent, dqmiolumiharvest::j, JetHCALminEnergyFraction_, JetMinE_, dqmdumpme::k, FEDNumbering::MAXFEDID, FEDNumbering::MAXHCALFEDID, BTaggingMonitor_cfi::met, MetCut_, FEDNumbering::MINHCALFEDID, eostools::move(), nAnomalousEvents, nEvents, edm::Handle< T >::product(), edm::SortedCollection< T, SORT >::push_back(), rpcPointValidation_cfi::recHit, FEDRawData::resize(), FEDRawData::size(), findQualityFiles::size, tok_hbhe_, tok_hf_, tok_ho_, tok_jets_, tok_met_, tok_ps_, tok_raw_, tok_tower_, toks_ecal_, useJet_, and useMet_.

124  {
125  bool acceptEvent = false;
126 
127  // filtering basing on HLTrigger/special/src/HLTHcalNoiseFilter.cc:
128 
129  bool isAnomalous_BasedOnMET = false;
130  bool isAnomalous_BasedOnEnergyFraction = false;
131 
132  if (useMet_) {
134  const reco::CaloMETCollection* metCol = metHandle.product();
135  const reco::CaloMET met = metCol->front();
136 
137  if (met.pt() > MetCut_)
138  isAnomalous_BasedOnMET = true;
139  }
140 
141  if (useJet_) {
142  edm::Handle<reco::CaloJetCollection> calojetHandle = iEvent.getHandle(tok_jets_);
143  edm::Handle<CaloTowerCollection> towerHandle = iEvent.getHandle(tok_tower_);
144 
145  std::vector<CaloTower> TowerContainer;
146  std::vector<reco::CaloJet> JetContainer;
147  TowerContainer.clear();
148  JetContainer.clear();
149  CaloTower seedTower;
150  nEvents++;
151  for (reco::CaloJetCollection::const_iterator calojetIter = calojetHandle->begin();
152  calojetIter != calojetHandle->end();
153  ++calojetIter) {
154  if (((calojetIter->et()) * cosh(calojetIter->eta()) > JetMinE_) &&
155  (calojetIter->energyFractionHadronic() > JetHCALminEnergyFraction_)) {
156  JetContainer.push_back(*calojetIter);
157  double maxTowerE = 0.0;
158  for (CaloTowerCollection::const_iterator kal = towerHandle->begin(); kal != towerHandle->end(); kal++) {
159  double dR = deltaR((*calojetIter).eta(), (*calojetIter).phi(), (*kal).eta(), (*kal).phi());
160  if ((dR < 0.50) && (kal->p() > maxTowerE)) {
161  maxTowerE = kal->p();
162  seedTower = *kal;
163  }
164  }
165  TowerContainer.push_back(seedTower);
166  }
167  }
168  if (!JetContainer.empty()) {
170  isAnomalous_BasedOnEnergyFraction = true;
171  }
172  }
173 
174  acceptEvent = ((useMet_ && isAnomalous_BasedOnMET) || (useJet_ && isAnomalous_BasedOnEnergyFraction));
175 
177 
178  //Create empty output collections
179 
180  auto miniHBHERecHitCollection = std::make_unique<HBHERecHitCollection>();
181  auto miniHORecHitCollection = std::make_unique<HORecHitCollection>();
182  auto miniHFRecHitCollection = std::make_unique<HFRecHitCollection>();
183 
184  auto outputEColl = std::make_unique<EcalRecHitCollection>();
185  auto outputESColl = std::make_unique<EcalRecHitCollection>();
186 
187  auto outputFEDs = std::make_unique<FEDRawDataCollection>();
188 
189  // if good event get and save all colletions
190  if (acceptEvent) {
194 
195  edm::Handle<EcalRecHitCollection> pRecHits = iEvent.getHandle(tok_ps_);
196 
197  // temporary collection of EB+EE recHits
198 
199  auto tmpEcalRecHitCollection = std::make_unique<EcalRecHitCollection>();
200 
201  std::vector<edm::EDGetTokenT<EcalRecHitCollection>>::const_iterator i;
202  for (i = toks_ecal_.begin(); i != toks_ecal_.end(); i++) {
203  edm::Handle<EcalRecHitCollection> ec = iEvent.getHandle(*i);
204  for (EcalRecHitCollection::const_iterator recHit = (*ec).begin(); recHit != (*ec).end(); ++recHit) {
205  tmpEcalRecHitCollection->push_back(*recHit);
206  }
207  }
208 
210 
212  const HBHERecHitCollection Hithbhe = *(hbhe.product());
213  for (HBHERecHitCollection::const_iterator hbheItr = Hithbhe.begin(); hbheItr != Hithbhe.end(); hbheItr++) {
214  miniHBHERecHitCollection->push_back(*hbheItr);
215  }
216  const HORecHitCollection Hitho = *(ho.product());
217  for (HORecHitCollection::const_iterator hoItr = Hitho.begin(); hoItr != Hitho.end(); hoItr++) {
218  miniHORecHitCollection->push_back(*hoItr);
219  }
220 
221  const HFRecHitCollection Hithf = *(hf.product());
222  for (HFRecHitCollection::const_iterator hfItr = Hithf.begin(); hfItr != Hithf.end(); hfItr++) {
223  miniHFRecHitCollection->push_back(*hfItr);
224  }
226 
228  for (std::vector<EcalRecHit>::const_iterator ehit = tmpEcalRecHitCollection->begin();
229  ehit != tmpEcalRecHitCollection->end();
230  ehit++) {
231  outputEColl->push_back(*ehit);
232  }
234 
235  // write PS
236  const EcalRecHitCollection& psrechits = *(pRecHits.product());
237 
238  for (EcalRecHitCollection::const_iterator i = psrechits.begin(); i != psrechits.end(); i++) {
239  outputESColl->push_back(*i);
240  }
241 
242  // get HCAL FEDs
244 
245  std::vector<int> selFEDs;
247  selFEDs.push_back(i);
248  }
250 
251  // Copying FEDs :
252  const FEDRawDataCollection* rdc = rawIn.product();
253 
254  // if ( ( rawData[i].provenance()->processName() != e.processHistory().rbegin()->processName() ) )
255  // continue ; // skip all raw collections not produced by the current process
256 
257  for (int j = 0; j <= FEDNumbering::MAXFEDID; ++j) {
258  bool rightFED = false;
259  for (uint32_t k = 0; k < selFEDs.size(); k++) {
260  if (j == selFEDs[k]) {
261  rightFED = true;
262  }
263  }
264  if (!rightFED)
265  continue;
266  const FEDRawData& fedData = rdc->FEDData(j);
267  size_t size = fedData.size();
268 
269  if (size > 0) {
270  // this fed has data -- lets copy it
271  FEDRawData& fedDataProd = outputFEDs->FEDData(j);
272  if (fedDataProd.size() != 0) {
273  edm::LogWarning("HcalNoise") << " More than one FEDRawDataCollection with data in FED " << j
274  << " Skipping the 2nd\n";
275  continue;
276  }
277  fedDataProd.resize(size);
278  unsigned char* dataProd = fedDataProd.data();
279  const unsigned char* data = fedData.data();
280  for (unsigned int k = 0; k < size; ++k) {
281  dataProd[k] = data[k];
282  }
283  }
284  }
286  }
287 
288  //Put selected information in the event
289  iEvent.put(std::move(miniHBHERecHitCollection), "HBHERecHitCollectionFHN");
290  iEvent.put(std::move(miniHORecHitCollection), "HORecHitCollectionFHN");
291  iEvent.put(std::move(miniHFRecHitCollection), "HFRecHitCollectionFHN");
292  iEvent.put(std::move(outputEColl), "EcalRecHitCollectionFHN");
293  iEvent.put(std::move(outputESColl), "PSEcalRecHitCollectionFHN");
294  iEvent.put(std::move(outputFEDs), "HcalFEDsFHN");
295 }
edm::EDGetTokenT< HFRecHitCollection > tok_hf_
size
Write out results.
edm::EDGetTokenT< HORecHitCollection > tok_ho_
T const * product() const
Definition: Handle.h:70
std::vector< CaloTower >::const_iterator const_iterator
std::vector< edm::EDGetTokenT< EcalRecHitCollection > > toks_ecal_
edm::EDGetTokenT< CaloTowerCollection > tok_tower_
void push_back(T const &t)
size_t size() const
Lenght of the data buffer in bytes.
Definition: FEDRawData.h:48
edm::EDGetTokenT< EcalRecHitCollection > tok_ps_
edm::EDGetTokenT< FEDRawDataCollection > tok_raw_
edm::EDGetTokenT< reco::CaloJetCollection > tok_jets_
int iEvent
Definition: GenABIO.cc:224
const_iterator begin() const
const FEDRawData & FEDData(int fedid) const
retrieve data for fed
const_iterator end() const
std::vector< reco::CaloMET > CaloMETCollection
collection of CaloMET objects
void resize(size_t newsize, size_t wordsize=8)
Definition: FEDRawData.cc:28
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:80
edm::EDGetTokenT< HBHERecHitCollection > tok_hbhe_
const unsigned char * data() const
Return a const pointer to the beginning of the data buffer.
Definition: FEDRawData.cc:24
Log< level::Warning, false > LogWarning
def move(src, dest)
Definition: eostools.py:511
edm::EDGetTokenT< reco::CaloMETCollection > tok_met_

Member Data Documentation

◆ ecalLabels_

std::vector<edm::InputTag> AlCaHcalNoiseProducer::ecalLabels_
private

Definition at line 76 of file AlCaHcalNoiseProducer.cc.

Referenced by AlCaHcalNoiseProducer().

◆ JetHCALminEnergyFraction_

double AlCaHcalNoiseProducer::JetHCALminEnergyFraction_
private

Definition at line 72 of file AlCaHcalNoiseProducer.cc.

Referenced by AlCaHcalNoiseProducer(), and produce().

◆ JetMinE_

double AlCaHcalNoiseProducer::JetMinE_
private

Definition at line 71 of file AlCaHcalNoiseProducer.cc.

Referenced by AlCaHcalNoiseProducer(), and produce().

◆ MetCut_

double AlCaHcalNoiseProducer::MetCut_
private

Definition at line 70 of file AlCaHcalNoiseProducer.cc.

Referenced by AlCaHcalNoiseProducer(), and produce().

◆ nAnomalousEvents

int AlCaHcalNoiseProducer::nAnomalousEvents
private

Definition at line 73 of file AlCaHcalNoiseProducer.cc.

Referenced by produce().

◆ nEvents

int AlCaHcalNoiseProducer::nEvents
private

Definition at line 74 of file AlCaHcalNoiseProducer.cc.

Referenced by looper.Looper::loop(), and produce().

◆ tok_hbhe_

edm::EDGetTokenT<HBHERecHitCollection> AlCaHcalNoiseProducer::tok_hbhe_
private

Definition at line 82 of file AlCaHcalNoiseProducer.cc.

Referenced by AlCaHcalNoiseProducer(), and produce().

◆ tok_hf_

edm::EDGetTokenT<HFRecHitCollection> AlCaHcalNoiseProducer::tok_hf_
private

Definition at line 84 of file AlCaHcalNoiseProducer.cc.

Referenced by AlCaHcalNoiseProducer(), and produce().

◆ tok_ho_

edm::EDGetTokenT<HORecHitCollection> AlCaHcalNoiseProducer::tok_ho_
private

Definition at line 83 of file AlCaHcalNoiseProducer.cc.

Referenced by AlCaHcalNoiseProducer(), and produce().

◆ tok_jets_

edm::EDGetTokenT<reco::CaloJetCollection> AlCaHcalNoiseProducer::tok_jets_
private

Definition at line 78 of file AlCaHcalNoiseProducer.cc.

Referenced by AlCaHcalNoiseProducer(), and produce().

◆ tok_met_

edm::EDGetTokenT<reco::CaloMETCollection> AlCaHcalNoiseProducer::tok_met_
private

Definition at line 79 of file AlCaHcalNoiseProducer.cc.

Referenced by AlCaHcalNoiseProducer(), and produce().

◆ tok_ps_

edm::EDGetTokenT<EcalRecHitCollection> AlCaHcalNoiseProducer::tok_ps_
private

Definition at line 86 of file AlCaHcalNoiseProducer.cc.

Referenced by AlCaHcalNoiseProducer(), and produce().

◆ tok_raw_

edm::EDGetTokenT<FEDRawDataCollection> AlCaHcalNoiseProducer::tok_raw_
private

Definition at line 87 of file AlCaHcalNoiseProducer.cc.

Referenced by AlCaHcalNoiseProducer(), and produce().

◆ tok_tower_

edm::EDGetTokenT<CaloTowerCollection> AlCaHcalNoiseProducer::tok_tower_
private

Definition at line 80 of file AlCaHcalNoiseProducer.cc.

Referenced by AlCaHcalNoiseProducer(), and produce().

◆ toks_ecal_

std::vector<edm::EDGetTokenT<EcalRecHitCollection> > AlCaHcalNoiseProducer::toks_ecal_
private

Definition at line 88 of file AlCaHcalNoiseProducer.cc.

Referenced by AlCaHcalNoiseProducer(), and produce().

◆ useJet_

bool AlCaHcalNoiseProducer::useJet_
private

Definition at line 69 of file AlCaHcalNoiseProducer.cc.

Referenced by AlCaHcalNoiseProducer(), and produce().

◆ useMet_

bool AlCaHcalNoiseProducer::useMet_
private

Definition at line 68 of file AlCaHcalNoiseProducer.cc.

Referenced by AlCaHcalNoiseProducer(), and produce().