#include <ClusterTask.h>
Public Types | |
enum | MESets { kBCEMap, kBCEMapProjEta, kBCEMapProjPhi, kBCOccupancy, kBCOccupancyProjEta, kBCOccupancyProjPhi, kBCSizeMap, kBCSizeMapProjEta, kBCSizeMapProjPhi, kBCE, kBCNum, kBCSize, kSCE, kSCELow, kSCSeedEnergy, kSCClusterVsSeed, kSCSeedOccupancy, kSingleCrystalCluster, kSCNum, kSCNBCs, kSCNcrystals, kSCR9, kPi0, kJPsi, kZ, kHighMass, nMESets } |
Public Types inherited from ecaldqm::DQWorker | |
enum | MESets { nMESets } |
Public Member Functions | |
void | analyze (const void *, Collections) override |
void | beginEvent (const edm::Event &, const edm::EventSetup &) override |
void | beginRun (const edm::Run &, const edm::EventSetup &) override |
void | bookMEs () override |
ClusterTask (const edm::ParameterSet &, const edm::ParameterSet &) | |
bool | filterRunType (const std::vector< short > &) override |
void | runOnBasicClusters (const reco::BasicClusterCollection &, Collections) |
void | runOnRecHits (const EcalRecHitCollection &, Collections) |
void | runOnSuperClusters (const reco::SuperClusterCollection &, Collections) |
~ClusterTask () | |
Public Member Functions inherited from ecaldqm::DQWorkerTask | |
DQWorkerTask (const edm::ParameterSet &, const edm::ParameterSet &, std::string const &) | |
virtual void | endEvent (const edm::Event &, const edm::EventSetup &) |
virtual bool | filterTrigger (const edm::TriggerResultsByName &) |
virtual const std::vector < std::pair< Collections, Collections > > & | getDependencies () |
virtual bool | runsOn (unsigned) |
virtual | ~DQWorkerTask () |
Public Member Functions inherited from ecaldqm::DQWorker | |
virtual void | beginLuminosityBlock (const edm::LuminosityBlock &, const edm::EventSetup &) |
DQWorker (const edm::ParameterSet &, const edm::ParameterSet &, std::string const &) | |
virtual void | endLuminosityBlock (const edm::LuminosityBlock &, const edm::EventSetup &) |
virtual void | endRun (const edm::Run &, const edm::EventSetup &) |
const std::vector< MESet * > & | getMEs () |
virtual std::string const & | getName () |
virtual bool | isInitialized () |
virtual void | reset () |
virtual void | setInitialized (bool _init) |
virtual void | setVerbosity (int _verbosity) |
virtual | ~DQWorker () |
Static Public Member Functions | |
static void | setMEData (std::vector< MEData > &) |
Static Public Member Functions inherited from ecaldqm::DQWorker | |
static void | setMEData (std::vector< MEData > &) |
Private Attributes | |
const CaloSubdetectorGeometry * | ebGeometry_ |
const EcalRecHitCollection * | ebHits_ |
const CaloSubdetectorGeometry * | eeGeometry_ |
const EcalRecHitCollection * | eeHits_ |
int | ievt_ |
float | lowEMax_ |
int | massCalcPrescale_ |
const CaloTopology * | topology_ |
Additional Inherited Members | |
Static Public Attributes inherited from ecaldqm::DQWorker | |
static std::map< std::string, std::vector< MEData > > | meData |
Protected Member Functions inherited from ecaldqm::DQWorker | |
MESet * | createMESet_ (std::string const &, MEData const &, bool _readOnly=false) const |
void | meSet_ (unsigned, edm::ParameterSet const &) |
Protected Attributes inherited from ecaldqm::DQWorkerTask | |
uint32_t | collectionMask_ |
std::vector< std::pair < Collections, Collections > > | dependencies_ |
Protected Attributes inherited from ecaldqm::DQWorker | |
bool | initialized_ |
std::vector< MESet * > | MEs_ |
std::string | name_ |
int | verbosity_ |
Definition at line 15 of file ClusterTask.h.
Definition at line 33 of file ClusterTask.h.
ecaldqm::ClusterTask::ClusterTask | ( | const edm::ParameterSet & | , |
const edm::ParameterSet & | |||
) |
Definition at line 19 of file ClusterTask.cc.
References ecaldqm::DQWorkerTask::collectionMask_, ecaldqm::DQWorkerTask::dependencies_, edm::ParameterSet::getUntrackedParameterSet(), ecaldqm::kEBBasicCluster, ecaldqm::kEBRecHit, ecaldqm::kEBSuperCluster, ecaldqm::kEEBasicCluster, ecaldqm::kEERecHit, ecaldqm::kEESuperCluster, ecaldqm::kRun, lowEMax_, massCalcPrescale_, and ecaldqm::DQWorker::name_.
ecaldqm::ClusterTask::~ClusterTask | ( | ) |
Definition at line 48 of file ClusterTask.cc.
|
inlineoverridevirtual |
Reimplemented from ecaldqm::DQWorkerTask.
Definition at line 76 of file ClusterTask.h.
References ecaldqm::kEBBasicCluster, ecaldqm::kEBRecHit, ecaldqm::kEBSuperCluster, ecaldqm::kEEBasicCluster, ecaldqm::kEERecHit, ecaldqm::kEESuperCluster, runOnBasicClusters(), runOnRecHits(), and runOnSuperClusters().
|
overridevirtual |
Reimplemented from ecaldqm::DQWorkerTask.
Definition at line 72 of file ClusterTask.cc.
References ebHits_, eeHits_, and ievt_.
|
overridevirtual |
Reimplemented from ecaldqm::DQWorker.
Definition at line 53 of file ClusterTask.cc.
References ebGeometry_, DetId::Ecal, EcalBarrel, EcalEndcap, eeGeometry_, edm::hlt::Exception, edm::EventSetup::get(), ievt_, edm::ESHandle< class >::product(), and topology_.
|
overridevirtual |
Reimplemented from ecaldqm::DQWorker.
Definition at line 81 of file ClusterTask.cc.
References ecaldqm::DQWorker::bookMEs(), i, kBCE, kBCNum, kBCSize, kHighMass, kJPsi, kPi0, kSCClusterVsSeed, kSCE, kSCELow, kSCNBCs, kSCNcrystals, kSCNum, kSCR9, kSCSeedEnergy, kZ, lowEMax_, and ecaldqm::DQWorker::MEs_.
|
overridevirtual |
Reimplemented from ecaldqm::DQWorkerTask.
Definition at line 107 of file ClusterTask.cc.
References EcalDCCHeaderBlock::COSMIC, EcalDCCHeaderBlock::COSMICS_GLOBAL, EcalDCCHeaderBlock::COSMICS_LOCAL, EcalDCCHeaderBlock::MTCC, EcalDCCHeaderBlock::PHYSICS_GLOBAL, and EcalDCCHeaderBlock::PHYSICS_LOCAL.
void ecaldqm::ClusterTask::runOnBasicClusters | ( | const reco::BasicClusterCollection & | _bcs, |
Collections | _collection | ||
) |
Definition at line 137 of file ClusterTask.cc.
References funct::abs(), funct::cos(), dPhi(), alignCSCRings::e, ebGeometry_, ebHits_, EcalBarrel, EcalEndcap, eeGeometry_, eeHits_, edm::SortedCollection< T, SORT >::end(), relval_parameters_module::energy, eta(), edm::SortedCollection< T, SORT >::find(), ievt_, kBCE, kBCEMap, kBCEMapProjEta, kBCEMapProjPhi, kBCNum, kBCOccupancy, kBCOccupancyProjEta, kBCOccupancyProjPhi, kBCSize, kBCSizeMap, kBCSizeMapProjEta, kBCSizeMapProjPhi, EcalDQMBinningService::kEB, ecaldqm::kEBBasicCluster, EcalDQMBinningService::kEEm, EcalDQMBinningService::kEEp, kJPsi, kPi0, create_public_lumi_plots::log, massCalcPrescale_, ecaldqm::DQWorker::MEs_, phi, position, funct::sin(), findQualityFiles::size, and mathSSE::sqrt().
Referenced by analyze().
void ecaldqm::ClusterTask::runOnRecHits | ( | const EcalRecHitCollection & | _hits, |
Collections | _collection | ||
) |
Definition at line 122 of file ClusterTask.cc.
References ebHits_, eeHits_, ecaldqm::kEBRecHit, and ecaldqm::kEERecHit.
Referenced by analyze().
void ecaldqm::ClusterTask::runOnSuperClusters | ( | const reco::SuperClusterCollection & | _scs, |
Collections | _collection | ||
) |
Definition at line 247 of file ClusterTask.cc.
References funct::cos(), alignCSCRings::e, EcalClusterTools::e3x3(), ebGeometry_, ebHits_, EcalBarrel, EcalEndcap, eeGeometry_, eeHits_, edm::SortedCollection< T, SORT >::end(), relval_parameters_module::energy, reco::CaloCluster::energy(), lumiContext::fill, edm::SortedCollection< T, SORT >::find(), ievt_, EcalDQMBinningService::kEB, ecaldqm::kEBSuperCluster, EcalDQMBinningService::kEEm, EcalDQMBinningService::kEEp, kHighMass, kSCClusterVsSeed, kSCE, kSCELow, kSCNBCs, kSCNcrystals, kSCNum, kSCR9, kSCSeedEnergy, kSCSeedOccupancy, kSingleCrystalCluster, kZ, lowEMax_, massCalcPrescale_, ecaldqm::DQWorker::MEs_, reco::CaloCluster::phi(), reco::CaloCluster::position(), position, funct::sin(), mathSSE::sqrt(), and topology_.
Referenced by analyze().
|
static |
Definition at line 340 of file ClusterTask.cc.
References MonitorElement::DQM_KIND_TH1F, MonitorElement::DQM_KIND_TH2F, MonitorElement::DQM_KIND_TPROFILE, MonitorElement::DQM_KIND_TPROFILE2D, EcalDQMBinningService::AxisSpecs::high, kBCE, kBCEMap, kBCEMapProjEta, kBCEMapProjPhi, kBCNum, kBCOccupancy, kBCOccupancyProjEta, kBCOccupancyProjPhi, kBCSize, kBCSizeMap, kBCSizeMapProjEta, kBCSizeMapProjPhi, EcalDQMBinningService::kEcal2P, EcalDQMBinningService::kEcal3P, kHighMass, kJPsi, kPi0, EcalDQMBinningService::kProjEta, EcalDQMBinningService::kProjPhi, kSCClusterVsSeed, kSCE, kSCELow, kSCNBCs, kSCNcrystals, kSCNum, kSCR9, kSCSeedEnergy, kSCSeedOccupancy, kSingleCrystalCluster, EcalDQMBinningService::kSuperCrystal, EcalDQMBinningService::kUser, kZ, EcalDQMBinningService::AxisSpecs::low, EcalDQMBinningService::AxisSpecs::nbins, and EcalDQMBinningService::nObjType.
|
private |
Definition at line 68 of file ClusterTask.h.
Referenced by beginRun(), runOnBasicClusters(), and runOnSuperClusters().
|
private |
Definition at line 70 of file ClusterTask.h.
Referenced by beginEvent(), runOnBasicClusters(), runOnRecHits(), and runOnSuperClusters().
|
private |
Definition at line 69 of file ClusterTask.h.
Referenced by beginRun(), runOnBasicClusters(), and runOnSuperClusters().
|
private |
Definition at line 70 of file ClusterTask.h.
Referenced by beginEvent(), runOnBasicClusters(), runOnRecHits(), and runOnSuperClusters().
|
private |
Definition at line 71 of file ClusterTask.h.
Referenced by beginEvent(), beginRun(), runOnBasicClusters(), and runOnSuperClusters().
|
private |
Definition at line 72 of file ClusterTask.h.
Referenced by bookMEs(), ClusterTask(), and runOnSuperClusters().
|
private |
Definition at line 73 of file ClusterTask.h.
Referenced by ClusterTask(), runOnBasicClusters(), and runOnSuperClusters().
|
private |
Definition at line 67 of file ClusterTask.h.
Referenced by beginRun(), and runOnSuperClusters().