CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Classes | Public Member Functions | Static Public Member Functions | Private Attributes
HcalRawToDigi Class Reference

#include <HcalRawToDigi.h>

Inheritance diagram for HcalRawToDigi:
edm::stream::EDProducer<> edm::stream::EDProducerBase edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

Classes

struct  Statistics
 

Public Member Functions

 HcalRawToDigi (const edm::ParameterSet &ps)
 
virtual void produce (edm::Event &, const edm::EventSetup &) override
 
virtual ~HcalRawToDigi ()
 
- Public Member Functions inherited from edm::stream::EDProducer<>
 EDProducer ()=default
 
- Public Member Functions inherited from edm::stream::EDProducerBase
 EDProducerBase ()
 
ModuleDescription const & moduleDescription () const
 
virtual ~EDProducerBase ()
 
- Public Member Functions inherited from edm::ProducerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 ProducerBase ()
 
void registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &)
 
std::function< void(BranchDescription
const &)> 
registrationCallback () const
 used by the fwk to register list of products More...
 
virtual ~ProducerBase ()
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
 EDConsumerBase ()
 
ProductHolderIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
std::vector
< ProductHolderIndexAndSkipBit >
const & 
itemsToGetFromEvent () const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
bool registeredToConsume (ProductHolderIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &)
 
virtual ~EDConsumerBase ()
 

Static Public Member Functions

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

Private Attributes

const bool complainEmptyData_
 
std::string electronicsMapLabel_
 
const int expectedOrbitMessageTime_
 
std::vector< int > fedUnpackList_
 
HcalDataFrameFilter filter_
 
const int firstFED_
 
const bool silent_
 
struct HcalRawToDigi::Statistics stats_
 
edm::EDGetTokenT
< FEDRawDataCollection
tok_data_
 
const bool unpackCalib_
 
HcalUnpacker unpacker_
 
const int unpackerMode_
 
const bool unpackTTP_
 
const bool unpackZDC_
 

Additional Inherited Members

- Public Types inherited from edm::stream::EDProducer<>
typedef CacheContexts< T...> CacheTypes
 
typedef CacheTypes::GlobalCache GlobalCache
 
typedef AbilityChecker< T...> HasAbility
 
typedef
CacheTypes::LuminosityBlockCache 
LuminosityBlockCache
 
typedef
LuminosityBlockContextT
< LuminosityBlockCache,
RunCache, GlobalCache
LuminosityBlockContext
 
typedef
CacheTypes::LuminosityBlockSummaryCache 
LuminosityBlockSummaryCache
 
typedef CacheTypes::RunCache RunCache
 
typedef RunContextT< RunCache,
GlobalCache
RunContext
 
typedef CacheTypes::RunSummaryCache RunSummaryCache
 
- Public Types inherited from edm::stream::EDProducerBase
typedef EDProducerAdaptorBase ModuleType
 
- Public Types inherited from edm::ProducerBase
typedef
ProductRegistryHelper::TypeLabelList 
TypeLabelList
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Protected Member Functions inherited from edm::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
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 ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
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)
 

Detailed Description

HcalRawToDigi is the EDProducer subclass which runs the Hcal Unpack algorithm.

Author
Jeremiah Mans
Version
1st Version June 10, 2005

Definition at line 29 of file HcalRawToDigi.h.

Constructor & Destructor Documentation

HcalRawToDigi::HcalRawToDigi ( const edm::ParameterSet ps)
explicit

Definition at line 14 of file HcalRawToDigi.cc.

References electronicsMapLabel_, expectedOrbitMessageTime_, fedUnpackList_, edm::ParameterSet::getParameter(), i, FEDNumbering::MAXHCALFEDID, FEDNumbering::MAXHCALuTCAFEDID, FEDNumbering::MINHCALFEDID, FEDNumbering::MINHCALuTCAFEDID, HcalUnpacker::setExpectedOrbitMessageTime(), HcalUnpacker::setMode(), contentValuesCheck::ss, stats_, AlCaHLTBitMon_QueryRunRegistry::string, tok_data_, unpackCalib_, unpacker_, unpackerMode_, unpackTTP_, and unpackZDC_.

