CMS 3D CMS Logo

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

#include <DPGAnalysis/SiStripTools/plugins/APVCyclePhaseProducerFromL1TS.cc>

Inheritance diagram for APVCyclePhaseProducerFromL1TS:
edm::EDProducer edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

Public Member Functions

 APVCyclePhaseProducerFromL1TS (const edm::ParameterSet &)
 
 ~APVCyclePhaseProducerFromL1TS ()
 
- Public Member Functions inherited from edm::EDProducer
 EDProducer ()
 
ModuleDescription const & moduleDescription () const
 
virtual ~EDProducer ()
 
- Public Member Functions inherited from edm::ProducerBase
 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 (const std::string &iProcessName, std::vector< const char * > &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 ()
 

Private Member Functions

virtual void beginRun (const edm::Run &, const edm::EventSetup &) override
 
bool isBadRun (const unsigned int) const
 
void printConfiguration (std::stringstream &ss) const
 
virtual void produce (edm::Event &, const edm::EventSetup &) override
 

Private Attributes

std::vector< std::string > _defpartnames
 
std::vector< int > _defphases
 
TH1F ** _hdlec0lresync
 
TH1F ** _hdlresynclHR
 
TH1F ** _hlEC0
 
TH1F ** _hlHR
 
TH1F ** _hlOC0
 
TH1F ** _hlresync
 
TH1F ** _hlstart
 
TH1F ** _hlTE
 
TH1F ** _hsize
 
edm::EDGetTokenT
< Level1TriggerScalersCollection
_l1tscollectionToken
 
long long _lastEventCounter0
 
long long _lastHardReset
 
long long _lastOrbitCounter0
 
long long _lastResync
 
long long _lastStart
 
long long _lastTestEnable
 
int _magicOffset
 
bool _useEC0
 
const bool _wantHistos
 
bool m_badRun
 
std::vector< std::pair
< unsigned int, unsigned int > > 
m_badruns
 
edm::ESWatcher
< SiStripConfObjectRcd
m_eswatcher
 
const bool m_ignoreDB
 
const unsigned int m_LSfrac
 
const unsigned int m_maxLS
 
const std::string m_rcdLabel
 
RunHistogramManager m_rhm
 

Additional Inherited Members

- Public Types inherited from edm::EDProducer
typedef EDProducer ModuleType
 
- Public Types inherited from edm::ProducerBase
typedef
ProductRegistryHelper::TypeLabelList 
TypeLabelList
 
- Static Public Member Functions inherited from edm::EDProducer
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 
- Protected Member Functions inherited from edm::ProducerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
- 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

Description: EDproducer for APVCyclePhaseCollection which uses the configuration file to assign a phase to the run

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

Definition at line 63 of file APVCyclePhaseProducerFromL1TS.cc.

Constructor & Destructor Documentation

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

Definition at line 127 of file APVCyclePhaseProducerFromL1TS.cc.

References _hdlec0lresync, _hdlresynclHR, _hlEC0, _hlHR, _hlOC0, _hlresync, _hlstart, _hlTE, _hsize, _wantHistos, m_badruns, m_LSfrac, m_maxLS, m_rhm, RunHistogramManager::makeTH1F(), printConfiguration(), and contentValuesCheck::ss.

127  :
128  m_eswatcher(),
129  _l1tscollectionToken(consumes<Level1TriggerScalersCollection>(iConfig.getParameter<edm::InputTag>("l1TSCollection"))),
130  m_ignoreDB(iConfig.getUntrackedParameter<bool>("ignoreDB",false)),
131  m_rcdLabel(iConfig.getUntrackedParameter<std::string>("recordLabel","apvphaseoffsets")),
132  _defpartnames(iConfig.getParameter<std::vector<std::string> >("defaultPartitionNames")),
133  _defphases(iConfig.getParameter<std::vector<int> >("defaultPhases")),
134  _wantHistos(iConfig.getUntrackedParameter<bool>("wantHistos",false)),
135  _useEC0(iConfig.getUntrackedParameter<bool>("useEC0",false)),
136  _magicOffset(iConfig.getUntrackedParameter<int>("magicOffset",8)),
137  m_badRun(false),
138  m_maxLS(iConfig.getUntrackedParameter<unsigned int>("maxLSBeforeRebin",250)),
139  m_LSfrac(iConfig.getUntrackedParameter<unsigned int>("startingLSFraction",16)),
142  m_badruns(),
145 {
146 
147  std::stringstream ss;
148  printConfiguration(ss);
149  edm::LogInfo("ConfigurationAtConstruction") << ss.str();
150 
151 
152  produces<APVCyclePhaseCollection,edm::InEvent>();
153 
154  m_badruns.push_back(std::pair<unsigned int, unsigned int>(0,131767));
155  m_badruns.push_back(std::pair<unsigned int, unsigned int>(193150,193733));
156 
157  //now do what ever other initialization is needed
158 
159  if(_wantHistos) {
160  _hsize = m_rhm.makeTH1F("size","Level1TriggerScalers Collection size",20,-0.5,19.5);
161 
162  _hlresync = m_rhm.makeTH1F("lresync","Orbit of last resync",m_LSfrac*m_maxLS,0,m_maxLS*262144);
163  _hlOC0 = m_rhm.makeTH1F("lOC0","Orbit of last OC0",m_LSfrac*m_maxLS,0,m_maxLS*262144);
164  _hlTE = m_rhm.makeTH1F("lTE","Orbit of last TestEnable",m_LSfrac*m_maxLS,0,m_maxLS*262144);
165  _hlstart = m_rhm.makeTH1F("lstart","Orbit of last Start",m_LSfrac*m_maxLS,0,m_maxLS*262144);
166  _hlEC0 = m_rhm.makeTH1F("lEC0","Orbit of last EC0",m_LSfrac*m_maxLS,0,m_maxLS*262144);
167  _hlHR = m_rhm.makeTH1F("lHR","Orbit of last HardReset",m_LSfrac*m_maxLS,0,m_maxLS*262144);
168  _hdlec0lresync = m_rhm.makeTH1F("dlec0lresync","Orbit difference EC0-Resync",4000,-1999.5,2000.5);
169  _hdlresynclHR = m_rhm.makeTH1F("dlresynclHR","Orbit difference Resync-HR",4000,-1999.5,2000.5);
170 
171  }
172 
173 
174 }
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
edm::ESWatcher< SiStripConfObjectRcd > m_eswatcher
TH1F ** makeTH1F(const char *name, const char *title, const unsigned int nbinx, const double xmin, const double xmax)
ConsumesCollector consumesCollector()
Use a ConsumesCollector to gather consumes information from helper functions.
void printConfiguration(std::stringstream &ss) const
std::vector< std::pair< unsigned int, unsigned int > > m_badruns
edm::EDGetTokenT< Level1TriggerScalersCollection > _l1tscollectionToken
APVCyclePhaseProducerFromL1TS::~APVCyclePhaseProducerFromL1TS ( )

Definition at line 177 of file APVCyclePhaseProducerFromL1TS.cc.

178 {
179 
180  // do anything here that needs to be done at desctruction time
181  // (e.g. close files, deallocate resources etc.)
182 
183 }

Member Function Documentation

void APVCyclePhaseProducerFromL1TS::beginRun ( const edm::Run iRun,
const edm::EventSetup iSetup 
)
overrideprivatevirtual

Reimplemented from edm::EDProducer.

Definition at line 192 of file APVCyclePhaseProducerFromL1TS.cc.

References _defpartnames, _defphases, _hdlec0lresync, _hdlresynclHR, _hlEC0, _hlHR, _hlOC0, _hlresync, _hlstart, _hlTE, _magicOffset, _useEC0, _wantHistos, RunHistogramManager::beginRun(), edm::ESWatcher< T >::check(), edm::EventSetup::get(), isBadRun(), LogDebug, m_badRun, m_eswatcher, m_ignoreDB, m_rcdLabel, m_rhm, printConfiguration(), edm::RunBase::run(), contentValuesCheck::ss, and edmLumisInFiles::summary.

194 {
195 
196  // update the parameters from DB
197 
198  if(!m_ignoreDB && m_eswatcher.check(iSetup)) {
200  iSetup.get<SiStripConfObjectRcd>().get(m_rcdLabel,confObj);
201 
202  std::stringstream summary;
203  confObj->printDebug(summary);
204  LogDebug("SiStripConfObjectSummary") << summary.str();
205 
206  _defpartnames = confObj->get<std::vector<std::string> >("defaultPartitionNames");
207  _defphases = confObj->get<std::vector<int> >("defaultPhases");
208  _useEC0 = confObj->get<bool>("useEC0");
209  m_badRun = confObj->get<bool>("badRun");
210  _magicOffset = confObj->get<int>("magicOffset");
211 
212  std::stringstream ss;
213  printConfiguration(ss);
214  edm::LogInfo("UpdatedConfiguration") << ss.str();
215 
216 
217  }
218 
219  if(_wantHistos) {
220 
221  m_rhm.beginRun(iRun);
222 
223  if(_hlresync && *_hlresync) {
224  (*_hlresync)->GetXaxis()->SetTitle("Orbit"); (*_hlresync)->GetYaxis()->SetTitle("Events");
225  (*_hlresync)->SetCanExtend(TH1::kXaxis);
226  }
227 
228  if(_hlOC0 && *_hlOC0) {
229  (*_hlOC0)->GetXaxis()->SetTitle("Orbit"); (*_hlOC0)->GetYaxis()->SetTitle("Events");
230  (*_hlOC0)->SetCanExtend(TH1::kXaxis);
231  }
232 
233  if(_hlTE && *_hlTE) {
234  (*_hlTE)->GetXaxis()->SetTitle("Orbit"); (*_hlTE)->GetYaxis()->SetTitle("Events");
235  (*_hlTE)->SetCanExtend(TH1::kXaxis);
236  }
237 
238  if(_hlstart && *_hlstart) {
239  (*_hlstart)->GetXaxis()->SetTitle("Orbit"); (*_hlstart)->GetYaxis()->SetTitle("Events");
240  (*_hlstart)->SetCanExtend(TH1::kXaxis);
241  }
242 
243  if(_hlEC0 && *_hlEC0) {
244  (*_hlEC0)->GetXaxis()->SetTitle("Orbit"); (*_hlEC0)->GetYaxis()->SetTitle("Events");
245  (*_hlEC0)->SetCanExtend(TH1::kXaxis);
246  }
247 
248  if(_hlHR && *_hlHR) {
249  (*_hlHR)->GetXaxis()->SetTitle("Orbit"); (*_hlHR)->GetYaxis()->SetTitle("Events");
250  (*_hlHR)->SetCanExtend(TH1::kXaxis);
251  }
252 
254  (*_hdlec0lresync)->GetXaxis()->SetTitle("lastEC0-lastResync");
255  }
256 
257  if(_hdlresynclHR && *_hdlresynclHR) {
258  (*_hdlresynclHR)->GetXaxis()->SetTitle("lastEC0-lastResync");
259  }
260 
261  }
262 
263  if(isBadRun(iRun.run())) {
264  LogDebug("UnreliableMissingL1TriggerScalers") <<
265  "In this run L1TriggerScalers is missing or unreliable for phase determination: invlid phase will be returned";
266  }
267 
268 }
#define LogDebug(id)
RunNumber_t run() const
Definition: RunBase.h:42
edm::ESWatcher< SiStripConfObjectRcd > m_eswatcher
void printConfiguration(std::stringstream &ss) const
bool isBadRun(const unsigned int) const
const T & get() const
Definition: EventSetup.h:55
void beginRun(const edm::Run &iRun)
bool check(const edm::EventSetup &iSetup)
Definition: ESWatcher.h:57
bool APVCyclePhaseProducerFromL1TS::isBadRun ( const unsigned int  run) const
private

