CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Static Public Attributes | Private Attributes
EcalDigiToRaw Class Reference

#include <EventFilter/EcalDigiToRaw/src/EcalDigiToRaw.cc>

Inheritance diagram for EcalDigiToRaw:
edm::global::EDProducer<> edm::global::EDProducerBase edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

Public Types

typedef unsigned int Word32
 
typedef long long Word64
 
- Public Types inherited from edm::global::EDProducerBase
typedef EDProducerBase ModuleType
 
- Public Types inherited from edm::ProducerBase
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
 

Public Member Functions

 EcalDigiToRaw (const edm::ParameterSet &pset)
 
void produce (edm::StreamID, edm::Event &e, const edm::EventSetup &c) const override
 
- Public Member Functions inherited from edm::global::EDProducer<>
 EDProducer ()=default
 
 EDProducer (const EDProducer &)=delete
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginProcessBlocks () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndProcessBlocks () const final
 
bool hasAbilityToProduceInEndRuns () const final
 
EDProduceroperator= (const EDProducer &)=delete
 
bool wantsGlobalLuminosityBlocks () const final
 
bool wantsGlobalRuns () const final
 
bool wantsInputProcessBlocks () const final
 
bool wantsProcessBlocks () const final
 
bool wantsStreamLuminosityBlocks () const final
 
bool wantsStreamRuns () const final
 
- Public Member Functions inherited from edm::global::EDProducerBase
 EDProducerBase ()
 
ModuleDescription const & moduleDescription () const
 
 ~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 &&)=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 Attributes

static const int BXMAX = 2808
 

Private Attributes

const BlockFormatter::Config config_
 
edm::EDGetTokenT< EBDigiCollectionEBDigiToken_
 
edm::ESGetToken< EcalElectronicsMapping, EcalMappingRcdecalmappingToken_
 
edm::EDGetTokenT< EEDigiCollectionEEDigiToken_
 
edm::EDGetTokenT< EBSrFlagCollectionlabelEBSR_
 
edm::EDGetTokenT< EESrFlagCollectionlabelEESR_
 
edm::EDGetTokenT< EcalTrigPrimDigiCollectionlabelTT_
 
const std::vector< int32_t > listDCCId_
 
edm::EDPutTokenT< FEDRawDataCollectionputToken_
 

Additional Inherited Members

- Static Public Member Functions inherited from edm::global::EDProducerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 
- Protected Member Functions inherited from edm::ProducerBase
template<class ProductType >
BranchAliasSetterT< ProductType > produces ()
 declare what type of product will make and with which optional label More...
 
template<typename ProductType , BranchType B>
BranchAliasSetterT< ProductType > produces ()
 
template<typename ProductType , Transition B>
BranchAliasSetterT< ProductType > produces ()
 
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)
 
template<Transition B>
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 (std::string instanceName)
 
template<typename ProductType , BranchType B>
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
ProducesCollector producesCollector ()
 
- 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

Description: <one line="" class="" summary>="">

Implementation: <Notes on="" implementation>="">

Definition at line 55 of file EcalDigiToRaw.cc.

Member Typedef Documentation

◆ Word32

typedef unsigned int EcalDigiToRaw::Word32

Definition at line 62 of file EcalDigiToRaw.cc.

◆ Word64

typedef long long EcalDigiToRaw::Word64

Definition at line 61 of file EcalDigiToRaw.cc.

Constructor & Destructor Documentation

◆ EcalDigiToRaw()

EcalDigiToRaw::EcalDigiToRaw ( const edm::ParameterSet pset)

Definition at line 85 of file EcalDigiToRaw.cc.

