#include <L1TriggerDPG/L1Ntuples/src/L1CaloTowerTreeProducer.cc>
Public Member Functions | |
L1CaloTowerTreeProducer (const edm::ParameterSet &) | |
~L1CaloTowerTreeProducer () | |
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 (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 () |
Private Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
virtual void | beginJob (void) |
virtual void | endJob () |
Private Attributes | |
unsigned long long | ecalScaleCacheID_ |
scales More... | |
edm::EDGetTokenT < EcalTrigPrimDigiCollection > | ecalToken_ |
edm::Service< TFileService > | fs_ |
unsigned long long | hcalScaleCacheID_ |
edm::EDGetTokenT < HcalTrigPrimDigiCollection > | hcalToken_ |
edm::EDGetTokenT < l1t::CaloClusterBxCollection > | l1ClusterToken_ |
edm::EDGetTokenT < l1t::CaloTowerBxCollection > | l1TowerToken_ |
unsigned | maxCaloTP_ |
unsigned | maxL1Cluster_ |
unsigned | maxL1Tower_ |
TTree * | tree_ |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
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) |
Description: Produce L1 Extra tree
Implementation:
Definition at line 66 of file L1CaloTowerTreeProducer.cc.
|
explicit |
Definition at line 109 of file L1CaloTowerTreeProducer.cc.
References caloTPData_, ecalToken_, fs_, edm::ParameterSet::getUntrackedParameter(), hcalToken_, edm::InputTag::instance(), l1CaloClusterData_, l1CaloTowerData_, l1ClusterToken_, l1TowerToken_, TFileService::make(), maxCaloTP_, maxL1Cluster_, maxL1Tower_, AlCaHLTBitMon_QueryRunRegistry::string, and tree_.
L1CaloTowerTreeProducer::~L1CaloTowerTreeProducer | ( | ) |
Definition at line 137 of file L1CaloTowerTreeProducer.cc.
|
privatevirtual |
Implements edm::EDAnalyzer.
Definition at line 152 of file L1CaloTowerTreeProducer.cc.
References funct::abs(), edm::eventsetup::EventSetupRecord::cacheIdentifier(), caloTPData_, ecalScaleCacheID_, ecalToken_, L1Analysis::L1AnalysisCaloTPDataFormat::ecalTPCaliphi, L1Analysis::L1AnalysisCaloTPDataFormat::ecalTPcompEt, L1Analysis::L1AnalysisCaloTPDataFormat::ecalTPet, L1Analysis::L1AnalysisCaloTPDataFormat::ecalTPfineGrain, L1Analysis::L1AnalysisCaloTPDataFormat::ecalTPieta, L1Analysis::L1AnalysisCaloTPDataFormat::ecalTPiphi, L1Analysis::L1AnalysisL1CaloClusterDataFormat::et, L1Analysis::L1AnalysisL1CaloTowerDataFormat::et, L1Analysis::L1AnalysisL1CaloClusterDataFormat::eta, L1Analysis::L1AnalysisL1CaloTowerDataFormat::eta, edm::EventSetup::get(), edm::Event::getByToken(), hcalScaleCacheID_, hcalToken_, L1Analysis::L1AnalysisCaloTPDataFormat::hcalTPCaliphi, L1Analysis::L1AnalysisCaloTPDataFormat::hcalTPcompEt, L1Analysis::L1AnalysisCaloTPDataFormat::hcalTPet, L1Analysis::L1AnalysisCaloTPDataFormat::hcalTPfineGrain, L1Analysis::L1AnalysisCaloTPDataFormat::hcalTPieta, L1Analysis::L1AnalysisCaloTPDataFormat::hcalTPiphi, L1Analysis::L1AnalysisL1CaloTowerDataFormat::iem, L1Analysis::L1AnalysisL1CaloClusterDataFormat::iet, L1Analysis::L1AnalysisL1CaloTowerDataFormat::iet, L1Analysis::L1AnalysisL1CaloClusterDataFormat::ieta, L1Analysis::L1AnalysisL1CaloTowerDataFormat::ieta, L1Analysis::L1AnalysisL1CaloTowerDataFormat::ihad, L1Analysis::L1AnalysisL1CaloClusterDataFormat::iphi, L1Analysis::L1AnalysisL1CaloTowerDataFormat::iphi, L1Analysis::L1AnalysisL1CaloClusterDataFormat::iqual, L1Analysis::L1AnalysisL1CaloTowerDataFormat::iqual, L1Analysis::L1AnalysisL1CaloTowerDataFormat::iratio, edm::EDGetTokenT< T >::isUninitialized(), edm::ESHandleBase::isValid(), edm::HandleBase::isValid(), l1CaloClusterData_, l1CaloTowerData_, l1ClusterToken_, l1TowerToken_, L1Analysis::L1AnalysisL1CaloClusterDataFormat::nCluster, L1Analysis::L1AnalysisCaloTPDataFormat::nECALTP, L1Analysis::L1AnalysisCaloTPDataFormat::nHCALTP, L1Analysis::L1AnalysisL1CaloTowerDataFormat::nTower, L1Analysis::L1AnalysisL1CaloClusterDataFormat::phi, L1Analysis::L1AnalysisL1CaloTowerDataFormat::phi, edm::Handle< T >::product(), L1Analysis::L1AnalysisL1CaloClusterDataFormat::Reset(), L1Analysis::L1AnalysisCaloTPDataFormat::Reset(), L1Analysis::L1AnalysisL1CaloTowerDataFormat::Reset(), jetcorrextractor::sign(), and tree_.
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 326 of file L1CaloTowerTreeProducer.cc.
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 332 of file L1CaloTowerTreeProducer.cc.
L1Analysis::L1AnalysisCaloTPDataFormat* L1CaloTowerTreeProducer::caloTPData_ |
Definition at line 79 of file L1CaloTowerTreeProducer.cc.
Referenced by analyze(), and L1CaloTowerTreeProducer().
|
private |
|
private |
Definition at line 100 of file L1CaloTowerTreeProducer.cc.
Referenced by analyze(), and L1CaloTowerTreeProducer().
|
private |
Definition at line 90 of file L1CaloTowerTreeProducer.cc.
Referenced by L1CaloTowerTreeProducer().
|
private |
Definition at line 97 of file L1CaloTowerTreeProducer.cc.
Referenced by analyze().
|
private |
Definition at line 101 of file L1CaloTowerTreeProducer.cc.
Referenced by analyze(), and L1CaloTowerTreeProducer().
L1Analysis::L1AnalysisL1CaloClusterDataFormat* L1CaloTowerTreeProducer::l1CaloClusterData_ |
Definition at line 81 of file L1CaloTowerTreeProducer.cc.
Referenced by analyze(), and L1CaloTowerTreeProducer().
L1Analysis::L1AnalysisL1CaloTowerDataFormat* L1CaloTowerTreeProducer::l1CaloTowerData_ |
Definition at line 80 of file L1CaloTowerTreeProducer.cc.
Referenced by analyze(), and L1CaloTowerTreeProducer().
|
private |
Definition at line 103 of file L1CaloTowerTreeProducer.cc.
Referenced by analyze(), and L1CaloTowerTreeProducer().
|
private |
Definition at line 102 of file L1CaloTowerTreeProducer.cc.
Referenced by analyze(), and L1CaloTowerTreeProducer().
|
private |
Definition at line 85 of file L1CaloTowerTreeProducer.cc.
Referenced by L1CaloTowerTreeProducer().
|
private |
Definition at line 87 of file L1CaloTowerTreeProducer.cc.
Referenced by L1CaloTowerTreeProducer().
|
private |
Definition at line 86 of file L1CaloTowerTreeProducer.cc.
Referenced by L1CaloTowerTreeProducer().
|
private |
Definition at line 93 of file L1CaloTowerTreeProducer.cc.
Referenced by analyze(), and L1CaloTowerTreeProducer().