CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Member Functions | Private Attributes
ESRawDataTask Class Reference

#include <ESRawDataTask.h>

Inheritance diagram for ESRawDataTask:
DQMOneEDAnalyzer< edm::LuminosityBlockCache< ESRawLSCache > > edm::one::EDProducer< edm::EndRunProducer, edm::one::WatchRuns, edm::Accumulator, Args... > edm::one::EDProducerBase edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

Public Member Functions

 ESRawDataTask (const edm::ParameterSet &ps)
 
 ~ESRawDataTask () override
 
- Public Member Functions inherited from DQMOneEDAnalyzer< edm::LuminosityBlockCache< ESRawLSCache > >
void accumulate (edm::Event const &event, edm::EventSetup const &setup) override
 
void beginRun (edm::Run const &run, edm::EventSetup const &setup) final
 
 DQMOneEDAnalyzer ()
 
void endRun (edm::Run const &, edm::EventSetup const &) final
 
void endRunProduce (edm::Run &run, edm::EventSetup const &setup) final
 
virtual bool getCanSaveByLumi ()
 
- Public Member Functions inherited from edm::one::EDProducer< edm::EndRunProducer, edm::one::WatchRuns, edm::Accumulator, Args... >
 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)
 

Protected Member Functions

void analyze (const edm::Event &e, const edm::EventSetup &c) override
 Analyze. More...
 
void bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
 Setup. More...
 
std::shared_ptr< ESRawLSCacheglobalBeginLuminosityBlock (const edm::LuminosityBlock &lumi, const edm::EventSetup &c) const override
 Begin Lumi. More...
 
void globalEndLuminosityBlock (const edm::LuminosityBlock &lumi, const edm::EventSetup &c) override
 End Lumi. More...
 
- Protected Member Functions inherited from DQMOneEDAnalyzer< edm::LuminosityBlockCache< ESRawLSCache > >
virtual void dqmBeginRun (edm::Run const &, edm::EventSetup const &)
 
virtual void dqmEndRun (edm::Run const &, edm::EventSetup const &)
 
- 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)
 

Private Attributes

edm::EDGetTokenT< ESRawDataCollectiondccCollections_
 
edm::EDGetTokenT< FEDRawDataCollectionFEDRawDataCollection_
 
int ievt_
 
MonitorElementmeBXDCCErrors_
 
MonitorElementmeBXDCCErrorsByLS_
 
MonitorElementmeBXDiff_
 
MonitorElementmeL1ADCCErrors_
 
MonitorElementmeL1ADCCErrorsByLS_
 
MonitorElementmeL1ADiff_
 
MonitorElementmeOrbitNumberDCCErrors_
 
MonitorElementmeOrbitNumberDCCErrorsByLS_
 
MonitorElementmeOrbitNumberDiff_
 
std::string prefixME_
 
int runNum_
 

Additional Inherited Members

- Public Types inherited from DQMOneEDAnalyzer< edm::LuminosityBlockCache< ESRawLSCache > >
typedef dqm::reco::DQMStore DQMStore
 
typedef dqm::reco::MonitorElement MonitorElement
 
- 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
 
- Static Public Member Functions inherited from edm::one::EDProducerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 
- Protected Attributes inherited from DQMOneEDAnalyzer< edm::LuminosityBlockCache< ESRawLSCache > >
edm::EDPutTokenT< DQMTokenrunToken_
 

Detailed Description

Definition at line 18 of file ESRawDataTask.h.

Constructor & Destructor Documentation

◆ ESRawDataTask()

ESRawDataTask::ESRawDataTask ( const edm::ParameterSet ps)

Definition at line 28 of file ESRawDataTask.cc.

References edm::ParameterSet::getParameter(), and edm::ParameterSet::getUntrackedParameter().

