#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 | |
double | ecalLSB_ |
edm::EDGetTokenT < EcalTrigPrimDigiCollection > | ecalToken_ |
edm::Service< TFileService > | fs_ |
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 64 of file L1CaloTowerTreeProducer.cc.
|
explicit |
Definition at line 104 of file L1CaloTowerTreeProducer.cc.
References caloTPData_, ecalLSB_, 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 133 of file L1CaloTowerTreeProducer.cc.
|
privatevirtual |
Implements edm::EDAnalyzer.
Definition at line 148 of file L1CaloTowerTreeProducer.cc.
References funct::abs(), caloTPData_, ecalLSB_, 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(), 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::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::L1AnalysisL1CaloTowerDataFormat::Reset(), L1Analysis::L1AnalysisCaloTPDataFormat::Reset(), and tree_.
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 310 of file L1CaloTowerTreeProducer.cc.
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 316 of file L1CaloTowerTreeProducer.cc.
L1Analysis::L1AnalysisCaloTPDataFormat* L1CaloTowerTreeProducer::caloTPData_ |
Definition at line 77 of file L1CaloTowerTreeProducer.cc.
Referenced by analyze(), and L1CaloTowerTreeProducer().
|
private |
Definition at line 83 of file L1CaloTowerTreeProducer.cc.
Referenced by analyze(), and L1CaloTowerTreeProducer().
|
private |
Definition at line 95 of file L1CaloTowerTreeProducer.cc.
Referenced by analyze(), and L1CaloTowerTreeProducer().
|
private |
Definition at line 89 of file L1CaloTowerTreeProducer.cc.
Referenced by L1CaloTowerTreeProducer().
|
private |
Definition at line 96 of file L1CaloTowerTreeProducer.cc.
Referenced by analyze(), and L1CaloTowerTreeProducer().
L1Analysis::L1AnalysisL1CaloClusterDataFormat* L1CaloTowerTreeProducer::l1CaloClusterData_ |
Definition at line 79 of file L1CaloTowerTreeProducer.cc.
Referenced by analyze(), and L1CaloTowerTreeProducer().
L1Analysis::L1AnalysisL1CaloTowerDataFormat* L1CaloTowerTreeProducer::l1CaloTowerData_ |
Definition at line 78 of file L1CaloTowerTreeProducer.cc.
Referenced by analyze(), and L1CaloTowerTreeProducer().
|
private |
Definition at line 98 of file L1CaloTowerTreeProducer.cc.
Referenced by analyze(), and L1CaloTowerTreeProducer().
|
private |
Definition at line 97 of file L1CaloTowerTreeProducer.cc.
Referenced by analyze(), and L1CaloTowerTreeProducer().
|
private |
Definition at line 84 of file L1CaloTowerTreeProducer.cc.
Referenced by L1CaloTowerTreeProducer().
|
private |
Definition at line 86 of file L1CaloTowerTreeProducer.cc.
Referenced by L1CaloTowerTreeProducer().
|
private |
Definition at line 85 of file L1CaloTowerTreeProducer.cc.
Referenced by L1CaloTowerTreeProducer().
|
private |
Definition at line 92 of file L1CaloTowerTreeProducer.cc.
Referenced by analyze(), and L1CaloTowerTreeProducer().