CMS 3D CMS Logo

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

#include <LaserTask.h>

Inheritance diagram for LaserTask:
hcaldqm::DQTask DQMEDAnalyzer hcaldqm::DQModule edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > > edm::stream::EDAnalyzerBase edm::EDConsumerBase

Public Member Functions

virtual void bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &)
 
virtual void endRun (edm::Run const &, edm::EventSetup const &)
 
 LaserTask (edm::ParameterSet const &)
 
virtual ~LaserTask ()
 
- Public Member Functions inherited from hcaldqm::DQTask
virtual void analyze (edm::Event const &, edm::EventSetup const &)
 
virtual void beginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &)
 
virtual void dqmBeginRun (edm::Run const &, edm::EventSetup const &)
 
 DQTask (edm::ParameterSet const &)
 
virtual void endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &)
 
virtual ~DQTask ()
 
- Public Member Functions inherited from DQMEDAnalyzer
virtual void beginRun (edm::Run const &, edm::EventSetup const &) final
 
virtual void beginStream (edm::StreamID id) final
 
 DQMEDAnalyzer (void)
 
virtual void endLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, dqmDetails::NoCache *) const final
 
virtual void endRunSummary (edm::Run const &, edm::EventSetup const &, dqmDetails::NoCache *) const final
 
uint32_t streamId () const
 
- Public Member Functions inherited from edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > >
 EDAnalyzer ()=default
 
- Public Member Functions inherited from edm::stream::EDAnalyzerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzerBase ()
 
ModuleDescription const & moduleDescription () const
 
virtual ~EDAnalyzerBase ()
 
- 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 ()
 
- Public Member Functions inherited from hcaldqm::DQModule
 DQModule (edm::ParameterSet const &)
 
virtual ~DQModule ()
 

Public Attributes

tuple laserTask
 

Protected Member Functions

virtual void _dump ()
 
virtual bool _isApplicable (edm::Event const &)
 
virtual void _process (edm::Event const &, edm::EventSetup const &)
 
virtual void _resetMonitors (UpdateFreq)
 
- Protected Member Functions inherited from hcaldqm::DQTask
virtual int _getCalibType (edm::Event const &)
 
- 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)
 

Protected Attributes

ContainerProf1D _cShapeCut_SubDetPM_iphi
 
Container2D _cSignalMeans_depth
 
Container1D _cSignalMeans_SubDet
 
Container2D _cSignalRMSs_depth
 
Container1D _cSignalRMSs_SubDet
 
ContainerCompact _cSignals
 
ContainerCompact _cTiming
 
Container2D _cTimingMeans_depth
 
Container1D _cTimingMeans_SubDet
 
Container2D _cTimingRMSs_depth
 
Container1D _cTimingRMSs_SubDet
 
double _lowHBHE
 
double _lowHF
 
double _lowHO
 
edm::InputTag _tagHBHE
 
edm::InputTag _tagHF
 
edm::InputTag _tagHO
 
edm::InputTag _tagTrigger
 
edm::EDGetTokenT
< HBHEDigiCollection
_tokHBHE
 
edm::EDGetTokenT
< HFDigiCollection
_tokHF
 
edm::EDGetTokenT
< HODigiCollection
_tokHO
 
edm::EDGetTokenT
< HcalTBTriggerData
_tokTrigger
 
- Protected Attributes inherited from hcaldqm::DQTask
ContainerI _cEvsPerLS
 
ContainerI _cEvsTotal
 
ContainerS _cProcessingTypeName
 
ContainerS _cRunKeyName
 
ContainerI _cRunKeyVal
 
int _procLSs
 
edm::InputTag _tagRaw
 
edm::EDGetTokenT
< FEDRawDataCollection
_tokRaw
 
- Protected Attributes inherited from hcaldqm::DQModule
int _currentLS
 
int _debug
 
int _evsPerLS
 
int _evsTotal
 
Logger _logger
 
ModuleType _mtype
 
std::string _name
 
ProcessingType _ptype
 
std::string _runkeyName
 
int _runkeyVal
 
std::string _subsystem
 

Additional Inherited Members