Definition at line 369 of file APVCyclePhaseProducerFromL1TS.cc.

References m_badRun, m_badruns, and edm::second().

Referenced by beginRun(), and produce().

369  {
370 
371  for(std::vector<std::pair<unsigned int, unsigned int> >::const_iterator runpair = m_badruns.begin();runpair!=m_badruns.end();++runpair) {
372  if( run >= runpair->first && run <= runpair->second) return true;
373  }
374 
375  return m_badRun;
376 
377 }
U second(std::pair< T, U > const &p)
std::vector< std::pair< unsigned int, unsigned int > > m_badruns
void APVCyclePhaseProducerFromL1TS::printConfiguration ( std::stringstream &  ss) const
private

Definition at line 380 of file APVCyclePhaseProducerFromL1TS.cc.

References _defpartnames, _defphases, _magicOffset, _useEC0, and m_badRun.

Referenced by APVCyclePhaseProducerFromL1TS(), and beginRun().

380  {
381 
382  ss << _defpartnames.size() << " default partition names: ";
383  for(std::vector<std::string>::const_iterator part=_defpartnames.begin();part!=_defpartnames.end();++part) {
384  ss << *part << " ";
385  }
386  ss << std::endl;
387  ss << _defphases.size() << " default phases: ";
388  for(std::vector<int>::const_iterator phase=_defphases.begin();phase!=_defphases.end();++phase) {
389  ss << *phase << " ";
390  }
391  ss << std::endl;
392  ss << " Magic offset: " << _magicOffset << std::endl;
393  ss << " use ECO: " << _useEC0 << std::endl;
394  ss << " bad run: " << m_badRun << std::endl;
395 
396 }
part
Definition: HCALResponse.h:20
void APVCyclePhaseProducerFromL1TS::produce ( edm::Event iEvent,
const edm::EventSetup iSetup 
)
overrideprivatevirtual