86  : listDCCId_{iConfig.getUntrackedParameter<std::vector<int32_t> >("listDCCId")},
88  iConfig.getUntrackedParameter<bool>("debug"),
89  iConfig.getUntrackedParameter<bool>("DoBarrel"),
90  iConfig.getUntrackedParameter<bool>("DoEndCap"),
91  iConfig.getUntrackedParameter<bool>("WriteTCCBlock"),
92  iConfig.getUntrackedParameter<bool>("WriteSRFlags"),
93  iConfig.getUntrackedParameter<bool>("WriteTowerBlock")} {
94  auto label = iConfig.getParameter<string>("Label");
95  auto instanceNameEB = iConfig.getParameter<string>("InstanceEB");
96  auto instanceNameEE = iConfig.getParameter<string>("InstanceEE");
97 
98  edm::InputTag EBlabel = edm::InputTag(label, instanceNameEB);
99  edm::InputTag EElabel = edm::InputTag(label, instanceNameEE);
100 
101  EBDigiToken_ = consumes<EBDigiCollection>(EBlabel);
102  EEDigiToken_ = consumes<EEDigiCollection>(EElabel);
103 
104  labelTT_ = consumes<EcalTrigPrimDigiCollection>(iConfig.getParameter<edm::InputTag>("labelTT"));
105 
106  labelEBSR_ = consumes<EBSrFlagCollection>(iConfig.getParameter<edm::InputTag>("labelEBSRFlags"));
107  labelEESR_ = consumes<EESrFlagCollection>(iConfig.getParameter<edm::InputTag>("labelEESRFlags"));
108  ecalmappingToken_ = esConsumes<EcalElectronicsMapping, EcalMappingRcd>();
109 
110  putToken_ = produces<FEDRawDataCollection>();
111 }

References edm::ParameterSet::getUntrackedParameter().

Member Function Documentation

◆ produce()

void EcalDigiToRaw::produce ( edm::StreamID  ,
edm::Event e,
const edm::EventSetup c 
) const
overridevirtual

Implements edm::global::EDProducerBase.

Definition at line 118 of file EcalDigiToRaw.cc.

