#include <L1TriggerDPG/L1Ntuples/src/L1CaloTowerTreeProducer.cc>
Private Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
void | beginJob (void) override |
void | endJob () override |
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_ |
bool | storeCaloClusters_ |
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 &) |
static bool | wantsGlobalLuminosityBlocks () |
static bool | wantsGlobalRuns () |
static bool | wantsInputProcessBlocks () |
static bool | wantsProcessBlocks () |
static bool | wantsStreamLuminosityBlocks () |
static bool | wantsStreamRuns () |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () noexcept |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) noexcept |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
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) |
void | resetItemsToGetFrom (BranchType iType) |
Description: Produce L1 Extra tree
Implementation:
Definition at line 62 of file L1CaloTowerTreeProducer.cc.
|
explicit |
Definition at line 98 of file L1CaloTowerTreeProducer.cc.
References caloTPData_, ecalLSB_, ecalToken_, fs_, edm::ParameterSet::getUntrackedParameter(), hcalToken_, edm::InputTag::instance(), l1CaloClusterData_, l1CaloTowerData_, l1ClusterToken_, l1TowerToken_, edm::InputTag::label(), TFileService::make(), maxCaloTP_, maxL1Cluster_, maxL1Tower_, or, storeCaloClusters_, AlCaHLTBitMon_QueryRunRegistry::string, and tree_.
|
override |
Definition at line 129 of file L1CaloTowerTreeProducer.cc.
|
overrideprivatevirtual |
Implements edm::EDAnalyzer.
Definition at line 139 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::L1AnalysisL1CaloTowerDataFormat::Reset(), L1Analysis::L1AnalysisL1CaloClusterDataFormat::Reset(), L1Analysis::L1AnalysisCaloTPDataFormat::Reset(), storeCaloClusters_, and tree_.
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 279 of file L1CaloTowerTreeProducer.cc.
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 282 of file L1CaloTowerTreeProducer.cc.
L1Analysis::L1AnalysisCaloTPDataFormat* L1CaloTowerTreeProducer::caloTPData_ |
Definition at line 73 of file L1CaloTowerTreeProducer.cc.
Referenced by analyze(), and L1CaloTowerTreeProducer().
|
private |
Definition at line 78 of file L1CaloTowerTreeProducer.cc.
Referenced by analyze(), and L1CaloTowerTreeProducer().
|
private |
Definition at line 90 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 91 of file L1CaloTowerTreeProducer.cc.
Referenced by analyze(), and L1CaloTowerTreeProducer().
L1Analysis::L1AnalysisL1CaloClusterDataFormat* L1CaloTowerTreeProducer::l1CaloClusterData_ |
Definition at line 75 of file L1CaloTowerTreeProducer.cc.
Referenced by analyze(), and L1CaloTowerTreeProducer().
L1Analysis::L1AnalysisL1CaloTowerDataFormat* L1CaloTowerTreeProducer::l1CaloTowerData_ |
Definition at line 74 of file L1CaloTowerTreeProducer.cc.
Referenced by analyze(), and L1CaloTowerTreeProducer().
|
private |
Definition at line 93 of file L1CaloTowerTreeProducer.cc.
Referenced by analyze(), and L1CaloTowerTreeProducer().
|
private |
Definition at line 92 of file L1CaloTowerTreeProducer.cc.
Referenced by analyze(), and L1CaloTowerTreeProducer().
|
private |
Definition at line 79 of file L1CaloTowerTreeProducer.cc.
Referenced by L1CaloTowerTreeProducer().
|
private |
Definition at line 81 of file L1CaloTowerTreeProducer.cc.
Referenced by L1CaloTowerTreeProducer().
|
private |
Definition at line 80 of file L1CaloTowerTreeProducer.cc.
Referenced by L1CaloTowerTreeProducer().
|
private |
Definition at line 95 of file L1CaloTowerTreeProducer.cc.
Referenced by analyze(), and L1CaloTowerTreeProducer().
|
private |
Definition at line 87 of file L1CaloTowerTreeProducer.cc.
Referenced by analyze(), and L1CaloTowerTreeProducer().