- Public Types inherited from edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > >
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::EDAnalyzerBase
typedef EDAnalyzerAdaptorBase ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Static Public Member Functions inherited from DQMEDAnalyzer
static std::shared_ptr
< dqmDetails::NoCache
globalBeginLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *)
 
static std::shared_ptr
< dqmDetails::NoCache
globalBeginRunSummary (edm::Run const &, edm::EventSetup const &, RunContext const *)
 
static void globalEndLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *, dqmDetails::NoCache *)
 
static void globalEndRunSummary (edm::Run const &, edm::EventSetup const &, RunContext const *, dqmDetails::NoCache *)
 
- Static Public Member Functions inherited from edm::stream::EDAnalyzerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 

Detailed Description

Definition at line 19 of file LaserTask.h.

Constructor & Destructor Documentation

LaserTask::LaserTask ( edm::ParameterSet const &  ps)

Definition at line 5 of file LaserTask.cc.

References _cShapeCut_SubDetPM_iphi, _cSignalMeans_depth, _cSignalMeans_SubDet, _cSignalRMSs_depth, _cSignalRMSs_SubDet, _cTimingMeans_depth, _cTimingMeans_SubDet, _cTimingRMSs_depth, _cTimingRMSs_SubDet, _lowHBHE, _lowHF, _lowHO, hcaldqm::DQModule::_name, _tagHBHE, _tagHF, _tagHO, _tagTrigger, _tokHBHE, _tokHF, _tokHO, _tokTrigger, hcaldqm::axis::fdepth, hcaldqm::axis::fieta, hcaldqm::axis::fiphi, hcaldqm::axis::fNomFC_1000, hcaldqm::axis::fNomFC_3000, hcaldqm::axis::fSubDet, hcaldqm::mapper::fSubDetPM_iphi, hcaldqm::axis::fTimeTS, hcaldqm::axis::fTimeTS_200, hcaldqm::axis::fXaxis, hcaldqm::axis::fYaxis, hcaldqm::axis::fZaxis, edm::ParameterSet::getUntrackedParameter(), hcaldqm::ContainerProf1D::initialize(), hcaldqm::Container2D::initialize(), hcaldqm::Container1D::initialize(), and HLT_FULL_cff::InputTag.