14  :
15  unpacker_(conf.getUntrackedParameter<int>("HcalFirstFED",int(FEDNumbering::MINHCALFEDID)),conf.getParameter<int>("firstSample"),conf.getParameter<int>("lastSample")),
16  filter_(conf.getParameter<bool>("FilterDataQuality"),conf.getParameter<bool>("FilterDataQuality"),
17  false,
18  0, 0,
19  -1),
20  fedUnpackList_(conf.getUntrackedParameter<std::vector<int> >("FEDs", std::vector<int>())),
21  firstFED_(conf.getUntrackedParameter<int>("HcalFirstFED",FEDNumbering::MINHCALFEDID)),
22  unpackCalib_(conf.getUntrackedParameter<bool>("UnpackCalib",false)),
23  unpackZDC_(conf.getUntrackedParameter<bool>("UnpackZDC",false)),
24  unpackTTP_(conf.getUntrackedParameter<bool>("UnpackTTP",false)),
25  silent_(conf.getUntrackedParameter<bool>("silent",true)),
26  complainEmptyData_(conf.getUntrackedParameter<bool>("ComplainEmptyData",false)),
27  unpackerMode_(conf.getUntrackedParameter<int>("UnpackerMode",0)),
28  expectedOrbitMessageTime_(conf.getUntrackedParameter<int>("ExpectedOrbitMessageTime",-1))
29 {
30  electronicsMapLabel_ = conf.getParameter<std::string>("ElectronicsMap");
31  tok_data_ = consumes<FEDRawDataCollection>(conf.getParameter<edm::InputTag>("InputLabel"));
32 
33  if (fedUnpackList_.empty()) {
34  // VME range for back-compatibility
36  fedUnpackList_.push_back(i);
37 
38  // uTCA range
40  fedUnpackList_.push_back(i);
41  }
42 
45  std::ostringstream ss;
46  for (unsigned int i=0; i<fedUnpackList_.size(); i++)
47  ss << fedUnpackList_[i] << " ";
48  edm::LogInfo("HCAL") << "HcalRawToDigi will unpack FEDs ( " << ss.str() << ")";
49 
50  // products produced...
51  produces<HBHEDigiCollection>();
52  produces<HFDigiCollection>();
53  produces<HODigiCollection>();
54  produces<HcalTrigPrimDigiCollection>();
55  produces<HOTrigPrimDigiCollection>();
56  produces<HcalUnpackerReport>();
57  if (unpackCalib_)
58  produces<HcalCalibDigiCollection>();
59  if (unpackZDC_)
60  produces<ZDCDigiCollection>();
61  if (unpackTTP_)
62  produces<HcalTTPDigiCollection>();
63  produces<QIE10DigiCollection>();
64  produces<QIE11DigiCollection>();
65 
66  memset(&stats_,0,sizeof(stats_));
67 
68 }
int i
Definition: DBlmapReader.cc:9
HcalDataFrameFilter filter_
Definition: HcalRawToDigi.h:39
const bool unpackTTP_
Definition: HcalRawToDigi.h:42
const int expectedOrbitMessageTime_
Definition: HcalRawToDigi.h:44
const bool complainEmptyData_
Definition: HcalRawToDigi.h:43
std::string electronicsMapLabel_
Definition: HcalRawToDigi.h:45
struct HcalRawToDigi::Statistics stats_
const bool unpackZDC_
Definition: HcalRawToDigi.h:42
const bool unpackCalib_
Definition: HcalRawToDigi.h:42
const bool silent_
Definition: HcalRawToDigi.h:43
void setExpectedOrbitMessageTime(int time)
Definition: HcalUnpacker.h:43
void setMode(int mode)
Definition: HcalUnpacker.h:46
std::vector< int > fedUnpackList_
Definition: HcalRawToDigi.h:40
const int unpackerMode_
Definition: HcalRawToDigi.h:44
HcalUnpacker unpacker_
Definition: HcalRawToDigi.h:38
const int firstFED_
Definition: HcalRawToDigi.h:41
edm::EDGetTokenT< FEDRawDataCollection > tok_data_
Definition: HcalRawToDigi.h:37
HcalRawToDigi::~HcalRawToDigi ( )
virtual

Definition at line 71 of file HcalRawToDigi.cc.

71 { }

Member Function Documentation

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

Definition at line 73 of file HcalRawToDigi.cc.

References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), edm::ParameterSetDescription::addUntracked(), HLT_25ns10e33_v2_cff::InputTag, FEDNumbering::MINHCALFEDID, and AlCaHLTBitMon_QueryRunRegistry::string.