28  {
29  prefixME_ = ps.getUntrackedParameter<string>("prefixME", "");
30 
31  FEDRawDataCollection_ = consumes<FEDRawDataCollection>(ps.getParameter<InputTag>("FEDRawDataCollection"));
32  dccCollections_ = consumes<ESRawDataCollection>(ps.getParameter<InputTag>("ESDCCCollections"));
33 
34  ievt_ = 0;
35 }
T getParameter(std::string const &) const
Definition: ParameterSet.h:307
edm::EDGetTokenT< FEDRawDataCollection > FEDRawDataCollection_
Definition: ESRawDataTask.h:42
std::string prefixME_
Definition: ESRawDataTask.h:39
T getUntrackedParameter(std::string const &, T const &) const
edm::EDGetTokenT< ESRawDataCollection > dccCollections_
Definition: ESRawDataTask.h:41

◆ ~ESRawDataTask()

ESRawDataTask::~ESRawDataTask ( )
inlineoverride

Definition at line 21 of file ESRawDataTask.h.

21 {}

Member Function Documentation

◆ analyze()

void ESRawDataTask::analyze ( const edm::Event e,
const edm::EventSetup c 
)
overrideprotectedvirtual

Analyze.

Reimplemented from DQMOneEDAnalyzer< edm::LuminosityBlockCache< ESRawLSCache > >.

Definition at line 110 of file ESRawDataTask.cc.

References edm::SortedCollection< T, SORT >::begin(), FEDRawData::data(), ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::barrel::dcc(), MillePedeFileConverter_cfg::e, edm::SortedCollection< T, SORT >::end(), FEDRawDataCollection::FEDData(), ESDCCHeaderBlock::getBX(), ESDCCHeaderBlock::getLV1(), ESDCCHeaderBlock::getOrbitNumber(), RecoTauValidation_cfi::header, and FEDRawData::size().