118  {
119  if (config_.debug_)
120  cout << "Enter in EcalDigiToRaw::produce ... " << endl;
121 
122  ESHandle<EcalElectronicsMapping> ecalmapping = iSetup.getHandle(ecalmappingToken_);
123  const EcalElectronicsMapping* TheMapping = ecalmapping.product();
124 
125  FEDRawDataCollection productRawData;
126 
128  int counter = iEvent.id().event();
129  params.counter_ = counter;
130  params.orbit_number_ = iEvent.orbitNumber();
131  params.bx_ = iEvent.bunchCrossing();
132  params.lv1_ = counter % (0x1 << 24);
133  params.runnumber_ = iEvent.id().run();
134 
135  BlockFormatter Headerblockformatter(config_, params);
136  TCCBlockFormatter TCCblockformatter(config_, params);
137  TowerBlockFormatter Towerblockformatter(config_, params);
138  SRBlockFormatter SRblockformatter(config_, params);
139 
140  Headerblockformatter.DigiToRaw(&productRawData);
141 
142  // --------- Now the Trigger Block part
143 
145 
146  Handle<EBSrFlagCollection> ebSrFlags;
147  Handle<EESrFlagCollection> eeSrFlags;
148 
149  if (config_.doTCC_) {
150  if (config_.debug_)
151  cout << "Creation of the TCC block " << endl;
152  // iEvent.getByType(ecalTrigPrim);
153  iEvent.getByToken(labelTT_, ecalTrigPrim);
154 
155  // loop on TP's and add one by one to the block
156  for (EcalTrigPrimDigiCollection::const_iterator it = ecalTrigPrim->begin(); it != ecalTrigPrim->end(); it++) {
157  const EcalTriggerPrimitiveDigi& trigprim = *it;
158  const EcalTrigTowerDetId& detid = it->id();
159 
160  if ((detid.subDet() == EcalBarrel) && (!config_.doBarrel_))
161  continue;
162  if ((detid.subDet() == EcalEndcap) && (!config_.doEndCap_))
163  continue;
164 
165  int iDCC = TheMapping->DCCid(detid);
166  int FEDid = FEDNumbering::MINECALFEDID + iDCC;
167 
168  FEDRawData& rawdata = productRawData.FEDData(FEDid);
169 
170  // adding the primitive to the block
171  TCCblockformatter.DigiToRaw(trigprim, rawdata, TheMapping);
172 
173  } // end loop on ecalTrigPrim
174 
175  } // endif doTCC
176 
177  if (config_.doSR_) {
178  if (config_.debug_)
179  cout << " Process the SR flags " << endl;
180 
181  if (config_.doBarrel_) {
182  // iEvent.getByType(ebSrFlags);
183  iEvent.getByToken(labelEBSR_, ebSrFlags);
184 
185  for (EBSrFlagCollection::const_iterator it = ebSrFlags->begin(); it != ebSrFlags->end(); it++) {
186  const EcalSrFlag& srflag = *it;
187  int flag = srflag.value();
188 
189  EcalTrigTowerDetId id = srflag.id();
190  int Dccid = TheMapping->DCCid(id);
191  int DCC_Channel = TheMapping->iTT(id);
192  int FEDid = FEDNumbering::MINECALFEDID + Dccid;
193  // if (Dccid == 10) cout << "Dcc " << Dccid << " DCC_Channel " << DCC_Channel << " flag " << flag << endl;
194  if (config_.debug_)
195  cout << "will process SRblockformatter_ for FEDid " << dec << FEDid << endl;
196  FEDRawData& rawdata = productRawData.FEDData(FEDid);
197  if (config_.debug_)
198  Headerblockformatter.print(rawdata);
199  SRblockformatter.DigiToRaw(Dccid, DCC_Channel, flag, rawdata);
200  }
201  } // end DoBarrel
202 
203  if (config_.doEndCap_) {
204  // iEvent.getByType(eeSrFlags);
205  iEvent.getByToken(labelEESR_, eeSrFlags);
206 
207  for (EESrFlagCollection::const_iterator it = eeSrFlags->begin(); it != eeSrFlags->end(); it++) {
208  const EcalSrFlag& srflag = *it;
209  int flag = srflag.value();
210  EcalScDetId id = srflag.id();
211  pair<int, int> ind = TheMapping->getDCCandSC(id);
212  int Dccid = ind.first;
213  int DCC_Channel = ind.second;
214 
215  int FEDid = FEDNumbering::MINECALFEDID + Dccid;
216  FEDRawData& rawdata = productRawData.FEDData(FEDid);
217  SRblockformatter.DigiToRaw(Dccid, DCC_Channel, flag, rawdata);
218  }
219  } // end doEndCap
220 
221  } // endif doSR
222 
223  // --------- Now the Tower Block part
224 
225  Handle<EBDigiCollection> ebDigis;
227 
228  if (config_.doTower_) {
229  if (config_.doBarrel_) {
230  if (config_.debug_)
231  cout << "Creation of the TowerBlock ... Barrel case " << endl;
232  iEvent.getByToken(EBDigiToken_, ebDigis);
233  for (EBDigiCollection::const_iterator it = ebDigis->begin(); it != ebDigis->end(); it++) {
234  const EBDataFrame& dataframe = *it;
235  const EBDetId& ebdetid = it->id();
236  int DCCid = TheMapping->DCCid(ebdetid);
237  int FEDid = FEDNumbering::MINECALFEDID + DCCid;
238  FEDRawData& rawdata = productRawData.FEDData(FEDid);
239  Towerblockformatter.DigiToRaw(dataframe, rawdata, TheMapping);
240  }
241  }
242 
243  if (config_.doEndCap_) {
244  if (config_.debug_)
245  cout << "Creation of the TowerBlock ... EndCap case " << endl;
246  iEvent.getByToken(EEDigiToken_, eeDigis);
247  for (EEDigiCollection::const_iterator it = eeDigis->begin(); it != eeDigis->end(); it++) {
248  const EEDataFrame& dataframe = *it;
249  const EEDetId& eedetid = it->id();
250  EcalElectronicsId elid = TheMapping->getElectronicsId(eedetid);
251  int DCCid = elid.dccId();
252  int FEDid = FEDNumbering::MINECALFEDID + DCCid;
253  FEDRawData& rawdata = productRawData.FEDData(FEDid);
254  Towerblockformatter.DigiToRaw(dataframe, rawdata, TheMapping);
255  }
256  }
257 
258  } // endif config_.doTower_
259 
260  // -------- Clean up things ...
261 
262  map<int, map<int, int> >& FEDorder = Towerblockformatter.GetFEDorder();
263 
264  Headerblockformatter.CleanUp(&productRawData, &FEDorder);
265 
266  /*
267  cout << "For FED 633 " << endl;
268  FEDRawData& rawdata = productRawData -> FEDData(633);
269  Headerblockformatter_ -> print(rawdata);
270 */
271 
272  // Headerblockformatter_ -> PrintSizes(productRawData.get());
273 
274  Towerblockformatter.EndEvent(&productRawData);
275 
276  iEvent.emplace(putToken_, std::move(productRawData));
277 
278  return;
279 }