5  :
6  DQTask(ps)
7 {
8  // Containers
9  _cSignalMeans_SubDet.initialize(_name+"/SignalMeans/SubDet", "SignalMeans",
12  _cSignalRMSs_SubDet.initialize(_name+"/SignalRMSs/SubDet", "SignalRMSs",
15  _cTimingMeans_SubDet.initialize(_name+"/TimingMeans/SubDet", "TimingMeans",
18  _cTimingRMSs_SubDet.initialize(_name+"/TimingRMSs/SubDet", "TimingRMSs",
21  _cShapeCut_SubDetPM_iphi.initialize(_name+"/Shape/SubDetPM_iphi", "Shape",
25  _cSignalMeans_depth.initialize(_name+"/SignalMeans/depth", "SignalMeans",
30  _cSignalRMSs_depth.initialize(_name+"/SignalRMSs/depth", "SignalRMSs",
35  _cTimingMeans_depth.initialize(_name+"/TimingMeans/depth", "TimingMeans",
40  _cTimingRMSs_depth.initialize(_name+"/TimingRMSs/depth", "TimingRMSs",
45 
46  // tags and tokens
47  _tagHBHE = ps.getUntrackedParameter<edm::InputTag>("tagHBHE",
48  edm::InputTag("hcalDigis"));
49  _tagHO = ps.getUntrackedParameter<edm::InputTag>("tagHO",
50  edm::InputTag("hcalDigis"));
51  _tagHF = ps.getUntrackedParameter<edm::InputTag>("tagHF",
52  edm::InputTag("hcalDigis"));
53  _tagTrigger = ps.getUntrackedParameter<edm::InputTag>("tagTrigger",
54  edm::InputTag("tbunpacker"));
55  _tokHBHE = consumes<HBHEDigiCollection>(_tagHBHE);
56  _tokHO = consumes<HODigiCollection>(_tagHO);
57  _tokHF = consumes<HFDigiCollection>(_tagHF);
58  _tokTrigger = consumes<HcalTBTriggerData>(_tagTrigger);
59 
60  // constants
61  _lowHBHE = ps.getUntrackedParameter<double>("lowHBHE",
62  20);
63  _lowHO = ps.getUntrackedParameter<double>("lowHO",
64  20);
65  _lowHF = ps.getUntrackedParameter<double>("lowHF",
66  20);
67 }
virtual void initialize(std::string const &folder, std::string const &nametitle, mapper::MapperType mt, axis::Axis *xaxis, axis::Axis *yaxis=new axis::ValueAxis(axis::fYaxis, axis::fEntries), int debug=0)
Container2D _cSignalMeans_depth
Definition: LaserTask.h:67
virtual void initialize(std::string const &folder, std::string nametitle, mapper::MapperType mt, axis::Axis *xaxis, axis::Axis *yaxis=new axis::CoordinateAxis(axis::fYaxis, axis::fiphi), axis::Axis *zaxis=new axis::ValueAxis(axis::fZaxis, axis::fEntries), int debug=0)
Definition: Container2D.cc:30
double _lowHF
Definition: LaserTask.h:51
DQTask(edm::ParameterSet const &)
Definition: DQTask.cc:7
double _lowHBHE
Definition: LaserTask.h:49
Container2D _cTimingRMSs_depth
Definition: LaserTask.h:70
Container1D _cSignalRMSs_SubDet
Definition: LaserTask.h:59
ContainerProf1D _cShapeCut_SubDetPM_iphi
Definition: LaserTask.h:64
edm::InputTag _tagHO
Definition: LaserTask.h:40
edm::InputTag _tagHF
Definition: LaserTask.h:41
edm::EDGetTokenT< HODigiCollection > _tokHO
Definition: LaserTask.h:44
edm::EDGetTokenT< HFDigiCollection > _tokHF
Definition: LaserTask.h:45
virtual void initialize(std::string const &folder, std::string const &nametitle, mapper::MapperType mt, axis::Axis *xaxis, axis::Axis *yaxis=new ValueAxis(fYaxis, fEntries), int debug=0)
Definition: Container1D.cc:28
std::string _name
Definition: DQModule.h:50
double _lowHO
Definition: LaserTask.h:50
edm::EDGetTokenT< HBHEDigiCollection > _tokHBHE
Definition: LaserTask.h:43
Container1D _cTimingMeans_SubDet
Definition: LaserTask.h:60
edm::InputTag _tagHBHE
Definition: LaserTask.h:39
Container1D _cTimingRMSs_SubDet
Definition: LaserTask.h:61
Container2D _cTimingMeans_depth
Definition: LaserTask.h:69
edm::EDGetTokenT< HcalTBTriggerData > _tokTrigger
Definition: LaserTask.h:46
edm::InputTag _tagTrigger
Definition: LaserTask.h:42
Container2D _cSignalRMSs_depth
Definition: LaserTask.h:68
Container1D _cSignalMeans_SubDet
Definition: LaserTask.h:58
virtual LaserTask::~LaserTask ( )
inlinevirtual

Definition at line 23 of file LaserTask.h.

24  {}

Member Function Documentation

void LaserTask::_dump ( )
protectedvirtual

Definition at line 93 of file LaserTask.cc.

References _cSignalMeans_depth, _cSignalMeans_SubDet, _cSignalRMSs_depth, _cSignalRMSs_SubDet, _cSignals, _cTiming, _cTimingMeans_depth, _cTimingMeans_SubDet, _cTimingRMSs_depth, _cTimingRMSs_SubDet, hcaldqm::ContainerCompact::dump(), and hcaldqm::Container1D::reset().

Referenced by _process().

94 {
111 }
Container2D _cSignalMeans_depth
Definition: LaserTask.h:67
Container2D _cTimingRMSs_depth
Definition: LaserTask.h:70
Container1D _cSignalRMSs_SubDet
Definition: LaserTask.h:59
virtual void reset()
Definition: Container1D.cc:230
Container1D _cTimingMeans_SubDet
Definition: LaserTask.h:60
Container1D _cTimingRMSs_SubDet
Definition: LaserTask.h:61
virtual void dump(Container1D *, bool)
Container2D _cTimingMeans_depth
Definition: LaserTask.h:69
ContainerCompact _cSignals
Definition: LaserTask.h:54
ContainerCompact _cTiming
Definition: LaserTask.h:55
Container2D _cSignalRMSs_depth
Definition: LaserTask.h:68
Container1D _cSignalMeans_SubDet
Definition: LaserTask.h:58
bool LaserTask::_isApplicable ( edm::Event const &  e)
protectedvirtual

Reimplemented from hcaldqm::DQTask.

Definition at line 190 of file LaserTask.cc.

References hcaldqm::DQTask::_getCalibType(), hcaldqm::DQModule::_logger, hcaldqm::DQModule::_ptype, _tagTrigger, _tokTrigger, diJetCalib::calibType, Logger::dqmthrow(), hcaldqm::fOnline, edm::Event::getByToken(), hc_HBHEHPD, hc_HFPMT, edm::InputTag::instance(), and edm::InputTag::label().

191 {
192  if (_ptype==fOnline)
193  {
194  // online-global
195  int calibType = this->_getCalibType(e);
196  return (calibType==hc_HBHEHPD || calibType==hc_HFPMT);
197  }
198  else
199  {
200  // local
202  if (!e.getByToken(_tokTrigger, ctrigger))
203  _logger.dqmthrow("Collection HcalTBTriggerData isn't available"
204  + _tagTrigger.label() + " " + _tagTrigger.instance());
205  return ctrigger->wasLaserTrigger();
206  }
207 }
virtual int _getCalibType(edm::Event const &)
Definition: DQTask.cc:107
tuple calibType
Definition: diJetCalib.py:20
ProcessingType _ptype
Definition: DQModule.h:52
void dqmthrow(std::string const &msg) const
Definition: Logger.h:15
Logger _logger
Definition: DQModule.h:62
std::string const & label() const
Definition: InputTag.h:36
edm::EDGetTokenT< HcalTBTriggerData > _tokTrigger
Definition: LaserTask.h:46
edm::InputTag _tagTrigger
Definition: LaserTask.h:42
std::string const & instance() const
Definition: InputTag.h:37
void LaserTask::_process ( edm::Event const &  e,
edm::EventSetup const &  es 
)
protectedvirtual

Implements hcaldqm::DQTask.

Definition at line 113 of file LaserTask.cc.

References _cShapeCut_SubDetPM_iphi, _cSignals, _cTiming, _dump(), hcaldqm::DQModule::_evsTotal, hcaldqm::DQModule::_logger, _lowHBHE, _lowHF, _lowHO, hcaldqm::DQModule::_ptype, _tagHBHE, _tagHF, _tagHO, _tokHBHE, _tokHF, _tokHO, hcaldqm::utilities::aveTS(), hcaldqm::constants::CALIBEVENTS_MIN, Logger::dqmthrow(), hcaldqm::ContainerCompact::fill(), hcaldqm::Container1D::fill(), hcaldqm::fOnline, hcaldqm::constants::GARBAGE_VALUE, edm::Event::getByToken(), i, edm::InputTag::instance(), edm::InputTag::label(), HFDataFrame::size(), HBHEDataFrame::size(), HODataFrame::size(), and hcaldqm::utilities::sumQ().

115 {
119 
120  if (!e.getByToken(_tokHBHE, chbhe))
121  _logger.dqmthrow("Collection HBHEDigiCollection isn't available"
122  + _tagHBHE.label() + " " + _tagHBHE.instance());
123  if (!e.getByToken(_tokHO, cho))
124  _logger.dqmthrow("Collection HODigiCollection isn't available"
125  + _tagHO.label() + " " + _tagHO.instance());
126  if (!e.getByToken(_tokHF, chf))
127  _logger.dqmthrow("Collection HFDigiCollection isn't available"
128  + _tagHF.label() + " " + _tagHF.instance());
129 
130  for (HBHEDigiCollection::const_iterator it=chbhe->begin();
131  it!=chbhe->end(); ++it)
132  {
133  const HBHEDataFrame digi = (const HBHEDataFrame)(*it);
134  double sumQ = utilities::sumQ<HBHEDataFrame>(digi, 2.5, 0,
135  digi.size()-1);
136  if (sumQ<_lowHBHE)
137  continue;
138 
139  double aveTS = utilities::aveTS<HBHEDataFrame>(digi, 2.5, 0,
140  digi.size()-1);
141  _cSignals.fill(digi.id(), sumQ>0 ? sumQ : GARBAGE_VALUE);
142  _cTiming.fill(digi.id(), sumQ>0 ? aveTS : GARBAGE_VALUE);
143 
144  for (int i=0; i<digi.size(); i++)
145  _cShapeCut_SubDetPM_iphi.fill(digi.id(), i,
146  digi.sample(i).nominal_fC()-2.5);
147  }
148  for (HODigiCollection::const_iterator it=cho->begin();
149  it!=cho->end(); ++it)
150  {
151  const HODataFrame digi = (const HODataFrame)(*it);
152  double sumQ = utilities::sumQ<HODataFrame>(digi, 8.5, 0,
153  digi.size()-1);
154  if (sumQ<_lowHO)
155  continue;
156 
157  double aveTS = utilities::aveTS<HODataFrame>(digi, 8.5, 0,
158  digi.size()-1);
159  _cSignals.fill(digi.id(), sumQ>0 ? sumQ : GARBAGE_VALUE);
160  _cTiming.fill(digi.id(), sumQ>0 ? aveTS : GARBAGE_VALUE);
161 
162  for (int i=0; i<digi.size(); i++)
163  _cShapeCut_SubDetPM_iphi.fill(digi.id(), i,
164  digi.sample(i).nominal_fC()-8.5);
165  }
166  for (HFDigiCollection::const_iterator it=chf->begin();
167  it!=chf->end(); ++it)
168  {
169  const HFDataFrame digi = (const HFDataFrame)(*it);
170  double sumQ = utilities::sumQ<HFDataFrame>(digi, 2.5, 0,
171  digi.size()-1);
172  if (sumQ<_lowHF)
173  continue;
174 
175  double aveTS = utilities::aveTS<HFDataFrame>(digi, 2.5, 0,
176  digi.size()-1);
177  _cSignals.fill(digi.id(), sumQ>0 ? sumQ : GARBAGE_VALUE);
178  _cTiming.fill(digi.id(), sumQ>0 ? aveTS : GARBAGE_VALUE);
179 
180  for (int i=0; i<digi.size(); i++)
181  _cShapeCut_SubDetPM_iphi.fill(digi.id(), i,
182  digi.sample(i).nominal_fC()-2.5);
183  }
184 
185  if (_ptype==fOnline && _evsTotal>0 &&
187  this->_dump();
188 }
int i
Definition: DBlmapReader.cc:9
double _lowHF
Definition: LaserTask.h:51
double sumQ(DIGI digi, double ped, int i=0, int j=3)
Definition: Utilities.h:52
int size() const
total number of samples in the digi
Definition: HBHEDataFrame.h:26
double _lowHBHE
Definition: LaserTask.h:49
virtual void _dump()
Definition: LaserTask.cc:93
std::vector< HBHEDataFrame >::const_iterator const_iterator
double aveTS(DIGI digi, double ped=0, int i=0, int j=3)
Definition: Utilities.h:38
ContainerProf1D _cShapeCut_SubDetPM_iphi
Definition: LaserTask.h:64
edm::InputTag _tagHO
Definition: LaserTask.h:40
int const GARBAGE_VALUE
Definition: Constants.h:168
edm::InputTag _tagHF
Definition: LaserTask.h:41
ProcessingType _ptype
Definition: DQModule.h:52
void dqmthrow(std::string const &msg) const
Definition: Logger.h:15
virtual void fill(double)
Definition: Container1D.h:53
int size() const
total number of samples in the digi
Definition: HODataFrame.h:27
edm::EDGetTokenT< HODigiCollection > _tokHO
Definition: LaserTask.h:44
Logger _logger
Definition: DQModule.h:62
edm::EDGetTokenT< HFDigiCollection > _tokHF
Definition: LaserTask.h:45
double _lowHO
Definition: LaserTask.h:50
edm::EDGetTokenT< HBHEDigiCollection > _tokHBHE
Definition: LaserTask.h:43
int const CALIBEVENTS_MIN
Definition: Constants.h:167
int size() const
total number of samples in the digi
Definition: HFDataFrame.h:26
edm::InputTag _tagHBHE
Definition: LaserTask.h:39
virtual void fill(HcalDetId const &, double)
std::string const & label() const
Definition: InputTag.h:36
ContainerCompact _cSignals
Definition: LaserTask.h:54
ContainerCompact _cTiming
Definition: LaserTask.h:55
std::string const & instance() const
Definition: InputTag.h:37
void LaserTask::_resetMonitors ( UpdateFreq  uf)
protectedvirtual

Reimplemented from hcaldqm::DQTask.

Definition at line 88 of file LaserTask.cc.

89 {
90  DQTask::_resetMonitors(uf);
91 }
void LaserTask::bookHistograms ( DQMStore::IBooker ib,
edm::Run const &  r,
edm::EventSetup const &  es 
)
virtual

Reimplemented from hcaldqm::DQTask.

Definition at line 69 of file LaserTask.cc.

References _cShapeCut_SubDetPM_iphi, _cSignalMeans_depth, _cSignalMeans_SubDet, _cSignalRMSs_depth, _cSignalRMSs_SubDet, _cTimingMeans_depth, _cTimingMeans_SubDet, _cTimingRMSs_depth, _cTimingRMSs_SubDet, _lowHBHE, _lowHF, _lowHO, hcaldqm::DQModule::_subsystem, hcaldqm::ContainerProf1D::book(), hcaldqm::Container2D::book(), hcaldqm::Container1D::book(), bookHistograms(), and AlCaHLTBitMon_QueryRunRegistry::string.

71 {
72  char cutstr[20];
73  sprintf(cutstr, "_sumQHBHE%dHO%dHF%d", int(_lowHBHE),
74  int(_lowHO), int(_lowHF));
75 
76  DQTask::bookHistograms(ib, r, es);
86 }
Container2D _cSignalMeans_depth
Definition: LaserTask.h:67
virtual void book(DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="")
Definition: Container2D.cc:233
double _lowHF
Definition: LaserTask.h:51
virtual void book(DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="")
Definition: Container1D.cc:198
double _lowHBHE
Definition: LaserTask.h:49
Container2D _cTimingRMSs_depth
Definition: LaserTask.h:70
Container1D _cSignalRMSs_SubDet
Definition: LaserTask.h:59
ContainerProf1D _cShapeCut_SubDetPM_iphi
Definition: LaserTask.h:64
void bookHistograms(fwlite::EventContainer &eventCont)
virtual void book(DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="")
double _lowHO
Definition: LaserTask.h:50
Container1D _cTimingMeans_SubDet
Definition: LaserTask.h:60
Container1D _cTimingRMSs_SubDet
Definition: LaserTask.h:61
Container2D _cTimingMeans_depth
Definition: LaserTask.h:69
std::string _subsystem
Definition: DQModule.h:57
Container2D _cSignalRMSs_depth
Definition: LaserTask.h:68
Container1D _cSignalMeans_SubDet
Definition: LaserTask.h:58
virtual void LaserTask::endRun ( edm::Run const &  ,
edm::EventSetup const &   
)
inlinevirtual

Reimplemented from edm::stream::EDAnalyzerBase.

Definition at line 28 of file LaserTask.h.

29  {this->_dump();}
virtual void _dump()
Definition: LaserTask.cc:93

Member Data Documentation

ContainerProf1D LaserTask::_cShapeCut_SubDetPM_iphi
protected

Definition at line 64 of file LaserTask.h.

Referenced by _process(), bookHistograms(), and LaserTask().

Container2D LaserTask::_cSignalMeans_depth
protected

Definition at line 67 of file LaserTask.h.

Referenced by _dump(), bookHistograms(), and LaserTask().

Container1D LaserTask::_cSignalMeans_SubDet
protected

Definition at line 58 of file LaserTask.h.

Referenced by _dump(), bookHistograms(), and LaserTask().

Container2D LaserTask::_cSignalRMSs_depth
protected

Definition at line 68 of file LaserTask.h.

Referenced by _dump(), bookHistograms(), and LaserTask().

Container1D LaserTask::_cSignalRMSs_SubDet
protected

Definition at line 59 of file LaserTask.h.

Referenced by _dump(), bookHistograms(), and LaserTask().

ContainerCompact LaserTask::_cSignals
protected

Definition at line 54 of file LaserTask.h.

Referenced by _dump(), and _process().

ContainerCompact LaserTask::_cTiming
protected

Definition at line 55 of file LaserTask.h.

Referenced by _dump(), and _process().

Container2D LaserTask::_cTimingMeans_depth
protected

Definition at line 69 of file LaserTask.h.

Referenced by _dump(), bookHistograms(), and LaserTask().

Container1D LaserTask::_cTimingMeans_SubDet
protected

Definition at line 60 of file LaserTask.h.

Referenced by _dump(), bookHistograms(), and LaserTask().

Container2D LaserTask::_cTimingRMSs_depth
protected

Definition at line 70 of file LaserTask.h.

Referenced by _dump(), bookHistograms(), and LaserTask().

Container1D LaserTask::_cTimingRMSs_SubDet
protected

Definition at line 61 of file LaserTask.h.

Referenced by _dump(), bookHistograms(), and LaserTask().

double LaserTask::_lowHBHE
protected

Definition at line 49 of file LaserTask.h.

Referenced by _process(), bookHistograms(), and LaserTask().

double LaserTask::_lowHF
protected

Definition at line 51 of file LaserTask.h.

Referenced by _process(), bookHistograms(), and LaserTask().

double LaserTask::_lowHO
protected

Definition at line 50 of file LaserTask.h.

Referenced by _process(), bookHistograms(), and LaserTask().

edm::InputTag LaserTask::_tagHBHE
protected

Definition at line 39 of file LaserTask.h.

Referenced by _process(), and LaserTask().

edm::InputTag LaserTask::_tagHF
protected

Definition at line 41 of file LaserTask.h.

Referenced by _process(), and LaserTask().

edm::InputTag LaserTask::_tagHO
protected

Definition at line 40 of file LaserTask.h.

Referenced by _process(), and LaserTask().

edm::InputTag LaserTask::_tagTrigger
protected

Definition at line 42 of file LaserTask.h.

Referenced by _isApplicable(), and LaserTask().

edm::EDGetTokenT<HBHEDigiCollection> LaserTask::_tokHBHE
protected

Definition at line 43 of file LaserTask.h.

Referenced by _process(), and LaserTask().

edm::EDGetTokenT<HFDigiCollection> LaserTask::_tokHF
protected

Definition at line 45 of file LaserTask.h.

Referenced by _process(), and LaserTask().

edm::EDGetTokenT<HODigiCollection> LaserTask::_tokHO
protected

Definition at line 44 of file LaserTask.h.

Referenced by _process(), and LaserTask().

edm::EDGetTokenT<HcalTBTriggerData> LaserTask::_tokTrigger
protected

Definition at line 46 of file LaserTask.h.

Referenced by _isApplicable(), and LaserTask().

tuple LaserTask.laserTask
Initial value:
1 = cms.EDAnalyzer(
2  "LaserTask",
3 
4  # standard parameters
5  name = cms.untracked.string("LaserTask"),
6  debug = cms.untracked.int32(0),
7  runkeyVal = cms.untracked.int32(0),
8  runkeyName = cms.untracked.string("pp_run"),
9  ptype = cms.untracked.int32(0),
10  mtype = cms.untracked.bool(True),
11  subsystem = cms.untracked.string("HcalCalib"),
12 
13  # tags
14  tagHBHE = cms.untracked.InputTag("hcalDigis"),
15  tagHO = cms.untracked.InputTag("hcalDigis"),
16  tagHF = cms.untracked.InputTag("hcalDigis"),
17  tagRaw = cms.untracked.InputTag('hltHcalCalibrationRaw'),
18 
19  # cuts
20  lowHBHE = cms.untracked.double(40)
21 )

Definition at line 3 of file LaserTask.py.