Implements edm::EDProducer.

Definition at line 272 of file APVCyclePhaseProducerFromL1TS.cc.

References _defpartnames, _defphases, _hdlec0lresync, _hdlresynclHR, _hlEC0, _hlHR, _hlOC0, _hlresync, _hlstart, _hlTE, _hsize, _l1tscollectionToken, _lastEventCounter0, _lastHardReset, _lastOrbitCounter0, _lastResync, _lastStart, _lastTestEnable, _magicOffset, _useEC0, _wantHistos, edm::hlt::Exception, edm::Event::getByToken(), APVCyclePhaseCollection::invalid, isBadRun(), LogDebug, edm::Event::put(), and edm::Event::run().

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

272  {
273 
274  using namespace edm;
275 
276  std::auto_ptr<APVCyclePhaseCollection> apvphases(new APVCyclePhaseCollection() );
277 
278 
279  std::vector<int> phases(_defphases.size(),APVCyclePhaseCollection::invalid);
280 
281  const std::vector<std::string>& partnames = _defpartnames;
282 
283  int phasechange = 0;
284 
285 
287  iEvent.getByToken(_l1tscollectionToken,l1ts);
288 
289  if(_wantHistos && _hsize && *_hsize) (*_hsize)->Fill(l1ts->size());
290 
291  // offset computation
292 
293  long long orbitoffset = 0;
294 
295  if(l1ts->size()>0) {
296 
297  if((*l1ts)[0].lastResync()!=0) {
298  orbitoffset = _useEC0 ? (*l1ts)[0].lastEventCounter0() + _magicOffset : (*l1ts)[0].lastResync() + _magicOffset;
299  }
300 
301  if(_wantHistos) {
302  if(_hlresync && *_hlresync) (*_hlresync)->Fill((*l1ts)[0].lastResync());
303  if(_hlOC0 && *_hlOC0) (*_hlOC0)->Fill((*l1ts)[0].lastOrbitCounter0());
304  if(_hlTE && *_hlTE) (*_hlTE)->Fill((*l1ts)[0].lastTestEnable());
305  if(_hlstart && *_hlstart) (*_hlstart)->Fill((*l1ts)[0].lastStart());
306  if(_hlEC0 && *_hlEC0) (*_hlEC0)->Fill((*l1ts)[0].lastEventCounter0());
307  if(_hlHR && *_hlHR) (*_hlHR)->Fill((*l1ts)[0].lastHardReset());
308  }
309 
310  if(_lastResync != (*l1ts)[0].lastResync()) {
311  _lastResync = (*l1ts)[0].lastResync();
312  if(_wantHistos && _hdlec0lresync && *_hdlec0lresync) (*_hdlec0lresync)->Fill((*l1ts)[0].lastEventCounter0()-(*l1ts)[0].lastResync());
313  LogDebug("TTCSignalReceived") << "New Resync at orbit " << _lastResync ;
314  }
315  if(_lastHardReset != (*l1ts)[0].lastHardReset()) {
316  _lastHardReset = (*l1ts)[0].lastHardReset();
317  if(_wantHistos && _hdlresynclHR && *_hdlresynclHR) (*_hdlresynclHR)->Fill((*l1ts)[0].lastResync()-(*l1ts)[0].lastHardReset());
318  LogDebug("TTCSignalReceived") << "New HardReset at orbit " << _lastHardReset ;
319  }
320  if(_lastTestEnable != (*l1ts)[0].lastTestEnable()) {
321  _lastTestEnable = (*l1ts)[0].lastTestEnable();
322  // LogDebug("TTCSignalReceived") << "New TestEnable at orbit " << _lastTestEnable ;
323  }
324  if(_lastOrbitCounter0 != (*l1ts)[0].lastOrbitCounter0()) {
325  _lastOrbitCounter0 = (*l1ts)[0].lastOrbitCounter0();
326  LogDebug("TTCSignalReceived") << "New OrbitCounter0 at orbit " << _lastOrbitCounter0 ;
327  }
328  if(_lastEventCounter0 != (*l1ts)[0].lastEventCounter0()) {
329  _lastEventCounter0 = (*l1ts)[0].lastEventCounter0();
330  LogDebug("TTCSignalReceived") << "New EventCounter0 at orbit " << _lastEventCounter0 ;
331  }
332  if(_lastStart != (*l1ts)[0].lastStart()) {
333  _lastStart = (*l1ts)[0].lastStart();
334  LogDebug("TTCSignalReceived") << "New Start at orbit " << _lastStart ;
335  }
336 
337  if(!isBadRun(iEvent.run())) {
338  phasechange = ((long long)(orbitoffset*3564))%70;
339 
340  for(unsigned int ipart=0;ipart<phases.size();++ipart) {
341  phases[ipart] = (_defphases[ipart]+phasechange)%70;
342  }
343 
344  }
345  }
346 
347 
348  if(phases.size() < partnames.size() ) {
349  // throw exception
350  throw cms::Exception("InvalidAPVCyclePhases") << " Inconsistent phases/partitions vector sizes: "
351  << phases.size() << " "
352  << partnames.size();
353  }
354 
355  for(unsigned int ipart=0;ipart<partnames.size();++ipart) {
356  // if(phases[ipart]>=0) {
357  // apvphases->get()[partnames[ipart]] = (phases[ipart]+phasechange)%70;
358  apvphases->get()[partnames[ipart]] = phases[ipart];
359 
360  // }
361  }
362 
363 
364  iEvent.put(apvphases);
365 
366 }
#define LogDebug(id)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:449
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
Definition: Event.h:113
RunNumber_t run() const
Definition: Event.h:85
bool isBadRun(const unsigned int) const
edm::EDGetTokenT< Level1TriggerScalersCollection > _l1tscollectionToken