73  {
75  desc.addUntracked<int>("HcalFirstFED",int(FEDNumbering::MINHCALFEDID));
76  desc.add<int>("firstSample",0);
77  desc.add<int>("lastSample",9);
78  desc.add<bool>("FilterDataQuality",true);
79  desc.addUntracked<std::vector<int>>("FEDs", std::vector<int>());
80  desc.addUntracked<bool>("UnpackZDC",true);
81  desc.addUntracked<bool>("UnpackCalib",true);
82  desc.addUntracked<bool>("UnpackTTP",true);
83  desc.addUntracked<bool>("silent",true);
84  desc.addUntracked<bool>("ComplainEmptyData",false);
85  desc.addUntracked<int>("UnpackerMode",0);
86  desc.addUntracked<int>("ExpectedOrbitMessageTime",-1);
87  desc.add<edm::InputTag>("InputLabel",edm::InputTag("rawDataCollector"));
88  desc.add<std::string>("ElectronicsMap","");
89  descriptions.add("hcalRawToDigi",desc);
90 }
ParameterDescriptionBase * addUntracked(U const &iLabel, T const &value)
ParameterDescriptionBase * add(U const &iLabel, T const &value)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
void HcalRawToDigi::produce ( edm::Event e,
const edm::EventSetup es 
)
overridevirtual

calib

zdc

Implements edm::stream::EDProducerBase.

Definition at line 94 of file HcalRawToDigi.cc.

References HcalDataFrameFilter::active(), HcalRawToDigi::Statistics::ave_calib, HcalRawToDigi::Statistics::ave_hbhe, HcalRawToDigi::Statistics::ave_hf, HcalRawToDigi::Statistics::ave_ho, HcalRawToDigi::Statistics::ave_tp, HcalRawToDigi::Statistics::ave_tpho, HcalUnpacker::Collections::calibCont, complainEmptyData_, electronicsMapLabel_, fedUnpackList_, HcalDataFrameFilter::filter(), filter_, edm::EventSetup::get(), edm::Event::getByToken(), HcalUnpacker::Collections::hbheCont, AnalysisDataFormats_SUSYBSMObjects::hc, HcalUnpacker::Collections::hfCont, HcalUnpacker::Collections::hoCont, i, bookConverter::max, HcalRawToDigi::Statistics::max_calib, HcalRawToDigi::Statistics::max_hbhe, HcalRawToDigi::Statistics::max_hf, HcalRawToDigi::Statistics::max_ho, HcalRawToDigi::Statistics::max_tp, HcalRawToDigi::Statistics::max_tpho, HcalRawToDigi::Statistics::n, parseEventContent::prod, edm::ESHandle< class >::product(), edm::Event::put(), HcalUnpacker::Collections::qie10, HcalUnpacker::Collections::qie11, zeeHLT_cff::report, edm::second(), silent_, FEDRawData::size(), stats_, edm::SortedCollection< T, SORT >::swap(), tok_data_, HcalUnpacker::Collections::tpCont, HcalUnpacker::Collections::tphoCont, HcalUnpacker::Collections::ttp, HcalUnpacker::unpack(), unpackCalib_, unpacker_, unpackTTP_, unpackZDC_, cms::Exception::what(), and HcalUnpacker::Collections::zdcCont.

Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().

