#include <AlCaElectronsTest.h>
Public Member Functions | |
AlCaElectronsTest (const edm::ParameterSet &) | |
virtual void | analyze (const edm::Event &iEvent, const edm::EventSetup &iSetup) |
virtual void | beginJob () |
virtual void | endJob () |
~AlCaElectronsTest () | |
Public Member Functions inherited from edm::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzer () | |
ModuleDescription const & | moduleDescription () const |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () 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 | |
void | fillAroundBarrel (const EcalRecHitCollection *recHits, int eta, int phi) |
void | fillAroundEndcap (const EcalRecHitCollection *recHits, int ics, int ips) |
EcalRecHit | getMaximum (const EcalRecHitCollection *recHits) |
Private Attributes | |
edm::EDGetTokenT < EBRecHitCollection > | m_barrelAlCa |
TH2F * | m_barrelGlobalCrystalsEnergy |
ECAL Energy. More... | |
TH2F * | m_barrelGlobalCrystalsEnergyMap |
ECAL EnergyMap. More... | |
TH2F * | m_barrelGlobalCrystalsMap |
ECAL map. More... | |
TH2F * | m_barrelLocalCrystalsEnergy |
local Energy More... | |
TH2F * | m_barrelLocalCrystalsMap |
local map More... | |
edm::EDGetTokenT < EERecHitCollection > | m_endcapAlCa |
TH2F * | m_endcapGlobalCrystalsEnergy |
ECAL Energy. More... | |
TH2F * | m_endcapGlobalCrystalsEnergyMap |
ECAL EnergyMap. More... | |
TH2F * | m_endcapGlobalCrystalsMap |
ECAL map. More... | |
TH2F * | m_endcapLocalCrystalsEnergy |
local Energy More... | |
TH2F * | m_endcapLocalCrystalsMap |
local map More... | |
std::string | m_outputFileName |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
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) |
Definition at line 33 of file AlCaElectronsTest.h.
|
explicit |
Definition at line 81 of file AlCaElectronsTest.h.
|
inline |
Definition at line 36 of file AlCaElectronsTest.h.
|
virtual |
Implements edm::EDAnalyzer.
Definition at line 136 of file AlCaElectronsTest.h.
References ecal_dqm_sourceclient-live_cfg::cerr, gather_cfg::cout, EcalRecHit::energy(), fillAroundBarrel(), fillAroundEndcap(), edm::Event::getByToken(), getMaximum(), edm::EventBase::id(), EcalRecHit::id(), edm::HandleBase::isValid(), HLT_25ns14e33_v1_cff::labels, edm::EDConsumerBase::labelsForToken(), m_barrelAlCa, m_barrelGlobalCrystalsEnergy, m_barrelGlobalCrystalsMap, m_endcapAlCa, m_endcapGlobalCrystalsEnergy, m_endcapGlobalCrystalsMap, edm::EDConsumerBase::Labels::module, edm::Handle< T >::product(), and mathSSE::return().
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 93 of file AlCaElectronsTest.h.
References m_barrelGlobalCrystalsEnergy, m_barrelGlobalCrystalsEnergyMap, m_barrelGlobalCrystalsMap, m_barrelLocalCrystalsEnergy, m_barrelLocalCrystalsMap, m_endcapGlobalCrystalsEnergy, m_endcapGlobalCrystalsEnergyMap, m_endcapGlobalCrystalsMap, m_endcapLocalCrystalsEnergy, m_endcapLocalCrystalsMap, and mathSSE::return().
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 113 of file AlCaElectronsTest.h.
References m_barrelGlobalCrystalsEnergy, m_barrelGlobalCrystalsEnergyMap, m_barrelGlobalCrystalsMap, m_barrelLocalCrystalsEnergy, m_barrelLocalCrystalsMap, m_endcapGlobalCrystalsEnergy, m_endcapGlobalCrystalsEnergyMap, m_endcapGlobalCrystalsMap, m_endcapLocalCrystalsEnergy, m_endcapLocalCrystalsMap, m_outputFileName, convertSQLitetoXML_cfg::output, and mathSSE::return().
|
private |
Definition at line 234 of file AlCaElectronsTest.h.
References edm::SortedCollection< T, SORT >::begin(), HTMLExport::elem(), edm::SortedCollection< T, SORT >::end(), eta(), EBDetId::ieta(), EBDetId::iphi(), m_barrelGlobalCrystalsEnergyMap, m_barrelLocalCrystalsEnergy, m_barrelLocalCrystalsMap, phi, and mathSSE::return().
Referenced by analyze().
|
private |
Definition at line 265 of file AlCaElectronsTest.h.
References edm::SortedCollection< T, SORT >::begin(), HTMLExport::elem(), edm::SortedCollection< T, SORT >::end(), h2_mapping_cfi::ics, EEDetId::ix(), EEDetId::iy(), m_endcapGlobalCrystalsEnergyMap, m_endcapLocalCrystalsEnergy, m_endcapLocalCrystalsMap, and mathSSE::return().
Referenced by analyze().
|
private |
Definition at line 212 of file AlCaElectronsTest.h.
References edm::SortedCollection< T, SORT >::begin(), HTMLExport::elem(), edm::SortedCollection< T, SORT >::end(), relval_parameters_module::energy, and bookConverter::max.
Referenced by analyze().
|
private |
Definition at line 51 of file AlCaElectronsTest.h.
Referenced by analyze().
|
private |
ECAL Energy.
Definition at line 64 of file AlCaElectronsTest.h.
Referenced by analyze(), beginJob(), and endJob().
|
private |
ECAL EnergyMap.
Definition at line 72 of file AlCaElectronsTest.h.
Referenced by beginJob(), endJob(), and fillAroundBarrel().
|
private |
ECAL map.
Definition at line 56 of file AlCaElectronsTest.h.
Referenced by analyze(), beginJob(), and endJob().
|
private |
local Energy
Definition at line 66 of file AlCaElectronsTest.h.
Referenced by beginJob(), endJob(), and fillAroundBarrel().
|
private |
local map
Definition at line 58 of file AlCaElectronsTest.h.
Referenced by beginJob(), endJob(), and fillAroundBarrel().
|
private |
Definition at line 52 of file AlCaElectronsTest.h.
Referenced by analyze().
|
private |
ECAL Energy.
Definition at line 68 of file AlCaElectronsTest.h.
Referenced by analyze(), beginJob(), and endJob().
|
private |
ECAL EnergyMap.
Definition at line 74 of file AlCaElectronsTest.h.
Referenced by beginJob(), endJob(), and fillAroundEndcap().
|
private |
ECAL map.
Definition at line 60 of file AlCaElectronsTest.h.
Referenced by analyze(), beginJob(), and endJob().
|
private |
local Energy
Definition at line 70 of file AlCaElectronsTest.h.
Referenced by beginJob(), endJob(), and fillAroundEndcap().
|
private |
local map
Definition at line 62 of file AlCaElectronsTest.h.
Referenced by beginJob(), endJob(), and fillAroundEndcap().
|
private |
Definition at line 53 of file AlCaElectronsTest.h.
Referenced by endJob().