Member Data Documentation

std::vector<std::string> APVCyclePhaseProducerFromL1TS::_defpartnames
private

Definition at line 81 of file APVCyclePhaseProducerFromL1TS.cc.

Referenced by beginRun(), printConfiguration(), and produce().

std::vector<int> APVCyclePhaseProducerFromL1TS::_defphases
private

Definition at line 82 of file APVCyclePhaseProducerFromL1TS.cc.

Referenced by beginRun(), printConfiguration(), and produce().

TH1F** APVCyclePhaseProducerFromL1TS::_hdlec0lresync
private
TH1F** APVCyclePhaseProducerFromL1TS::_hdlresynclHR
private
TH1F** APVCyclePhaseProducerFromL1TS::_hlEC0
private
TH1F** APVCyclePhaseProducerFromL1TS::_hlHR
private
TH1F** APVCyclePhaseProducerFromL1TS::_hlOC0
private
TH1F** APVCyclePhaseProducerFromL1TS::_hlresync
private
TH1F** APVCyclePhaseProducerFromL1TS::_hlstart
private
TH1F** APVCyclePhaseProducerFromL1TS::_hlTE
private
TH1F** APVCyclePhaseProducerFromL1TS::_hsize
private

Definition at line 92 of file APVCyclePhaseProducerFromL1TS.cc.