95 {
96  // Step A: Get Inputs
98  e.getByToken(tok_data_,rawraw);
99  // get the mapping
101  es.get<HcalDbRecord>().get( pSetup );
104  const HcalElectronicsMap* readoutMap = item.product();
105 
106  // Step B: Create empty output : three vectors for three classes...
107  std::vector<HBHEDataFrame> hbhe;
108  std::vector<HODataFrame> ho;
109  std::vector<HFDataFrame> hf;
110  std::vector<HcalTriggerPrimitiveDigi> htp;
111  std::vector<HcalCalibDataFrame> hc;
112  std::vector<ZDCDataFrame> zdc;
113  std::vector<HcalTTPDigi> ttp;
114  std::vector<HOTriggerPrimitiveDigi> hotp;
115  std::auto_ptr<HcalUnpackerReport> report(new HcalUnpackerReport);
116 
117  // Heuristics: use ave+(max-ave)/8
118  if (stats_.max_hbhe>0) hbhe.reserve(stats_.ave_hbhe+(stats_.max_hbhe-stats_.ave_hbhe)/8);
119  if (stats_.max_ho>0) ho.reserve(stats_.ave_ho+(stats_.max_ho-stats_.ave_ho)/8);
120  if (stats_.max_hf>0) hf.reserve(stats_.ave_hf+(stats_.max_hf-stats_.ave_hf)/8);
122  if (stats_.max_tp>0) htp.reserve(stats_.ave_tp+(stats_.max_tp-stats_.ave_tp)/8);
123  if (stats_.max_tpho>0) hotp.reserve(stats_.ave_tpho+(stats_.max_tpho-stats_.ave_tpho)/8);
124 
125  if (unpackZDC_) zdc.reserve(24);
126 
127 
129  colls.hbheCont=&hbhe;
130  colls.hoCont=&ho;
131  colls.hfCont=&hf;
132  colls.tpCont=&htp;
133  colls.tphoCont=&hotp;
134  colls.calibCont=&hc;
135  colls.zdcCont=&zdc;
136  if (unpackTTP_) colls.ttp=&ttp;
137 
138  // Step C: unpack all requested FEDs
139  for (std::vector<int>::const_iterator i=fedUnpackList_.begin(); i!=fedUnpackList_.end(); i++) {
140  const FEDRawData& fed = rawraw->FEDData(*i);
141  if (fed.size()==0) {
142  if (complainEmptyData_) {
143  if (!silent_) edm::LogWarning("EmptyData") << "No data for FED " << *i;
144  report->addError(*i);
145  }
146  } else if (fed.size()<8*3) {
147  if (!silent_) edm::LogWarning("EmptyData") << "Tiny data " << fed.size() << " for FED " << *i;
148  report->addError(*i);
149  } else {
150  try {
151  unpacker_.unpack(fed,*readoutMap,colls, *report,silent_);
152  report->addUnpacked(*i);
153  } catch (cms::Exception& e) {
154  if (!silent_) edm::LogWarning("Unpacking error") << e.what();
155  report->addError(*i);
156  } catch (...) {
157  if (!silent_) edm::LogWarning("Unpacking exception");
158  report->addError(*i);
159  }
160  }
161  }
162 
163 
164  // gather statistics
165  stats_.max_hbhe=std::max(stats_.max_hbhe,(int)hbhe.size());
166  stats_.ave_hbhe=(stats_.ave_hbhe*stats_.n+hbhe.size())/(stats_.n+1);
167  stats_.max_ho=std::max(stats_.max_ho,(int)ho.size());
168  stats_.ave_ho=(stats_.ave_ho*stats_.n+ho.size())/(stats_.n+1);
169  stats_.max_hf=std::max(stats_.max_hf,(int)hf.size());
170  stats_.ave_hf=(stats_.ave_hf*stats_.n+hf.size())/(stats_.n+1);
171  stats_.max_tp=std::max(stats_.max_tp,(int)htp.size());
172  stats_.ave_tp=(stats_.ave_tp*stats_.n+htp.size())/(stats_.n+1);
173  stats_.max_tpho=std::max(stats_.max_tpho,(int)hotp.size());
174  stats_.ave_tpho=(stats_.ave_tpho*stats_.n+hotp.size())/(stats_.n+1);
175  stats_.max_calib=std::max(stats_.max_calib,(int)hc.size());
176  stats_.ave_calib=(stats_.ave_calib*stats_.n+hc.size())/(stats_.n+1);
177 
178 
179  stats_.n++;
180 
181  // check HF duplication
182  std::unordered_set<uint32_t> cacheForHFdup;
183  unsigned int cntHFdup = 0;
184  for( auto & hf_digi : hf ){
185  if( ! cacheForHFdup.insert(hf_digi.id().rawId()).second ) cntHFdup++;
186  }
187  if( cntHFdup ) edm::LogError("HcalRawToDigi") << "Duplicated HF digis found for "<<cntHFdup<<" times"<<std::endl;
188 
189  // Step B: encapsulate vectors in actual collections
190  std::auto_ptr<HBHEDigiCollection> hbhe_prod(new HBHEDigiCollection());
191  std::auto_ptr<HFDigiCollection> hf_prod(new HFDigiCollection());
192  std::auto_ptr<HODigiCollection> ho_prod(new HODigiCollection());
193  std::auto_ptr<HcalTrigPrimDigiCollection> htp_prod(new HcalTrigPrimDigiCollection());
194  std::auto_ptr<HOTrigPrimDigiCollection> hotp_prod(new HOTrigPrimDigiCollection());
195  if (colls.qie10 == 0) {
196  colls.qie10 = new QIE10DigiCollection();
197  }
198  std::auto_ptr<QIE10DigiCollection> qie10_prod(colls.qie10);
199  if (colls.qie11 == 0) {
200  colls.qie11 = new QIE11DigiCollection();
201  }
202  std::auto_ptr<QIE11DigiCollection> qie11_prod(colls.qie11);
203 
204  hbhe_prod->swap_contents(hbhe);
205  if( !cntHFdup ) hf_prod->swap_contents(hf);
206  ho_prod->swap_contents(ho);
207  htp_prod->swap_contents(htp);
208  hotp_prod->swap_contents(hotp);
209 
210  // Step C2: filter FEDs, if required
211  if (filter_.active()) {
212  HBHEDigiCollection filtered_hbhe=filter_.filter(*hbhe_prod,*report);
213  HODigiCollection filtered_ho=filter_.filter(*ho_prod,*report);
214  HFDigiCollection filtered_hf=filter_.filter(*hf_prod,*report);
215 
216  hbhe_prod->swap(filtered_hbhe);
217  ho_prod->swap(filtered_ho);
218  hf_prod->swap(filtered_hf);
219  }
220 
221 
222  // Step D: Put outputs into event
223  // just until the sorting is proven
224  hbhe_prod->sort();
225  ho_prod->sort();
226  hf_prod->sort();
227  htp_prod->sort();
228  hotp_prod->sort();
229  qie10_prod->sort();
230  qie11_prod->sort();
231 
232  e.put(hbhe_prod);
233  e.put(ho_prod);
234  e.put(hf_prod);
235  e.put(htp_prod);
236  e.put(hotp_prod);
237  e.put(qie10_prod);
238  e.put(qie11_prod);
239 
241  if (unpackCalib_) {
242  std::auto_ptr<HcalCalibDigiCollection> hc_prod(new HcalCalibDigiCollection());
243  hc_prod->swap_contents(hc);
244 
245  if (filter_.active()) {
246  HcalCalibDigiCollection filtered_calib=filter_.filter(*hc_prod,*report);
247  hc_prod->swap(filtered_calib);
248  }
249 
250  hc_prod->sort();
251  e.put(hc_prod);
252  }
253 
255  if (unpackZDC_) {
256  std::auto_ptr<ZDCDigiCollection> prod(new ZDCDigiCollection());
257  prod->swap_contents(zdc);
258 
259  if (filter_.active()) {
260  ZDCDigiCollection filtered_zdc=filter_.filter(*prod,*report);
261  prod->swap(filtered_zdc);
262  }
263 
264  prod->sort();
265  e.put(prod);
266  }
267 
268  if (unpackTTP_) {
269  std::auto_ptr<HcalTTPDigiCollection> prod(new HcalTTPDigiCollection());
270  prod->swap_contents(ttp);
271 
272  prod->sort();
273  e.put(prod);
274  }
275  e.put(report);
276 
277 
278 }
virtual char const * what() const
Definition: Exception.cc:141
int i
Definition: DBlmapReader.cc:9
HcalDataFrameFilter filter_
Definition: HcalRawToDigi.h:39
std::vector< HcalTTPDigi > * ttp
Definition: HcalUnpacker.h:33
edm::SortedCollection< HcalTriggerPrimitiveDigi > HcalTrigPrimDigiCollection
const bool unpackTTP_
Definition: HcalRawToDigi.h:42
std::vector< HFDataFrame > * hfCont
Definition: HcalUnpacker.h:28
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:462
void swap(SortedCollection &other)
std::vector< HBHEDataFrame > * hbheCont
Definition: HcalUnpacker.h:26
std::vector< HOTriggerPrimitiveDigi > * tphoCont
Definition: HcalUnpacker.h:32
edm::SortedCollection< HOTriggerPrimitiveDigi > HOTrigPrimDigiCollection
size_t size() const
Lenght of the data buffer in bytes.
Definition: FEDRawData.h:47
edm::SortedCollection< ZDCDataFrame > ZDCDigiCollection
HcalDataFrameContainer< QIE10DataFrame > QIE10DigiCollection
U second(std::pair< T, U > const &p)
tuple report
Definition: zeeHLT_cff.py:9
edm::SortedCollection< HODataFrame > HODigiCollection
const bool complainEmptyData_
Definition: HcalRawToDigi.h:43
std::string electronicsMapLabel_
Definition: HcalRawToDigi.h:45
std::vector< HcalTriggerPrimitiveDigi > * tpCont
Definition: HcalUnpacker.h:31
struct HcalRawToDigi::Statistics stats_
const bool unpackZDC_
Definition: HcalRawToDigi.h:42
const bool unpackCalib_
Definition: HcalRawToDigi.h:42
const bool silent_
Definition: HcalRawToDigi.h:43
HcalDataFrameContainer< QIE11DataFrame > QIE11DigiCollection
void unpack(const FEDRawData &raw, const HcalElectronicsMap &emap, std::vector< HcalHistogramDigi > &histoDigis)
edm::SortedCollection< HcalCalibDataFrame > HcalCalibDigiCollection
std::vector< HcalCalibDataFrame > * calibCont
Definition: HcalUnpacker.h:29
std::vector< int > fedUnpackList_
Definition: HcalRawToDigi.h:40
const T & get() const
Definition: EventSetup.h:56
T const * product() const
Definition: ESHandle.h:86
bool active() const
whether any filters are on
std::vector< HODataFrame > * hoCont
Definition: HcalUnpacker.h:27
QIE11DigiCollection * qie11
Definition: HcalUnpacker.h:35
HBHEDigiCollection filter(const HBHEDigiCollection &incol, HcalUnpackerReport &r)
filter HB/HE data frames
HcalUnpacker unpacker_
Definition: HcalRawToDigi.h:38
edm::SortedCollection< HcalTTPDigi > HcalTTPDigiCollection
susybsm::HSCParticleCollection hc
Definition: classes.h:25
edm::SortedCollection< HFDataFrame > HFDigiCollection
QIE10DigiCollection * qie10
Definition: HcalUnpacker.h:34
std::vector< ZDCDataFrame > * zdcCont
Definition: HcalUnpacker.h:30
edm::EDGetTokenT< FEDRawDataCollection > tok_data_
Definition: HcalRawToDigi.h:37
edm::SortedCollection< HBHEDataFrame > HBHEDigiCollection

