CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HcalMonitorSelector.cc
Go to the documentation of this file.
2 
3 /*
4  * \file HcalMonitorSelector.cc
5  *
6  * $Date: 2010/04/08 15:42:19 $
7  * $Revision: 1.12 $
8  * \author W Fisher
9  *
10 */
11 
13 
14  m_eventMask = 0;
15  m_triggerMask = 0;
16  m_runNum = -1;
17 }
18 
20 
21 }
22 
24  m_eventMask = 0;
25  m_triggerMask = 0;
26 
30 
31  return;
32 
34  e.getByType(triggerD);
35  if (!triggerD.isValid())
36  {
37  m_runNum=-1;
38  //If we don't have the trigger data, just activate everyone!
40  return;
41  }
42  const HcalTBTriggerData trigger = *triggerD;
43 
44  m_runNum = trigger.runNumber();
45 
46  // check trigger contents
52 
54 
55  return;
56 }
~HcalMonitorSelector()
Destructor.
static const int DO_HCAL_LASER_CALIBMON
bool wasLEDTrigger() const
returns true if this was a LED trigger
static const int DO_HCAL_DFMON
HcalMonitorSelector()
Constructor.
bool getByType(Handle< PROD > &result) const
Definition: Event.h:398
static const int DO_HCAL_PED_CALIBMON
static const int DO_HCAL_LED_CALIBMON
static const int DO_HCAL_DIGIMON
bool wasOutSpillPedestalTrigger() const
returns true if this was an out-of-spill pedestal trigger
static const int DO_HCAL_RECHITMON
bool isValid() const
Definition: HandleBase.h:76
static const int HCAL_BEAM_TRIGGER
void processEvent(const edm::Event &e)
bool wasInSpillPedestalTrigger() const
returns true if this was an in-spill pedestal trigger
bool wasBeamTrigger() const
returns true if this trigger came from beam data
bool wasLaserTrigger() const
returns true if this was a laser trigger
uint32_t runNumber() const
Returns the current run number.