Referenced by APVCyclePhaseProducerFromL1TS(), and produce().

edm::EDGetTokenT<Level1TriggerScalersCollection> APVCyclePhaseProducerFromL1TS::_l1tscollectionToken
private

Definition at line 78 of file APVCyclePhaseProducerFromL1TS.cc.

Referenced by produce().

long long APVCyclePhaseProducerFromL1TS::_lastEventCounter0
private

Definition at line 108 of file APVCyclePhaseProducerFromL1TS.cc.

Referenced by produce().

long long APVCyclePhaseProducerFromL1TS::_lastHardReset
private

Definition at line 106 of file APVCyclePhaseProducerFromL1TS.cc.

Referenced by produce().

long long APVCyclePhaseProducerFromL1TS::_lastOrbitCounter0
private

Definition at line 109 of file APVCyclePhaseProducerFromL1TS.cc.

Referenced by produce().

long long APVCyclePhaseProducerFromL1TS::_lastResync
private

Definition at line 105 of file APVCyclePhaseProducerFromL1TS.cc.

Referenced by produce().

long long APVCyclePhaseProducerFromL1TS::_lastStart
private

Definition at line 107 of file APVCyclePhaseProducerFromL1TS.cc.

Referenced by produce().

long long APVCyclePhaseProducerFromL1TS::_lastTestEnable
private