References edm::SortedCollection< T, SORT >::begin(), edm::DataFrameContainer::begin(), BlockFormatter::CleanUp(), config_, counter, gather_cfg::cout, EcalElectronicsId::dccId(), EcalElectronicsMapping::DCCid(), BlockFormatter::Config::debug_, TauDecayModes::dec, SRBlockFormatter::DigiToRaw(), TowerBlockFormatter::DigiToRaw(), TCCBlockFormatter::DigiToRaw(), BlockFormatter::DigiToRaw(), BlockFormatter::Config::doBarrel_, BlockFormatter::Config::doEndCap_, BlockFormatter::Config::doSR_, BlockFormatter::Config::doTCC_, BlockFormatter::Config::doTower_, EBDigiToken_, EcalBarrel, EcalEndcap, ecalmappingToken_, SimL1EmulatorDM_cff::eeDigis, EEDigiToken_, edm::SortedCollection< T, SORT >::end(), edm::DataFrameContainer::end(), TowerBlockFormatter::EndEvent(), FEDRawDataCollection::FEDData(), RemoveAddSevLevel::flag, EcalElectronicsMapping::getDCCandSC(), EcalElectronicsMapping::getElectronicsId(), TowerBlockFormatter::GetFEDorder(), edm::EventSetup::getHandle(), EcalSrFlag::id(), iEvent, EcalElectronicsMapping::iTT(), labelEBSR_, labelEESR_, labelTT_, FEDNumbering::MINECALFEDID, eostools::move(), CalibrationSummaryClient_cfi::params, BlockFormatter::print(), edm::ESHandle< T >::product(), putToken_, EcalTrigTowerDetId::subDet(), and EcalSrFlag::value().

Member Data Documentation

◆ BXMAX

const int EcalDigiToRaw::BXMAX = 2808
static

Definition at line 64 of file EcalDigiToRaw.cc.

◆ config_

const BlockFormatter::Config EcalDigiToRaw::config_
private

Definition at line 79 of file EcalDigiToRaw.cc.

Referenced by produce().

◆ EBDigiToken_

edm::EDGetTokenT<EBDigiCollection> EcalDigiToRaw::EBDigiToken_
private

Definition at line 72 of file EcalDigiToRaw.cc.

Referenced by produce().

◆ ecalmappingToken_

edm::ESGetToken<EcalElectronicsMapping, EcalMappingRcd> EcalDigiToRaw::ecalmappingToken_
private

Definition at line 74 of file EcalDigiToRaw.cc.

Referenced by produce().

◆ EEDigiToken_

edm::EDGetTokenT<EEDigiCollection> EcalDigiToRaw::EEDigiToken_
private

Definition at line 73 of file EcalDigiToRaw.cc.

Referenced by produce().

◆ labelEBSR_