110  {
111  ievt_++;
112  runNum_ = e.id().run();
113 
114  int gt_L1A = 0, gt_OrbitNumber = 0, gt_BX = 0;
115  int esDCC_L1A_MostFreqCounts = 0;
116  int esDCC_BX_MostFreqCounts = 0;
117  int esDCC_OrbitNumber_MostFreqCounts = 0;
118 
120  Handle<FEDRawDataCollection> allFedRawData;
121 
122  int gtFedDataSize = 0;
123 
124  if (e.getByToken(FEDRawDataCollection_, allFedRawData)) {
125  // GT FED data
126  const FEDRawData& gtFedData = allFedRawData->FEDData(812);
127 
128  gtFedDataSize = gtFedData.size() / sizeof(uint64_t);
129 
130  if (gtFedDataSize > 0) {
131  FEDHeader header(gtFedData.data());
132 
133  gt_L1A = header.lvl1ID();
134  gt_OrbitNumber = e.orbitNumber();
135  gt_BX = e.bunchCrossing();
136  } else {
137  map<int, int> esDCC_L1A_FreqMap;
138  map<int, int> esDCC_BX_FreqMap;
139  map<int, int> esDCC_OrbitNumber_FreqMap;
140 
141  if (e.getByToken(dccCollections_, dccs)) {
142  for (ESRawDataCollection::const_iterator dccItr = dccs->begin(); dccItr != dccs->end(); ++dccItr) {
143  const ESDCCHeaderBlock& esdcc = (*dccItr);
144 
145  esDCC_L1A_FreqMap[esdcc.getLV1()]++;
146  esDCC_BX_FreqMap[esdcc.getBX()]++;
147  esDCC_OrbitNumber_FreqMap[esdcc.getOrbitNumber()]++;
148 
149  if (esDCC_L1A_FreqMap[esdcc.getLV1()] > esDCC_L1A_MostFreqCounts) {
150  esDCC_L1A_MostFreqCounts = esDCC_L1A_FreqMap[esdcc.getLV1()];
151  gt_L1A = esdcc.getLV1();
152  }
153 
154  if (esDCC_BX_FreqMap[esdcc.getBX()] > esDCC_BX_MostFreqCounts) {
155  esDCC_BX_MostFreqCounts = esDCC_BX_FreqMap[esdcc.getBX()];
156  gt_BX = esdcc.getBX();
157  }
158 
159  if (esDCC_OrbitNumber_FreqMap[esdcc.getOrbitNumber()] > esDCC_OrbitNumber_MostFreqCounts) {
160  esDCC_OrbitNumber_MostFreqCounts = esDCC_OrbitNumber_FreqMap[esdcc.getOrbitNumber()];
161  gt_OrbitNumber = esdcc.getOrbitNumber();
162  }
163  }
164  } else {
165  LogWarning("ESRawDataTask") << "dccCollections not available";
166  }
167  }
168  } else {
169  LogWarning("ESRawDataTask") << "FEDRawDataCollection not available";
170  }
171 
172  // DCC
173  vector<int> fiberStatus;
174  if (e.getByToken(dccCollections_, dccs)) {
175  for (ESRawDataCollection::const_iterator dccItr = dccs->begin(); dccItr != dccs->end(); ++dccItr) {
176  const ESDCCHeaderBlock& dcc = (*dccItr);
177 
178  //if (dcc.getRunNumber() != runNum_) {
179  //meRunNumberErrors_->Fill(dcc.fedId());
180  //cout<<"Run # err : "<<dcc.getRunNumber()<<" "<<runNum_<<endl;
181  //}
182 
183  if (dcc.getLV1() != gt_L1A) {
184  meL1ADCCErrors_->Fill(dcc.fedId());
185  meL1ADCCErrorsByLS_->Fill(dcc.fedId());
186  Float_t l1a_diff = dcc.getLV1() - gt_L1A;
187  if (l1a_diff > 100)
188  l1a_diff = 100;
189  else if (l1a_diff < -100)
190  l1a_diff = -100;
191  meL1ADiff_->Fill(l1a_diff);
192  }
193 
194  if (dcc.getBX() != gt_BX) {
195  meBXDCCErrors_->Fill(dcc.fedId());
196  meBXDCCErrorsByLS_->Fill(dcc.fedId());
197  Float_t bx_diff = dcc.getBX() - gt_BX;
198  if (bx_diff > 100)
199  bx_diff = 100;
200  else if (bx_diff < -100)
201  bx_diff = -100;
202  meBXDiff_->Fill(bx_diff);
203  }
204  if (dcc.getOrbitNumber() != gt_OrbitNumber) {
205  meOrbitNumberDCCErrors_->Fill(dcc.fedId());
207  Float_t orbitnumber_diff = dcc.getOrbitNumber() - gt_OrbitNumber;
208  if (orbitnumber_diff > 100)
209  orbitnumber_diff = 100;
210  else if (orbitnumber_diff < -100)
211  orbitnumber_diff = -100;
212  meOrbitNumberDiff_->Fill(orbitnumber_diff);
213  }
214  }
215  }
216 }
MonitorElement * meOrbitNumberDiff_
Definition: ESRawDataTask.h:52
MonitorElement * meOrbitNumberDCCErrorsByLS_
Definition: ESRawDataTask.h:49
MonitorElement * meOrbitNumberDCCErrors_
Definition: ESRawDataTask.h:48
std::vector< T >::const_iterator const_iterator
edm::EDGetTokenT< FEDRawDataCollection > FEDRawDataCollection_
Definition: ESRawDataTask.h:42
size_t size() const
Lenght of the data buffer in bytes.
Definition: FEDRawData.h:48
int getOrbitNumber() const
MonitorElement * meL1ADCCErrorsByLS_
Definition: ESRawDataTask.h:45
MonitorElement * meL1ADCCErrors_
Definition: ESRawDataTask.h:44
void Fill(long long x)
MonitorElement * meBXDCCErrors_
Definition: ESRawDataTask.h:46
int getLV1() const
const_iterator begin() const
const FEDRawData & FEDData(int fedid) const
retrieve data for fed
const_iterator end() const
MonitorElement * meBXDCCErrorsByLS_
Definition: ESRawDataTask.h:47
edm::EDGetTokenT< ESRawDataCollection > dccCollections_
Definition: ESRawDataTask.h:41
unsigned long long uint64_t
Definition: Time.h:13
MonitorElement * meL1ADiff_
Definition: ESRawDataTask.h:50
MonitorElement * meBXDiff_
Definition: ESRawDataTask.h:51
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

◆ bookHistograms()

void ESRawDataTask::bookHistograms ( DQMStore::IBooker iBooker,
edm::Run const &  ,
edm::EventSetup const &   
)
overrideprotectedvirtual

Setup.

Implements DQMOneEDAnalyzer< edm::LuminosityBlockCache< ESRawLSCache > >.