Definition at line 110 of file APVCyclePhaseProducerFromL1TS.cc.

Referenced by produce().

int APVCyclePhaseProducerFromL1TS::_magicOffset
private

Definition at line 85 of file APVCyclePhaseProducerFromL1TS.cc.

Referenced by beginRun(), printConfiguration(), and produce().

bool APVCyclePhaseProducerFromL1TS::_useEC0
private

Definition at line 84 of file APVCyclePhaseProducerFromL1TS.cc.

Referenced by beginRun(), printConfiguration(), and produce().

const bool APVCyclePhaseProducerFromL1TS::_wantHistos
private
bool APVCyclePhaseProducerFromL1TS::m_badRun
private

Definition at line 86 of file APVCyclePhaseProducerFromL1TS.cc.

Referenced by beginRun(), isBadRun(), and printConfiguration().

std::vector<std::pair<unsigned int, unsigned int> > APVCyclePhaseProducerFromL1TS::m_badruns
private

Definition at line 103 of file APVCyclePhaseProducerFromL1TS.cc.

Referenced by APVCyclePhaseProducerFromL1TS(), and isBadRun().

edm::ESWatcher<SiStripConfObjectRcd> APVCyclePhaseProducerFromL1TS::m_eswatcher
private

Definition at line 77 of file APVCyclePhaseProducerFromL1TS.cc.

Referenced by beginRun().

const bool APVCyclePhaseProducerFromL1TS::m_ignoreDB
private

Definition at line 79 of file APVCyclePhaseProducerFromL1TS.cc.

Referenced by beginRun().

const unsigned int APVCyclePhaseProducerFromL1TS::m_LSfrac
private

Definition at line 88 of file APVCyclePhaseProducerFromL1TS.cc.

Referenced by APVCyclePhaseProducerFromL1TS().

const unsigned int APVCyclePhaseProducerFromL1TS::m_maxLS
private

Definition at line 87 of file APVCyclePhaseProducerFromL1TS.cc.

Referenced by APVCyclePhaseProducerFromL1TS().

const std::string APVCyclePhaseProducerFromL1TS::m_rcdLabel
private

Definition at line 80 of file APVCyclePhaseProducerFromL1TS.cc.

Referenced by beginRun().

RunHistogramManager APVCyclePhaseProducerFromL1TS::m_rhm
private

Definition at line 90 of file APVCyclePhaseProducerFromL1TS.cc.

Referenced by APVCyclePhaseProducerFromL1TS(), and beginRun().