edm::EDGetTokenT<EBSrFlagCollection> EcalDigiToRaw::labelEBSR_
private

Definition at line 70 of file EcalDigiToRaw.cc.

Referenced by produce().

◆ labelEESR_

edm::EDGetTokenT<EESrFlagCollection> EcalDigiToRaw::labelEESR_
private

Definition at line 71 of file EcalDigiToRaw.cc.

Referenced by produce().

◆ labelTT_

edm::EDGetTokenT<EcalTrigPrimDigiCollection> EcalDigiToRaw::labelTT_
private

Definition at line 69 of file EcalDigiToRaw.cc.

Referenced by produce().

◆ listDCCId_

const std::vector<int32_t> EcalDigiToRaw::listDCCId_
private

Definition at line 77 of file EcalDigiToRaw.cc.

◆ putToken_

edm::EDPutTokenT<FEDRawDataCollection> EcalDigiToRaw::putToken_
private

Definition at line 75 of file EcalDigiToRaw.cc.

Referenced by produce().

edm::ESHandle::product
T const * product() const
Definition: ESHandle.h:86
EcalElectronicsMapping
Definition: EcalElectronicsMapping.h:28
counter
Definition: counter.py:1
FEDNumbering::MINECALFEDID
Definition: FEDNumbering.h:43
edm::SortedCollection::const_iterator
std::vector< T >::const_iterator const_iterator
Definition: SortedCollection.h:80
BlockFormatter::Config::doBarrel_
bool doBarrel_
Definition: BlockFormatter.h:22
edm::DataFrameContainer::const_iterator
boost::transform_iterator< IterHelp, boost::counting_iterator< int > > const_iterator
Definition: DataFrameContainer.h:61
CalibrationSummaryClient_cfi.params
params
Definition: CalibrationSummaryClient_cfi.py:14
EcalElectronicsMapping::iTT
int iTT(const EcalTrigTowerDetId &id) const
returns the index of a Trigger Tower within its TCC.
Definition: EcalElectronicsMapping.cc:102
FEDRawDataCollection
Definition: FEDRawDataCollection.h:18
EBDetId
Definition: EBDetId.h:17
EBDataFrame
Definition: EBDataFrame.h:11
BlockFormatter::Config::doTCC_
bool doTCC_
Definition: BlockFormatter.h:24
EcalDigiToRaw::labelEBSR_
edm::EDGetTokenT< EBSrFlagCollection > labelEBSR_
Definition: EcalDigiToRaw.cc:70
gather_cfg.cout
cout
Definition: gather_cfg.py:144
EcalSrFlag::value
int value() const
Definition: EcalSrFlag.h:44
HLT_FULL_cff.InputTag
InputTag
Definition: HLT_FULL_cff.py:89285
EcalDigiToRaw::EEDigiToken_
edm::EDGetTokenT< EEDigiCollection > EEDigiToken_
Definition: EcalDigiToRaw.cc:73
EcalDigiToRaw::EBDigiToken_
edm::EDGetTokenT< EBDigiCollection > EBDigiToken_
Definition: EcalDigiToRaw.cc:72
BlockFormatter::Params
Definition: BlockFormatter.h:28
EcalTrigTowerDetId
Definition: EcalTrigTowerDetId.h:14
EcalElectronicsId::dccId
int dccId() const
get the DCC (Ecal Local DCC value not global one) id
Definition: EcalElectronicsId.h:31
edm::Handle
Definition: AssociativeIterator.h:50
EcalBarrel
Definition: EcalSubdetector.h:10
EcalDigiToRaw::ecalmappingToken_
edm::ESGetToken< EcalElectronicsMapping, EcalMappingRcd > ecalmappingToken_
Definition: EcalDigiToRaw.cc:74
FEDRawData
Definition: FEDRawData.h:19
BlockFormatter
Definition: BlockFormatter.h:13
BlockFormatter::Config::doTower_
bool doTower_
Definition: BlockFormatter.h:26
TCCBlockFormatter
Definition: TCCBlockFormatter.h:19
edm::SortedCollection::begin
const_iterator begin() const
Definition: SortedCollection.h:262
EcalScDetId
Definition: EcalScDetId.h:24
edm::ESHandle< EcalElectronicsMapping >
EcalElectronicsMapping::getElectronicsId
EcalElectronicsId getElectronicsId(const DetId &id) const
Get the electronics id for this det id.
Definition: EcalElectronicsMapping.cc:324
EcalElectronicsId
Ecal readout channel identification [32:20] Unused (so far) [19:13] DCC id [12:6] tower [5:3] strip [...
Definition: EcalElectronicsId.h:18
FEDRawDataCollection::FEDData
const FEDRawData & FEDData(int fedid) const
retrieve data for fed
Definition: FEDRawDataCollection.cc:19
EEDetId
Definition: EEDetId.h:14
EcalEndcap
Definition: EcalSubdetector.h:10
EcalElectronicsMapping::getDCCandSC
std::pair< int, int > getDCCandSC(EcalScDetId id) const
Definition: EcalElectronicsMapping.cc:761
BlockFormatter::Config::doEndCap_
bool doEndCap_
Definition: BlockFormatter.h:23
EcalSrFlag::id
virtual const DetId & id() const =0
edm::SortedCollection::end
const_iterator end() const
Definition: SortedCollection.h:267
EcalSrFlag
Definition: EcalSrFlag.h:10
iEvent
int iEvent
Definition: GenABIO.cc:224
edm::DataFrameContainer::begin
const_iterator begin() const
The iterator returned can not safely be used across threads.
Definition: DataFrameContainer.h:149
TowerBlockFormatter
Definition: TowerBlockFormatter.h:19
EcalElectronicsMapping::DCCid
int DCCid(const EBDetId &id) const
returns the DCC of an EBDetId
Definition: EcalElectronicsMapping.cc:70
counter
static std::atomic< unsigned int > counter
Definition: SharedResourceNames.cc:18
EcalTrigTowerDetId::subDet
EcalSubdetector subDet() const
get the subDetector associated to the Trigger Tower
Definition: EcalTrigTowerDetId.h:33
SRBlockFormatter
Definition: SRBlockFormatter.h:13
EcalDigiToRaw::listDCCId_
const std::vector< int32_t > listDCCId_
Definition: EcalDigiToRaw.cc:77
eostools.move
def move(src, dest)
Definition: eostools.py:511
BlockFormatter::Config::doSR_
bool doSR_
Definition: BlockFormatter.h:25
EcalTriggerPrimitiveDigi
Definition: EcalTriggerPrimitiveDigi.h:16
BlockFormatter::Config::debug_
bool debug_
Definition: BlockFormatter.h:20
EcalDigiToRaw::config_
const BlockFormatter::Config config_
Definition: EcalDigiToRaw.cc:79
EcalDigiToRaw::putToken_
edm::EDPutTokenT< FEDRawDataCollection > putToken_
Definition: EcalDigiToRaw.cc:75
EEDataFrame
Definition: EEDataFrame.h:12
SimL1EmulatorDM_cff.eeDigis
eeDigis
Definition: SimL1EmulatorDM_cff.py:18
TauDecayModes.dec
dec
Definition: TauDecayModes.py:143
edm::DataFrameContainer::end
const_iterator end() const
Definition: DataFrameContainer.h:152
edm::InputTag
Definition: InputTag.h:15
label
const char * label
Definition: PFTauDecayModeTools.cc:11
EcalDigiToRaw::labelEESR_
edm::EDGetTokenT< EESrFlagCollection > labelEESR_
Definition: EcalDigiToRaw.cc:71
EcalDigiToRaw::labelTT_
edm::EDGetTokenT< EcalTrigPrimDigiCollection > labelTT_
Definition: EcalDigiToRaw.cc:69
RemoveAddSevLevel.flag
flag
Definition: RemoveAddSevLevel.py:116