Member Data Documentation

const bool HcalRawToDigi::complainEmptyData_
private

Definition at line 43 of file HcalRawToDigi.h.

Referenced by produce().

std::string HcalRawToDigi::electronicsMapLabel_
private

Definition at line 45 of file HcalRawToDigi.h.

Referenced by HcalRawToDigi(), and produce().

const int HcalRawToDigi::expectedOrbitMessageTime_
private

Definition at line 44 of file HcalRawToDigi.h.

Referenced by HcalRawToDigi().

std::vector<int> HcalRawToDigi::fedUnpackList_
private

Definition at line 40 of file HcalRawToDigi.h.

Referenced by HcalRawToDigi(), and produce().

HcalDataFrameFilter HcalRawToDigi::filter_
private

Definition at line 39 of file HcalRawToDigi.h.

Referenced by produce().

const int HcalRawToDigi::firstFED_
private

Definition at line 41 of file HcalRawToDigi.h.

const bool HcalRawToDigi::silent_
private

Definition at line 43 of file HcalRawToDigi.h.

Referenced by produce().

struct HcalRawToDigi::Statistics HcalRawToDigi::stats_
private

Referenced by HcalRawToDigi(), and produce().

edm::EDGetTokenT<FEDRawDataCollection> HcalRawToDigi::tok_data_
private

Definition at line 37 of file HcalRawToDigi.h.

Referenced by HcalRawToDigi(), and produce().

const bool HcalRawToDigi::unpackCalib_
private

Definition at line 42 of file HcalRawToDigi.h.

Referenced by HcalRawToDigi(), and produce().

HcalUnpacker HcalRawToDigi::unpacker_
private

Definition at line 38 of file HcalRawToDigi.h.

Referenced by HcalRawToDigi(), and produce().

const int HcalRawToDigi::unpackerMode_
private

Definition at line 44 of file HcalRawToDigi.h.

Referenced by HcalRawToDigi().

const bool HcalRawToDigi::unpackTTP_
private

Definition at line 42 of file HcalRawToDigi.h.

Referenced by HcalRawToDigi(), and produce().

const bool HcalRawToDigi::unpackZDC_
private

Definition at line 42 of file HcalRawToDigi.h.

Referenced by HcalRawToDigi(), and produce().