Definition at line 51 of file ESRawDataTask.cc.

References dqm::implementation::IBooker::book1D(), timingPdfMaker::histo, dqm::impl::MonitorElement::setAxisTitle(), and dqm::implementation::NavigatorBase::setCurrentFolder().

51  {
52  char histo[200];
53 
54  iBooker.setCurrentFolder(prefixME_ + "/ESRawDataTask");
55 
56  //sprintf(histo, "ES run number errors");
57  //meRunNumberErrors_ = iBooker.book1D(histo, histo, 56, 519.5, 575.5);
58  //meRunNumberErrors_->setAxisTitle("ES FED", 1);
59  //meRunNumberErrors_->setAxisTitle("Num of Events", 2);
60 
61  sprintf(histo, "ES L1A DCC errors");
62  meL1ADCCErrors_ = iBooker.book1D(histo, histo, 56, 519.5, 575.5);
63  meL1ADCCErrors_->setAxisTitle("ES FED", 1);
64  meL1ADCCErrors_->setAxisTitle("Num of Events", 2);
65 
66  sprintf(histo, "ES BX DCC errors");
67  meBXDCCErrors_ = iBooker.book1D(histo, histo, 56, 519.5, 575.5);
68  meBXDCCErrors_->setAxisTitle("ES FED", 1);
69  meBXDCCErrors_->setAxisTitle("Num of Events", 2);
70 
71  sprintf(histo, "ES Orbit Number DCC errors");
72  meOrbitNumberDCCErrors_ = iBooker.book1D(histo, histo, 56, 519.5, 575.5);
74  meOrbitNumberDCCErrors_->setAxisTitle("Num of Events", 2);
75 
76  sprintf(histo, "Difference between ES and GT L1A");
77  meL1ADiff_ = iBooker.book1D(histo, histo, 201, -100.5, 100.5);
78  meL1ADiff_->setAxisTitle("ES - GT L1A", 1);
79  meL1ADiff_->setAxisTitle("Num of Events", 2);
80 
81  sprintf(histo, "Difference between ES and GT BX");
82  meBXDiff_ = iBooker.book1D(histo, histo, 201, -100.5, 100.5);
83  meBXDiff_->setAxisTitle("ES - GT BX", 1);
84  meBXDiff_->setAxisTitle("Num of Events", 2);
85 
86  sprintf(histo, "Difference between ES and GT Orbit Number");
87  meOrbitNumberDiff_ = iBooker.book1D(histo, histo, 201, -100.5, 100.5);
88  meOrbitNumberDiff_->setAxisTitle("ES - GT orbit number", 1);
89  meOrbitNumberDiff_->setAxisTitle("Num of Events", 2);
90 
91  // LS-based histos
92  iBooker.setCurrentFolder(prefixME_ + "/ByLumiSection");
93 
94  sprintf(histo, "ES L1A DCC errors");
95  meL1ADCCErrorsByLS_ = iBooker.book1D(histo, histo, 56, 519.5, 575.5);
96  meL1ADCCErrorsByLS_->setAxisTitle("ES FED", 1);
97  meL1ADCCErrorsByLS_->setAxisTitle("Num of Events", 2);
98 
99  sprintf(histo, "ES BX DCC errors");
100  meBXDCCErrorsByLS_ = iBooker.book1D(histo, histo, 56, 519.5, 575.5);
101  meBXDCCErrorsByLS_->setAxisTitle("ES FED", 1);
102  meBXDCCErrorsByLS_->setAxisTitle("Num of Events", 2);
103 
104  sprintf(histo, "ES Orbit Number DCC errors");
105  meOrbitNumberDCCErrorsByLS_ = iBooker.book1D(histo, histo, 56, 519.5, 575.5);
107  meOrbitNumberDCCErrorsByLS_->setAxisTitle("Num of Events", 2);
108 }
MonitorElement * meOrbitNumberDiff_
Definition: ESRawDataTask.h:52
virtual void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:36
MonitorElement * meOrbitNumberDCCErrorsByLS_
Definition: ESRawDataTask.h:49
MonitorElement * meOrbitNumberDCCErrors_
Definition: ESRawDataTask.h:48
std::string prefixME_
Definition: ESRawDataTask.h:39
MonitorElement * meL1ADCCErrorsByLS_
Definition: ESRawDataTask.h:45
MonitorElement * meL1ADCCErrors_
Definition: ESRawDataTask.h:44
MonitorElement * meBXDCCErrors_
Definition: ESRawDataTask.h:46
MonitorElement * meBXDCCErrorsByLS_
Definition: ESRawDataTask.h:47
MonitorElement * meL1ADiff_
Definition: ESRawDataTask.h:50
MonitorElement * meBXDiff_
Definition: ESRawDataTask.h:51
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
Definition: DQMStore.h:98
virtual void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)

