#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 | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
EDConsumerBase () | |
ProductHolderIndex | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) 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::InputTag | 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::InputTag | 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 |
typedef WorkerT< EDAnalyzer > | WorkerType |
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::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
CurrentProcessingContext const * | currentContext () 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) |
Definition at line 32 of file AlCaElectronsTest.h.
|
explicit |
Definition at line 80 of file AlCaElectronsTest.h.
|
inline |
Definition at line 35 of file AlCaElectronsTest.h.
|
virtual |
Implements edm::EDAnalyzer.
Definition at line 135 of file AlCaElectronsTest.h.
References dtNoiseDBValidation_cfg::cerr, gather_cfg::cout, CaloRecHit::energy(), fillAroundBarrel(), fillAroundEndcap(), edm::Event::getByLabel(), getMaximum(), edm::EventBase::id(), EcalRecHit::id(), edm::HandleBase::isValid(), m_barrelAlCa, m_barrelGlobalCrystalsEnergy, m_barrelGlobalCrystalsMap, m_endcapAlCa, m_endcapGlobalCrystalsEnergy, m_endcapGlobalCrystalsMap, edm::Handle< T >::product(), and hitfit::return.
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 92 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 hitfit::return.
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 112 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 hitfit::return.
|
private |
Definition at line 229 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 hitfit::return.
Referenced by analyze().
|
private |
Definition at line 260 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 hitfit::return.
Referenced by analyze().
|
private |
Definition at line 207 of file AlCaElectronsTest.h.
References edm::SortedCollection< T, SORT >::begin(), HTMLExport::elem(), edm::SortedCollection< T, SORT >::end(), relval_parameters_module::energy, and max().
Referenced by analyze().
|
private |
Definition at line 50 of file AlCaElectronsTest.h.
Referenced by analyze().
|
private |
ECAL Energy.
Definition at line 63 of file AlCaElectronsTest.h.
Referenced by analyze(), beginJob(), and endJob().
|
private |
ECAL EnergyMap.
Definition at line 71 of file AlCaElectronsTest.h.
Referenced by beginJob(), endJob(), and fillAroundBarrel().
|
private |
ECAL map.
Definition at line 55 of file AlCaElectronsTest.h.
Referenced by analyze(), beginJob(), and endJob().
|
private |
local Energy
Definition at line 65 of file AlCaElectronsTest.h.
Referenced by beginJob(), endJob(), and fillAroundBarrel().
|
private |
local map
Definition at line 57 of file AlCaElectronsTest.h.
Referenced by beginJob(), endJob(), and fillAroundBarrel().
|
private |
Definition at line 51 of file AlCaElectronsTest.h.
Referenced by analyze().
|
private |
ECAL Energy.
Definition at line 67 of file AlCaElectronsTest.h.
Referenced by analyze(), beginJob(), and endJob().
|
private |
ECAL EnergyMap.
Definition at line 73 of file AlCaElectronsTest.h.
Referenced by beginJob(), endJob(), and fillAroundEndcap().
|
private |
ECAL map.
Definition at line 59 of file AlCaElectronsTest.h.
Referenced by analyze(), beginJob(), and endJob().
|
private |
local Energy
Definition at line 69 of file AlCaElectronsTest.h.
Referenced by beginJob(), endJob(), and fillAroundEndcap().
|
private |
local map
Definition at line 61 of file AlCaElectronsTest.h.
Referenced by beginJob(), endJob(), and fillAroundEndcap().
|
private |
Definition at line 52 of file AlCaElectronsTest.h.
Referenced by endJob().