#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 | |
const edm::ESGetToken< CaloTPGTranscoder, CaloTPGRecord > | decoderToken_ |
const double | ecalLSB_ |
const edm::EDGetTokenT< EcalTrigPrimDigiCollection > | ecalToken_ |
edm::Service< TFileService > | fs_ |
const edm::EDGetTokenT< HcalTrigPrimDigiCollection > | hcalToken_ |
edm::EDGetTokenT< l1t::CaloClusterBxCollection > | l1ClusterToken_ |
const edm::EDGetTokenT< l1t::CaloTowerBxCollection > | l1TowerToken_ |
const unsigned | maxCaloTP_ |
const unsigned | maxL1Cluster_ |
const unsigned | maxL1Tower_ |
bool | storeCaloClusters_ |
TTree * | tree_ |
Additional Inherited Members | |
Public Types inherited from edm::one::EDAnalyzerBase | |
typedef EDAnalyzerBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::one::EDAnalyzerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
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 () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
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 99 of file L1CaloTowerTreeProducer.cc.
References caloTPData_, StandaloneTrackMonitor_cfi::clusterTag, fs_, edm::ParameterSet::getUntrackedParameter(), TFileService::kSharedResource, l1CaloClusterData_, l1CaloTowerData_, l1ClusterToken_, TFileService::make(), or, storeCaloClusters_, AlCaHLTBitMon_QueryRunRegistry::string, and tree_.
|
overridedefault |
|
overrideprivatevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 136 of file L1CaloTowerTreeProducer.cc.
References funct::abs(), BXVector< T >::begin(), caloTPData_, decoderToken_, ecalLSB_, ecalToken_, L1Analysis::L1AnalysisCaloTPDataFormat::ecalTPCaliphi, L1Analysis::L1AnalysisCaloTPDataFormat::ecalTPcompEt, L1Analysis::L1AnalysisCaloTPDataFormat::ecalTPet, L1Analysis::L1AnalysisCaloTPDataFormat::ecalTPfineGrain, L1Analysis::L1AnalysisCaloTPDataFormat::ecalTPieta, L1Analysis::L1AnalysisCaloTPDataFormat::ecalTPiphi, BXVector< T >::end(), EgHLTOffHistBins_cfi::et, L1Analysis::L1AnalysisL1CaloClusterDataFormat::et, L1Analysis::L1AnalysisL1CaloTowerDataFormat::et, L1Analysis::L1AnalysisL1CaloClusterDataFormat::eta, L1Analysis::L1AnalysisL1CaloTowerDataFormat::eta, BXVector< T >::getFirstBX(), edm::EventSetup::getHandle(), BXVector< T >::getLastBX(), CaloTPGTranscoder::hcaletValue(), 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, LEDCalibrationChannels::ieta, iEvent, L1Analysis::L1AnalysisL1CaloTowerDataFormat::ihad, L1Analysis::L1AnalysisL1CaloClusterDataFormat::iphi, L1Analysis::L1AnalysisL1CaloTowerDataFormat::iphi, LEDCalibrationChannels::iphi, L1Analysis::L1AnalysisL1CaloClusterDataFormat::iqual, L1Analysis::L1AnalysisL1CaloTowerDataFormat::iqual, L1Analysis::L1AnalysisL1CaloTowerDataFormat::iratio, 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(), storeCaloClusters_, and tree_.
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 274 of file L1CaloTowerTreeProducer.cc.
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 277 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 87 of file L1CaloTowerTreeProducer.cc.
Referenced by analyze().
|
private |
Definition at line 78 of file L1CaloTowerTreeProducer.cc.
Referenced by analyze().
|
private |
Definition at line 84 of file L1CaloTowerTreeProducer.cc.
Referenced by analyze().
|
private |
Definition at line 91 of file L1CaloTowerTreeProducer.cc.
Referenced by L1CaloTowerTreeProducer().
|
private |
Definition at line 85 of file L1CaloTowerTreeProducer.cc.
Referenced by analyze().
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 88 of file L1CaloTowerTreeProducer.cc.
Referenced by analyze(), and L1CaloTowerTreeProducer().
|
private |
Definition at line 86 of file L1CaloTowerTreeProducer.cc.
Referenced by analyze().
|
private |
Definition at line 79 of file L1CaloTowerTreeProducer.cc.
|
private |
Definition at line 81 of file L1CaloTowerTreeProducer.cc.
|
private |
Definition at line 80 of file L1CaloTowerTreeProducer.cc.
|
private |
Definition at line 96 of file L1CaloTowerTreeProducer.cc.
Referenced by analyze(), and L1CaloTowerTreeProducer().
|
private |
Definition at line 94 of file L1CaloTowerTreeProducer.cc.
Referenced by analyze(), and L1CaloTowerTreeProducer().