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 Types | Protected Member Functions | Protected Attributes
RecHitTask Class Reference

#include <RecHitTask.h>

Inheritance diagram for RecHitTask:
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 beginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &)
 
virtual void bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &)
 
virtual void endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &)
 
 RecHitTask (edm::ParameterSet const &)
 
virtual ~RecHitTask ()
 
- Public Member Functions inherited from hcaldqm::DQTask
virtual void analyze (edm::Event const &, edm::EventSetup const &)
 
virtual void dqmBeginRun (edm::Run const &, edm::EventSetup const &)
 
 DQTask (edm::ParameterSet 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 recHitTask
 

Protected Types

enum  RecoFlag { fUni =0, fTCDS =1, fUnknownIds = 2, nRecoFlag =3 }
 

Protected Member Functions

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

hcaldqm::ContainerProf2D _cEnergy_depth
 
hcaldqm::Container1D _cEnergy_Subdet
 
hcaldqm::ContainerProf1D _cEnergyvsBX_SubdetPM
 
hcaldqm::ContainerProf1D _cEnergyvsieta_Subdet
 
hcaldqm::ContainerProf1D _cEnergyvsiphi_SubdetPM
 
hcaldqm::ContainerProf1D _cEnergyvsLS_SubdetPM
 
hcaldqm::Container2D _cOccupancy_depth
 
hcaldqm::Container2D _cOccupancy_ElectronicsuTCA
 
hcaldqm::Container2D _cOccupancy_ElectronicsVME
 
hcaldqm::Container2D _cOccupancy_FEDuTCA
 
hcaldqm::Container2D _cOccupancy_FEDVME
 
hcaldqm::Container2D _cOccupancyCut_depth
 
hcaldqm::Container2D _cOccupancyCut_ElectronicsuTCA
 
hcaldqm::Container2D _cOccupancyCut_ElectronicsVME
 
hcaldqm::Container2D _cOccupancyCut_FEDuTCA
 
hcaldqm::Container2D _cOccupancyCut_FEDVME
 
hcaldqm::ContainerProf1D _cOccupancyCutvsBX_Subdet
 
hcaldqm::Container1D _cOccupancyCutvsieta_Subdet
 
hcaldqm::Container1D _cOccupancyCutvsiphi_SubdetPM
 
hcaldqm::Container2D _cOccupancyCutvsiphivsLS_SubdetPM
 
hcaldqm::ContainerProf1D _cOccupancyCutvsLS_Subdet
 
hcaldqm::Container1D _cOccupancyvsieta_Subdet
 
hcaldqm::Container1D _cOccupancyvsiphi_SubdetPM
 
hcaldqm::ContainerProf1D _cOccupancyvsLS_Subdet
 
hcaldqm::ContainerSingle2D _cSummaryvsLS
 
hcaldqm::Container2D _cSummaryvsLS_FED
 
hcaldqm::ContainerProf2D _cTimingCut_depth
 
hcaldqm::ContainerProf2D _cTimingCut_ElectronicsuTCA
 
hcaldqm::ContainerProf2D _cTimingCut_ElectronicsVME
 
hcaldqm::ContainerProf2D _cTimingCut_FEDuTCA
 
hcaldqm::ContainerProf2D _cTimingCut_FEDVME
 
hcaldqm::Container1D _cTimingCut_HBHEPartition
 
hcaldqm::Container1D _cTimingCut_SubdetPM
 
hcaldqm::ContainerProf1D _cTimingCutvsBX_SubdetPM
 
hcaldqm::ContainerProf1D _cTimingCutvsieta_Subdet
 
hcaldqm::ContainerProf1D _cTimingCutvsiphi_SubdetPM
 
hcaldqm::ContainerProf1D _cTimingCutvsLS_FED
 
hcaldqm::Container2D _cTimingvsEnergy_SubdetPM
 
double _cutE_HBHE
 
double _cutE_HF
 
double _cutE_HO
 
hcaldqm::electronicsmap::ElectronicsMap _ehashmap
 
HcalElectronicsMap const * _emap
 
hcaldqm::filter::HashFilter _filter_FEDsuTCA
 
hcaldqm::filter::HashFilter _filter_FEDsVME
 
hcaldqm::filter::HashFilter _filter_uTCA
 
hcaldqm::filter::HashFilter _filter_VME
 
std::vector< HcalGenericDetId_gids
 
edm::InputTag _tagHBHE
 
edm::InputTag _tagHF
 
edm::InputTag _tagHO
 
double _thresh_unihf
 
edm::EDGetTokenT
< HBHERecHitCollection
_tokHBHE
 
edm::EDGetTokenT
< HFRecHitCollection
_tokHF
 
edm::EDGetTokenT
< HORecHitCollection
_tokHO
 
bool _unknownIdsPresent
 
std::vector< hcaldqm::flag::Flag_vflags
 
std::vector< uint32_t > _vhashFEDs
 
hcaldqm::ContainerXXX< uint32_t > _xUni
 
hcaldqm::ContainerXXX< uint32_t > _xUniHF
 
MonitorElementmeUnknownIds1LS
 
- 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
 
std::vector< uint32_t > _vcdaqEids
 
ContainerXXX< uint32_t > _xQuality
 
- Protected Attributes inherited from hcaldqm::DQModule
int _currentLS
 
int _debug
 
int _evsPerLS
 
int _evsTotal
 
Logger _logger
 
int _maxLS
 
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

module: RecHitTask.h Author: VK Description: HCAL RECO Data Tier Evaluation

Online: Offline:

Definition at line 26 of file RecHitTask.h.

Member Enumeration Documentation

enum RecHitTask::RecoFlag
protected
Enumerator
fUni 
fTCDS 
fUnknownIds 
nRecoFlag 

Definition at line 58 of file RecHitTask.h.

Constructor & Destructor Documentation

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

Definition at line 8 of file RecHitTask.cc.

virtual RecHitTask::~RecHitTask ( )
inlinevirtual

Definition at line 30 of file RecHitTask.h.

30 {}

Member Function Documentation

void RecHitTask::_process ( edm::Event const &  e,
edm::EventSetup const &   
)
protectedvirtual

Implements hcaldqm::DQTask.

Definition at line 358 of file RecHitTask.cc.

void RecHitTask::_resetMonitors ( hcaldqm::UpdateFreq  uf)
protectedvirtual

Reimplemented from hcaldqm::DQTask.

Definition at line 344 of file RecHitTask.cc.

void RecHitTask::beginLuminosityBlock ( edm::LuminosityBlock const &  lb,
edm::EventSetup const &  es 
)
virtual

Reimplemented from hcaldqm::DQTask.

Definition at line 731 of file RecHitTask.cc.

void RecHitTask::bookHistograms ( DQMStore::IBooker ib,
edm::Run const &  r,
edm::EventSetup const &  es 
)
virtual

Reimplemented from hcaldqm::DQTask.

Definition at line 34 of file RecHitTask.cc.

void RecHitTask::endLuminosityBlock ( edm::LuminosityBlock const &  lb,
edm::EventSetup const &  es 
)
virtual

Reimplemented from hcaldqm::DQTask.

Definition at line 737 of file RecHitTask.cc.

Member Data Documentation

hcaldqm::ContainerProf2D RecHitTask::_cEnergy_depth
protected

Definition at line 80 of file RecHitTask.h.

hcaldqm::Container1D RecHitTask::_cEnergy_Subdet
protected

Definition at line 77 of file RecHitTask.h.

hcaldqm::ContainerProf1D RecHitTask::_cEnergyvsBX_SubdetPM
protected

Definition at line 82 of file RecHitTask.h.

hcaldqm::ContainerProf1D RecHitTask::_cEnergyvsieta_Subdet
protected

Definition at line 78 of file RecHitTask.h.

hcaldqm::ContainerProf1D RecHitTask::_cEnergyvsiphi_SubdetPM
protected

Definition at line 79 of file RecHitTask.h.

hcaldqm::ContainerProf1D RecHitTask::_cEnergyvsLS_SubdetPM
protected

Definition at line 81 of file RecHitTask.h.

hcaldqm::Container2D RecHitTask::_cOccupancy_depth
protected

Definition at line 101 of file RecHitTask.h.

hcaldqm::Container2D RecHitTask::_cOccupancy_ElectronicsuTCA
protected

Definition at line 105 of file RecHitTask.h.

hcaldqm::Container2D RecHitTask::_cOccupancy_ElectronicsVME
protected

Definition at line 104 of file RecHitTask.h.

hcaldqm::Container2D RecHitTask::_cOccupancy_FEDuTCA
protected

Definition at line 103 of file RecHitTask.h.

hcaldqm::Container2D RecHitTask::_cOccupancy_FEDVME
protected

Definition at line 102 of file RecHitTask.h.

hcaldqm::Container2D RecHitTask::_cOccupancyCut_depth
protected

Definition at line 116 of file RecHitTask.h.

hcaldqm::Container2D RecHitTask::_cOccupancyCut_ElectronicsuTCA
protected

Definition at line 114 of file RecHitTask.h.

hcaldqm::Container2D RecHitTask::_cOccupancyCut_ElectronicsVME
protected

Definition at line 113 of file RecHitTask.h.

hcaldqm::Container2D RecHitTask::_cOccupancyCut_FEDuTCA
protected

Definition at line 112 of file RecHitTask.h.

hcaldqm::Container2D RecHitTask::_cOccupancyCut_FEDVME
protected

Definition at line 111 of file RecHitTask.h.

hcaldqm::ContainerProf1D RecHitTask::_cOccupancyCutvsBX_Subdet
protected

Definition at line 119 of file RecHitTask.h.

hcaldqm::Container1D RecHitTask::_cOccupancyCutvsieta_Subdet
protected

Definition at line 118 of file RecHitTask.h.

hcaldqm::Container1D RecHitTask::_cOccupancyCutvsiphi_SubdetPM
protected

Definition at line 117 of file RecHitTask.h.

hcaldqm::Container2D RecHitTask::_cOccupancyCutvsiphivsLS_SubdetPM
protected

Definition at line 120 of file RecHitTask.h.

hcaldqm::ContainerProf1D RecHitTask::_cOccupancyCutvsLS_Subdet
protected

Definition at line 115 of file RecHitTask.h.

hcaldqm::Container1D RecHitTask::_cOccupancyvsieta_Subdet
protected

Definition at line 108 of file RecHitTask.h.

hcaldqm::Container1D RecHitTask::_cOccupancyvsiphi_SubdetPM
protected

Definition at line 107 of file RecHitTask.h.

hcaldqm::ContainerProf1D RecHitTask::_cOccupancyvsLS_Subdet
protected

Definition at line 106 of file RecHitTask.h.

hcaldqm::ContainerSingle2D RecHitTask::_cSummaryvsLS
protected

Definition at line 129 of file RecHitTask.h.

hcaldqm::Container2D RecHitTask::_cSummaryvsLS_FED
protected

Definition at line 128 of file RecHitTask.h.

hcaldqm::ContainerProf2D RecHitTask::_cTimingCut_depth
protected

Definition at line 94 of file RecHitTask.h.

hcaldqm::ContainerProf2D RecHitTask::_cTimingCut_ElectronicsuTCA
protected

Definition at line 93 of file RecHitTask.h.

hcaldqm::ContainerProf2D RecHitTask::_cTimingCut_ElectronicsVME
protected

Definition at line 92 of file RecHitTask.h.

hcaldqm::ContainerProf2D RecHitTask::_cTimingCut_FEDuTCA
protected

Definition at line 91 of file RecHitTask.h.

hcaldqm::ContainerProf2D RecHitTask::_cTimingCut_FEDVME
protected

Definition at line 90 of file RecHitTask.h.

hcaldqm::Container1D RecHitTask::_cTimingCut_HBHEPartition
protected

Definition at line 89 of file RecHitTask.h.

hcaldqm::Container1D RecHitTask::_cTimingCut_SubdetPM
protected

Definition at line 88 of file RecHitTask.h.

hcaldqm::ContainerProf1D RecHitTask::_cTimingCutvsBX_SubdetPM
protected

Definition at line 98 of file RecHitTask.h.

hcaldqm::ContainerProf1D RecHitTask::_cTimingCutvsieta_Subdet
protected

Definition at line 96 of file RecHitTask.h.

hcaldqm::ContainerProf1D RecHitTask::_cTimingCutvsiphi_SubdetPM
protected

Definition at line 97 of file RecHitTask.h.

hcaldqm::ContainerProf1D RecHitTask::_cTimingCutvsLS_FED
protected

Definition at line 95 of file RecHitTask.h.

hcaldqm::Container2D RecHitTask::_cTimingvsEnergy_SubdetPM
protected

Definition at line 85 of file RecHitTask.h.

double RecHitTask::_cutE_HBHE
protected

Definition at line 50 of file RecHitTask.h.

double RecHitTask::_cutE_HF
protected

Definition at line 50 of file RecHitTask.h.

double RecHitTask::_cutE_HO
protected

Definition at line 50 of file RecHitTask.h.

hcaldqm::electronicsmap::ElectronicsMap RecHitTask::_ehashmap
protected

Definition at line 68 of file RecHitTask.h.

HcalElectronicsMap const* RecHitTask::_emap
protected

Definition at line 67 of file RecHitTask.h.

hcaldqm::filter::HashFilter RecHitTask::_filter_FEDsuTCA
protected

Definition at line 74 of file RecHitTask.h.

hcaldqm::filter::HashFilter RecHitTask::_filter_FEDsVME
protected

Definition at line 73 of file RecHitTask.h.

hcaldqm::filter::HashFilter RecHitTask::_filter_uTCA
protected

Definition at line 72 of file RecHitTask.h.

hcaldqm::filter::HashFilter RecHitTask::_filter_VME
protected

Definition at line 71 of file RecHitTask.h.

std::vector<HcalGenericDetId> RecHitTask::_gids
protected

Definition at line 127 of file RecHitTask.h.

edm::InputTag RecHitTask::_tagHBHE
protected

Definition at line 43 of file RecHitTask.h.

edm::InputTag RecHitTask::_tagHF
protected

Definition at line 45 of file RecHitTask.h.

edm::InputTag RecHitTask::_tagHO
protected

Definition at line 44 of file RecHitTask.h.

double RecHitTask::_thresh_unihf
protected

Definition at line 51 of file RecHitTask.h.

edm::EDGetTokenT<HBHERecHitCollection> RecHitTask::_tokHBHE
protected

Definition at line 46 of file RecHitTask.h.

edm::EDGetTokenT<HFRecHitCollection> RecHitTask::_tokHF
protected

Definition at line 48 of file RecHitTask.h.

edm::EDGetTokenT<HORecHitCollection> RecHitTask::_tokHO
protected

Definition at line 47 of file RecHitTask.h.

bool RecHitTask::_unknownIdsPresent
protected

Definition at line 125 of file RecHitTask.h.

std::vector<hcaldqm::flag::Flag> RecHitTask::_vflags
protected

Definition at line 57 of file RecHitTask.h.

std::vector<uint32_t> RecHitTask::_vhashFEDs
protected

Definition at line 54 of file RecHitTask.h.

hcaldqm::ContainerXXX<uint32_t> RecHitTask::_xUni
protected

Definition at line 121 of file RecHitTask.h.

hcaldqm::ContainerXXX<uint32_t> RecHitTask::_xUniHF
protected

Definition at line 121 of file RecHitTask.h.

MonitorElement* RecHitTask::meUnknownIds1LS
protected

Definition at line 124 of file RecHitTask.h.

tuple RecHitTask.recHitTask
Initial value:
1 = cms.EDAnalyzer(
2  "RecHitTask",
3 
4  # standard parameters
5  name = cms.untracked.string("RecHitTask"),
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("Hcal"),
12 
13  # tags
14  tagHBHE = cms.untracked.InputTag("hbhereco"),
15  tagHO = cms.untracked.InputTag("horeco"),
16  tagHF = cms.untracked.InputTag("hfreco"),
17  tagRaw = cms.untracked.InputTag('rawDataCollector'),
18 
19  # thresholds
20  thresh_unihf = cms.untracked.double(0.2),
21 )

Definition at line 3 of file RecHitTask.py.