◆ globalBeginLuminosityBlock()

std::shared_ptr< ESRawLSCache > ESRawDataTask::globalBeginLuminosityBlock ( const edm::LuminosityBlock lumi,
const edm::EventSetup c 
) const
overrideprotected

Begin Lumi.

Definition at line 37 of file ESRawDataTask.cc.

38  {
39  auto lumiCache = std::make_shared<ESRawLSCache>();
40  lumiCache->ievtLS_ = 0;
41 
45 
46  return lumiCache;
47 }
MonitorElement * meOrbitNumberDCCErrorsByLS_
Definition: ESRawDataTask.h:49
MonitorElement * meL1ADCCErrorsByLS_
Definition: ESRawDataTask.h:45
virtual void Reset()
Remove all data from the ME, keept the empty histogram with all its settings.
MonitorElement * meBXDCCErrorsByLS_
Definition: ESRawDataTask.h:47

◆ globalEndLuminosityBlock()

void ESRawDataTask::globalEndLuminosityBlock ( const edm::LuminosityBlock lumi,
const edm::EventSetup c 
)
overrideprotected

End Lumi.

Definition at line 49 of file ESRawDataTask.cc.

49 {}

Member Data Documentation

◆ dccCollections_

edm::EDGetTokenT<ESRawDataCollection> ESRawDataTask::dccCollections_
private

Definition at line 41 of file ESRawDataTask.h.

◆ FEDRawDataCollection_

edm::EDGetTokenT<FEDRawDataCollection> ESRawDataTask::FEDRawDataCollection_
private

Definition at line 42 of file ESRawDataTask.h.

◆ ievt_

int ESRawDataTask::ievt_
private

Definition at line 37 of file ESRawDataTask.h.

◆ meBXDCCErrors_

MonitorElement* ESRawDataTask::meBXDCCErrors_
private

Definition at line 46 of file ESRawDataTask.h.

◆ meBXDCCErrorsByLS_

MonitorElement* ESRawDataTask::meBXDCCErrorsByLS_
private

Definition at line 47 of file ESRawDataTask.h.

◆ meBXDiff_

MonitorElement* ESRawDataTask::meBXDiff_
private

Definition at line 51 of file ESRawDataTask.h.

◆ meL1ADCCErrors_

MonitorElement* ESRawDataTask::meL1ADCCErrors_
private

Definition at line 44 of file ESRawDataTask.h.

◆ meL1ADCCErrorsByLS_

MonitorElement* ESRawDataTask::meL1ADCCErrorsByLS_
private

Definition at line 45 of file ESRawDataTask.h.

◆ meL1ADiff_

MonitorElement* ESRawDataTask::meL1ADiff_
private

Definition at line 50 of file ESRawDataTask.h.

◆ meOrbitNumberDCCErrors_

MonitorElement* ESRawDataTask::meOrbitNumberDCCErrors_
private

Definition at line 48 of file ESRawDataTask.h.

◆ meOrbitNumberDCCErrorsByLS_

MonitorElement* ESRawDataTask::meOrbitNumberDCCErrorsByLS_
private

Definition at line 49 of file ESRawDataTask.h.

◆ meOrbitNumberDiff_

MonitorElement* ESRawDataTask::meOrbitNumberDiff_
private

Definition at line 52 of file ESRawDataTask.h.

◆ prefixME_

std::string ESRawDataTask::prefixME_
private

Definition at line 39 of file ESRawDataTask.h.

◆ runNum_

int ESRawDataTask::runNum_
private

Definition at line 54 of file ESRawDataTask.h.