CMS 3D CMS Logo

List of all members | Classes | Public Types | Public Member Functions | Static Public Attributes | Protected Member Functions | Private Member Functions | Private Attributes
L1TPhase2CorrelatorOffline Class Reference

#include <L1TPhase2CorrelatorOffline.h>

Inheritance diagram for L1TPhase2CorrelatorOffline:
DQMOneEDAnalyzer<> edm::one::EDProducer< edm::EndRunProducer, edm::one::WatchRuns, edm::Accumulator, Args... > edm::one::EDProducerBase edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

Classes

class  InCone
 
struct  McVars
 
class  MultiCollection
 
struct  RecoVars
 
struct  SimpleObject
 

Public Types

enum  PlotConfig { resVsPt, resVsEta, ptDist, etaDist }
 
- Public Types inherited from DQMOneEDAnalyzer<>
typedef dqm::reco::DQMStore DQMStore
 
typedef dqm::reco::MonitorElement MonitorElement
 
- Public Types inherited from edm::one::EDProducerBase
typedef EDProducerBase ModuleType
 
- Public Types inherited from edm::ProducerBase
template<typename T >
using BranchAliasSetterT = ProductRegistryHelper::BranchAliasSetterT< T >
 
using ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex > >
 
typedef ProductRegistryHelper::TypeLabelList TypeLabelList
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 

Public Member Functions

 L1TPhase2CorrelatorOffline (const edm::ParameterSet &ps)
 
 ~L1TPhase2CorrelatorOffline () override
 
- Public Member Functions inherited from DQMOneEDAnalyzer<>
void accumulate (edm::Event const &event, edm::EventSetup const &setup) override
 
void beginRun (edm::Run const &run, edm::EventSetup const &setup) final
 
 DQMOneEDAnalyzer ()
 
void endRun (edm::Run const &, edm::EventSetup const &) final
 
void endRunProduce (edm::Run &run, edm::EventSetup const &setup) final
 
virtual bool getCanSaveByLumi ()
 
- Public Member Functions inherited from edm::one::EDProducer< edm::EndRunProducer, edm::one::WatchRuns, edm::Accumulator, Args... >
 EDProducer ()=default
 
 EDProducer (const EDProducer &)=delete
 
SerialTaskQueueglobalLuminosityBlocksQueue () final
 
SerialTaskQueueglobalRunsQueue () final
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginProcessBlocks () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndProcessBlocks () const final
 
bool hasAbilityToProduceInEndRuns () const final
 
const EDProduceroperator= (const EDProducer &)=delete
 
bool wantsGlobalLuminosityBlocks () const final
 
bool wantsGlobalRuns () const final
 
bool wantsInputProcessBlocks () const final
 
bool wantsProcessBlocks () const final
 
- Public Member Functions inherited from edm::one::EDProducerBase
 EDProducerBase ()
 
ModuleDescription const & moduleDescription () const
 
bool wantsStreamLuminosityBlocks () const
 
bool wantsStreamRuns () const
 
 ~EDProducerBase () override
 
- Public Member Functions inherited from edm::ProducerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
std::vector< edm::ProductResolverIndex > const & indiciesForPutProducts (BranchType iBranchType) const
 
 ProducerBase ()
 
std::vector< edm::ProductResolverIndex > const & putTokenIndexToProductResolverIndex () const
 
std::vector< bool > const & recordProvenanceList () const
 
void registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &)
 
std::function< void(BranchDescription const &)> registrationCallback () const
 used by the fwk to register list of products More...
 
void resolvePutIndicies (BranchType iBranchType, ModuleToResolverIndicies const &iIndicies, std::string const &moduleLabel)
 
TypeLabelList const & typeLabelList () const
 used by the fwk to register the list of products of this module More...
 
 ~ProducerBase () noexcept(false) override
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
void convertCurrentProcessAlias (std::string const &processName)
 Convert "@currentProcess" in InputTag process names to the actual current process name. More...
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
 EDConsumerBase (EDConsumerBase &&)=default
 
ESResolverIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
std::vector< ESResolverIndex > const & esGetTokenIndicesVector (edm::Transition iTrans) const
 
std::vector< ESRecordIndex > const & esGetTokenRecordIndicesVector (edm::Transition iTrans) const
 
ProductResolverIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
std::vector< ProductResolverIndexAndSkipBit > const & itemsToGetFrom (BranchType iType) const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesWhoseProductsAreConsumed (std::array< std::vector< ModuleDescription const *> *, NumBranchTypes > &modulesAll, std::vector< ModuleProcessName > &modulesInPreviousProcesses, ProductRegistry const &preg, std::map< std::string, ModuleDescription const *> const &labelsToDesc, std::string const &processName) const
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
void selectInputProcessBlocks (ProductRegistry const &productRegistry, ProcessBlockHelperBase const &processBlockHelperBase)
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProductResolverIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 

Static Public Attributes

static const std::map< std::string, unsigned int > PlotConfigNames
 

Protected Member Functions

void analyze (edm::Event const &e, edm::EventSetup const &eSetup) override
 
void bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
 
void dqmBeginRun (const edm::Run &run, const edm::EventSetup &iSetup) override
 
void dqmEndRun (const edm::Run &run, const edm::EventSetup &iSetup) override
 
- Protected Member Functions inherited from edm::ProducerBase
template<Transition Tr = Transition::Event>
auto produces (std::string instanceName) noexcept
 declare what type of product will make and with which optional label More...
 
template<Transition B>
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
template<BranchType B>
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
template<typename ProductType , Transition B>
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
template<class ProductType >
BranchAliasSetterT< ProductType > produces ()
 
template<typename ProductType , BranchType B>
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
template<typename ProductType , BranchType B>
BranchAliasSetterT< ProductType > produces ()
 
template<class ProductType >
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
template<typename ProductType , Transition B>
BranchAliasSetterT< ProductType > produces ()
 
template<Transition Tr = Transition::Event>
auto produces () noexcept
 
ProducesCollector producesCollector ()
 
- 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< Bconsumes (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 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)
 

Private Member Functions

void bookPhase2CorrelatorHistos (DQMStore::IBooker &)
 
double calcDeltaPhi (double phi1, double phi2)
 
void computeResponseResolution ()
 
double Distance (const reco::Candidate &c1, const reco::Candidate &c2)
 
double DistancePhi (const reco::Candidate &c1, const reco::Candidate &c2)
 
std::vector< float > getQuantile (float quant, TH2F *hist)
 
void medianResponseCorrResolution (MonitorElement *in2D, MonitorElement *response, MonitorElement *resolution)
 

Private Attributes

edm::ESGetToken< MagneticField, IdealMagneticFieldRecordBFieldTag_
 
float bZ_
 
edm::EDGetTokenT< std::vector< reco::GenJet > > genJetToken_
 
edm::EDGetTokenT< std::vector< reco::GenParticle > > genParticleToken_
 
MonitorElementh_L1PF_eta_
 
MonitorElementh_L1PF_eta_ch_
 
MonitorElementh_L1PF_eta_el_
 
MonitorElementh_L1PF_eta_mu_
 
MonitorElementh_L1PF_eta_nh_
 
MonitorElementh_L1PF_eta_pho_
 
MonitorElementh_L1PF_jet_ptratio_vs_eta_
 
MonitorElementh_L1PF_jet_ptratio_vs_pt_barrel_
 
MonitorElementh_L1PF_jet_ptratio_vs_pt_ecnotk_
 
MonitorElementh_L1PF_jet_ptratio_vs_pt_endcap_
 
MonitorElementh_L1PF_jet_ptratio_vs_pt_hf_
 
MonitorElementh_L1PF_jet_resolution_pt_barrel_
 
MonitorElementh_L1PF_jet_resolution_pt_ecnotk_
 
MonitorElementh_L1PF_jet_resolution_pt_endcap_
 
MonitorElementh_L1PF_jet_resolution_pt_hf_
 
MonitorElementh_L1PF_jet_response_eta_
 
MonitorElementh_L1PF_jet_response_pt_barrel_
 
MonitorElementh_L1PF_jet_response_pt_ecnotk_
 
MonitorElementh_L1PF_jet_response_pt_endcap_
 
MonitorElementh_L1PF_jet_response_pt_hf_
 
MonitorElementh_L1PF_part_ptratio_0p2_vs_eta_
 
MonitorElementh_L1PF_part_ptratio_0p2_vs_pt_barrel_
 
MonitorElementh_L1PF_part_ptratio_0p2_vs_pt_ecnotk_
 
MonitorElementh_L1PF_part_ptratio_0p2_vs_pt_endcap_
 
MonitorElementh_L1PF_part_ptratio_0p2_vs_pt_hf_
 
MonitorElementh_L1PF_part_resolution_0p2_pt_barrel_
 
MonitorElementh_L1PF_part_resolution_0p2_pt_ecnotk_
 
MonitorElementh_L1PF_part_resolution_0p2_pt_endcap_
 
MonitorElementh_L1PF_part_resolution_0p2_pt_hf_
 
MonitorElementh_L1PF_part_response_0p2_eta_
 
MonitorElementh_L1PF_part_response_0p2_pt_barrel_
 
MonitorElementh_L1PF_part_response_0p2_pt_ecnotk_
 
MonitorElementh_L1PF_part_response_0p2_pt_endcap_
 
MonitorElementh_L1PF_part_response_0p2_pt_hf_
 
MonitorElementh_L1PF_pt_
 
MonitorElementh_L1PF_pt_ch_
 
MonitorElementh_L1PF_pt_el_
 
MonitorElementh_L1PF_pt_mu_
 
MonitorElementh_L1PF_pt_nh_
 
MonitorElementh_L1PF_pt_pho_
 
MonitorElementh_L1Puppi_eta_
 
MonitorElementh_L1Puppi_eta_ch_
 
MonitorElementh_L1Puppi_eta_el_
 
MonitorElementh_L1Puppi_eta_mu_
 
MonitorElementh_L1Puppi_eta_nh_
 
MonitorElementh_L1Puppi_eta_pho_
 
MonitorElementh_L1Puppi_jet_ptratio_vs_eta_
 
MonitorElementh_L1Puppi_jet_ptratio_vs_pt_barrel_
 
MonitorElementh_L1Puppi_jet_ptratio_vs_pt_ecnotk_
 
MonitorElementh_L1Puppi_jet_ptratio_vs_pt_endcap_
 
MonitorElementh_L1Puppi_jet_ptratio_vs_pt_hf_
 
MonitorElementh_L1Puppi_jet_resolution_pt_barrel_
 
MonitorElementh_L1Puppi_jet_resolution_pt_ecnotk_
 
MonitorElementh_L1Puppi_jet_resolution_pt_endcap_
 
MonitorElementh_L1Puppi_jet_resolution_pt_hf_
 
MonitorElementh_L1Puppi_jet_response_eta_
 
MonitorElementh_L1Puppi_jet_response_pt_barrel_
 
MonitorElementh_L1Puppi_jet_response_pt_ecnotk_
 
MonitorElementh_L1Puppi_jet_response_pt_endcap_
 
MonitorElementh_L1Puppi_jet_response_pt_hf_
 
MonitorElementh_L1Puppi_part_ptratio_0p2_vs_eta_
 
MonitorElementh_L1Puppi_part_ptratio_0p2_vs_pt_barrel_
 
MonitorElementh_L1Puppi_part_ptratio_0p2_vs_pt_ecnotk_
 
MonitorElementh_L1Puppi_part_ptratio_0p2_vs_pt_endcap_
 
MonitorElementh_L1Puppi_part_ptratio_0p2_vs_pt_hf_
 
MonitorElementh_L1Puppi_part_resolution_0p2_pt_barrel_
 
MonitorElementh_L1Puppi_part_resolution_0p2_pt_ecnotk_
 
MonitorElementh_L1Puppi_part_resolution_0p2_pt_endcap_
 
MonitorElementh_L1Puppi_part_resolution_0p2_pt_hf_
 
MonitorElementh_L1Puppi_part_response_0p2_eta_
 
MonitorElementh_L1Puppi_part_response_0p2_pt_barrel_
 
MonitorElementh_L1Puppi_part_response_0p2_pt_ecnotk_
 
MonitorElementh_L1Puppi_part_response_0p2_pt_endcap_
 
MonitorElementh_L1Puppi_part_response_0p2_pt_hf_
 
MonitorElementh_L1Puppi_pt_
 
MonitorElementh_L1Puppi_pt_ch_
 
MonitorElementh_L1Puppi_pt_el_
 
MonitorElementh_L1Puppi_pt_mu_
 
MonitorElementh_L1Puppi_pt_nh_
 
MonitorElementh_L1Puppi_pt_pho_
 
dqmoffline::l1t::HistDefinitions histDefinitions_
 
std::string histFolder_
 
bool isParticleGun_
 
struct L1TPhase2CorrelatorOffline::McVars mc_
 
edm::ParameterSet objs_
 
std::vector< edm::EDGetTokenT< std::vector< l1t::PFCandidate > > > phase2PFToken_
 
std::vector< edm::EDGetTokenT< std::vector< l1t::PFCandidate > > > phase2PuppiToken_
 
std::vector< std::pair< MultiCollection, RecoVars > > reco_
 
std::string respresolFolder_
 

Additional Inherited Members

- Static Public Member Functions inherited from edm::one::EDProducerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 
- Protected Attributes inherited from DQMOneEDAnalyzer<>
edm::EDPutTokenT< DQMTokenrunToken_
 

Detailed Description

Definition at line 48 of file L1TPhase2CorrelatorOffline.h.

Member Enumeration Documentation

◆ PlotConfig

Constructor & Destructor Documentation

◆ L1TPhase2CorrelatorOffline()

L1TPhase2CorrelatorOffline::L1TPhase2CorrelatorOffline ( const edm::ParameterSet ps)

Definition at line 35 of file L1TPhase2CorrelatorOffline.cc.

36  : genJetToken_(consumes<std::vector<reco::GenJet>>(ps.getUntrackedParameter<edm::InputTag>("genJetsInputTag"))),
38  consumes<std::vector<reco::GenParticle>>(ps.getUntrackedParameter<edm::InputTag>("genParticlesInputTag"))),
39  BFieldTag_{esConsumes<MagneticField, IdealMagneticFieldRecord, edm::Transition::BeginRun>()},
40  objs_(ps.getParameter<edm::ParameterSet>("objects")),
41  isParticleGun_(ps.getParameter<bool>("isParticleGun")),
42  histFolder_(ps.getParameter<std::string>("histFolder")),
43  respresolFolder_(histFolder_ + "/respresol_raw"),
45  h_L1PF_pt_(),
46  h_L1PF_eta_(),
47  h_L1Puppi_pt_(),
49  h_L1PF_pt_mu_(),
53  h_L1PF_pt_el_(),
61  h_L1PF_pt_ch_(),
65  h_L1PF_pt_nh_(),
89  edm::LogInfo("L1TPhase2CorrelatorOffline") << "Constructor "
90  << "L1TPhase2CorrelatorOffline::L1TPhase2CorrelatorOffline " << std::endl;
91 
92  auto reconames = objs_.getParameterNamesForType<std::vector<edm::InputTag>>();
93  for (const std::string& name : reconames) {
95  }
96  for (auto& obj : objs_.getParameter<std::vector<edm::InputTag>>("L1PF")) {
97  phase2PFToken_.push_back(consumes<std::vector<l1t::PFCandidate>>(obj));
98  }
99  for (auto& obj : objs_.getParameter<std::vector<edm::InputTag>>("L1Puppi")) {
100  phase2PuppiToken_.push_back(consumes<std::vector<l1t::PFCandidate>>(obj));
101  }
102 }
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > BFieldTag_
MonitorElement * h_L1Puppi_part_ptratio_0p2_vs_pt_endcap_
MonitorElement * h_L1Puppi_part_ptratio_0p2_vs_pt_barrel_
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
std::vector< edm::EDGetTokenT< std::vector< l1t::PFCandidate > > > phase2PFToken_
MonitorElement * h_L1Puppi_jet_ptratio_vs_pt_barrel_
edm::EDGetTokenT< std::vector< reco::GenParticle > > genParticleToken_
static const std::map< std::string, unsigned int > PlotConfigNames
ParameterSet const & getParameterSet(std::string const &) const
MonitorElement * h_L1PF_part_ptratio_0p2_vs_pt_endcap_
MonitorElement * h_L1Puppi_part_ptratio_0p2_vs_eta_
MonitorElement * h_L1Puppi_jet_ptratio_vs_pt_ecnotk_
dqmoffline::l1t::HistDefinitions histDefinitions_
std::vector< std::pair< MultiCollection, RecoVars > > reco_
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
T getUntrackedParameter(std::string const &, T const &) const
ConsumesCollector consumesCollector()
Use a ConsumesCollector to gather consumes information from helper functions.
std::vector< std::string > getParameterNamesForType(bool trackiness=true) const
Definition: ParameterSet.h:179
MonitorElement * h_L1Puppi_part_ptratio_0p2_vs_pt_hf_
MonitorElement * h_L1PF_part_ptratio_0p2_vs_pt_hf_
MonitorElement * h_L1PF_part_ptratio_0p2_vs_pt_barrel_
MonitorElement * h_L1Puppi_jet_ptratio_vs_pt_endcap_
Log< level::Info, false > LogInfo
HistDefinitions readHistDefinitions(const edm::ParameterSet &ps, const std::map< std::string, unsigned int > &mapping)
MonitorElement * h_L1PF_part_ptratio_0p2_vs_pt_ecnotk_
std::vector< edm::EDGetTokenT< std::vector< l1t::PFCandidate > > > phase2PuppiToken_
edm::EDGetTokenT< std::vector< reco::GenJet > > genJetToken_
MonitorElement * h_L1Puppi_part_ptratio_0p2_vs_pt_ecnotk_

◆ ~L1TPhase2CorrelatorOffline()

L1TPhase2CorrelatorOffline::~L1TPhase2CorrelatorOffline ( )
override

Definition at line 107 of file L1TPhase2CorrelatorOffline.cc.

107  {
108  edm::LogInfo("L1TPhase2CorrelatorOffline")
109  << "Destructor L1TPhase2CorrelatorOffline::~L1TPhase2CorrelatorOffline " << std::endl;
110 }
Log< level::Info, false > LogInfo

Member Function Documentation

◆ analyze()

void L1TPhase2CorrelatorOffline::analyze ( edm::Event const &  e,
edm::EventSetup const &  eSetup 
)
overrideprotectedvirtual

Reimplemented from DQMOneEDAnalyzer<>.

Definition at line 134 of file L1TPhase2CorrelatorOffline.cc.

References funct::abs(), bZ_, L1TPhase2CorrelatorOffline::McVars::caloeta, L1TPhase2CorrelatorOffline::McVars::calophi, HLTMuonOfflineAnalyzer_cfi::deltaR2, MillePedeFileConverter_cfg::e, L1TPhase2CorrelatorOffline::McVars::eta, f, dqm::impl::MonitorElement::Fill(), L1TPhase2CorrelatorOffline::McVars::fillP4(), L1TPhase2CorrelatorOffline::McVars::fillPropagated(), genJetToken_, electrons_cff::genparticles, genParticleToken_, runTauDisplay::gp, h_L1PF_eta_, h_L1PF_eta_ch_, h_L1PF_eta_el_, h_L1PF_eta_mu_, h_L1PF_eta_nh_, h_L1PF_eta_pho_, h_L1PF_jet_ptratio_vs_eta_, h_L1PF_jet_ptratio_vs_pt_barrel_, h_L1PF_jet_ptratio_vs_pt_ecnotk_, h_L1PF_jet_ptratio_vs_pt_endcap_, h_L1PF_jet_ptratio_vs_pt_hf_, h_L1PF_part_ptratio_0p2_vs_eta_, h_L1PF_part_ptratio_0p2_vs_pt_barrel_, h_L1PF_part_ptratio_0p2_vs_pt_ecnotk_, h_L1PF_part_ptratio_0p2_vs_pt_endcap_, h_L1PF_part_ptratio_0p2_vs_pt_hf_, h_L1PF_pt_, h_L1PF_pt_ch_, h_L1PF_pt_el_, h_L1PF_pt_mu_, h_L1PF_pt_nh_, h_L1PF_pt_pho_, h_L1Puppi_eta_, h_L1Puppi_eta_ch_, h_L1Puppi_eta_el_, h_L1Puppi_eta_mu_, h_L1Puppi_eta_nh_, h_L1Puppi_eta_pho_, h_L1Puppi_jet_ptratio_vs_eta_, h_L1Puppi_jet_ptratio_vs_pt_barrel_, h_L1Puppi_jet_ptratio_vs_pt_ecnotk_, h_L1Puppi_jet_ptratio_vs_pt_endcap_, h_L1Puppi_jet_ptratio_vs_pt_hf_, h_L1Puppi_part_ptratio_0p2_vs_eta_, h_L1Puppi_part_ptratio_0p2_vs_pt_barrel_, h_L1Puppi_part_ptratio_0p2_vs_pt_ecnotk_, h_L1Puppi_part_ptratio_0p2_vs_pt_endcap_, h_L1Puppi_part_ptratio_0p2_vs_pt_hf_, h_L1Puppi_pt_, h_L1Puppi_pt_ch_, h_L1Puppi_pt_el_, h_L1Puppi_pt_mu_, h_L1Puppi_pt_nh_, h_L1Puppi_pt_pho_, mps_fire::i, L1TPhase2CorrelatorOffline::McVars::id, L1TPhase2CorrelatorOffline::McVars::iso02, L1TPhase2CorrelatorOffline::McVars::iso04, L1TPhase2CorrelatorOffline::McVars::iso08, isParticleGun_, match(), mc_, dqmiodumpmetadata::n, convertSQLiteXML::ok, reco::Candidate::p4(), reco::Candidate::pdgId(), phase2PFToken_, phase2PuppiToken_, L1TPhase2CorrelatorOffline::McVars::phi, L1TPhase2CorrelatorOffline::McVars::pt, reco_, and Tau3MuMonitor_cff::taus.

134  {
137  e.getByToken(genJetToken_, genjets);
138  e.getByToken(genParticleToken_, genparticles);
139 
140  std::vector<const reco::GenParticle*> prompts, taus;
141  for (const reco::GenParticle& gen : *genparticles) {
142  if (isParticleGun_) {
143  if (gen.statusFlags().isPrompt() == 1)
144  prompts.push_back(&gen);
145  continue;
146  }
147  if ((gen.isPromptFinalState() || gen.isDirectPromptTauDecayProductFinalState()) &&
148  (std::abs(gen.pdgId()) == 11 || std::abs(gen.pdgId()) == 13) && gen.pt() > 5) {
149  prompts.push_back(&gen);
150  } else if (gen.isPromptFinalState() && std::abs(gen.pdgId()) == 22 && gen.pt() > 10) {
151  prompts.push_back(&gen);
152  } else if (abs(gen.pdgId()) == 15 && gen.isPromptDecayed()) {
153  taus.push_back(&gen);
154  }
155  }
156 
157  for (auto& recopair : reco_) {
158  recopair.first.get(e);
159  }
160 
161  for (const reco::GenJet& j1 : *genjets) {
162  bool ok = true;
163  const reco::Candidate* match = nullptr;
164  for (const reco::GenParticle* gp : prompts) {
165  if (::deltaR2(*gp, j1) < 0.16f) {
166  if (match != nullptr) {
167  ok = false;
168  break;
169  } else {
170  match = gp;
171  }
172  }
173  }
174  if (!ok)
175  continue;
176  if (!match) {
177  // look for a tau
178  for (const reco::GenParticle* gp : taus) {
179  if (::deltaR2(*gp, j1) < 0.16f) {
180  if (match != nullptr) {
181  ok = false;
182  break;
183  } else {
184  match = gp;
185  }
186  }
187  }
188  if (!ok)
189  continue;
190  if (match != nullptr && match->numberOfDaughters() == 2 &&
191  std::abs(match->daughter(0)->pdgId()) + std::abs(match->daughter(1)->pdgId()) == 211 + 16) {
192  // one-prong tau, consider it a pion
193  match = (std::abs(match->daughter(0)->pdgId()) == 211 ? match->daughter(0) : match->daughter(1));
194  }
195  }
196  if (match != nullptr) {
197  if (std::abs(match->pdgId()) == 15) {
199  for (unsigned int i = 0, n = match->numberOfDaughters(); i < n; ++i) {
200  const reco::Candidate* dau = match->daughter(i);
201  if (std::abs(dau->pdgId()) == 12 || std::abs(dau->pdgId()) == 14 || std::abs(dau->pdgId()) == 16) {
202  continue;
203  }
204  pvis += dau->p4();
205  }
206  mc_.pt = pvis.Pt();
207  mc_.eta = pvis.Eta();
208  mc_.phi = pvis.Phi();
209  } else {
210  mc_.fillP4(*match);
212  }
213  mc_.id = std::abs(match->pdgId());
214  mc_.iso04 = j1.pt() / mc_.pt - 1;
215  mc_.iso02 = 0;
216  for (const auto& dptr : j1.daughterPtrVector()) {
217  if (::deltaR2(*dptr, *match) < 0.04f) {
218  mc_.iso02 += dptr->pt();
219  }
220  }
221  mc_.iso02 = mc_.iso02 / mc_.pt - 1;
222  } else {
223  if (j1.pt() < 20)
224  continue;
225  mc_.fillP4(j1);
226  mc_.id = 0;
227  mc_.iso02 = 0;
228  mc_.iso04 = 0;
229  }
230  mc_.iso08 = mc_.iso04;
231  for (const reco::GenJet& j2 : *genjets) {
232  if (&j2 == &j1)
233  continue;
234  if (::deltaR2(j1, j2) < 0.64f)
235  mc_.iso08 += j2.pt() / mc_.pt;
236  }
237  for (auto& recopair : reco_) {
238  recopair.second.fill(recopair.first.objects(),
239  recopair.first.prop() ? mc_.caloeta : mc_.eta,
240  recopair.first.prop() ? mc_.calophi : mc_.phi);
241 
242  if (abs(mc_.id) != 0 && fabs(mc_.iso04) < 0.05) {
243  if (recopair.first.name() == "L1PF") {
244  if (fabs(mc_.eta) < 1.5) {
245  h_L1PF_part_ptratio_0p2_vs_pt_barrel_->Fill(mc_.pt, recopair.second.pt02 / mc_.pt);
246  } else if (fabs(mc_.eta) < 2.5) {
247  h_L1PF_part_ptratio_0p2_vs_pt_endcap_->Fill(mc_.pt, recopair.second.pt02 / mc_.pt);
248  } else if (fabs(mc_.eta) < 3.) {
249  h_L1PF_part_ptratio_0p2_vs_pt_ecnotk_->Fill(mc_.pt, recopair.second.pt02 / mc_.pt);
250  } else if (fabs(mc_.eta) < 5.) {
251  h_L1PF_part_ptratio_0p2_vs_pt_hf_->Fill(mc_.pt, recopair.second.pt02 / mc_.pt);
252  }
253  h_L1PF_part_ptratio_0p2_vs_eta_->Fill(mc_.eta, recopair.second.pt02 / mc_.pt);
254  }
255  if (recopair.first.name() == "L1Puppi") {
256  if (fabs(mc_.eta) < 1.5) {
257  h_L1Puppi_part_ptratio_0p2_vs_pt_barrel_->Fill(mc_.pt, recopair.second.pt02 / mc_.pt);
258  } else if (fabs(mc_.eta) < 2.5) {
259  h_L1Puppi_part_ptratio_0p2_vs_pt_endcap_->Fill(mc_.pt, recopair.second.pt02 / mc_.pt);
260  } else if (fabs(mc_.eta) < 3.) {
261  h_L1Puppi_part_ptratio_0p2_vs_pt_ecnotk_->Fill(mc_.pt, recopair.second.pt02 / mc_.pt);
262  } else if (fabs(mc_.eta) < 5.) {
263  h_L1Puppi_part_ptratio_0p2_vs_pt_hf_->Fill(mc_.pt, recopair.second.pt02 / mc_.pt);
264  }
265  h_L1Puppi_part_ptratio_0p2_vs_eta_->Fill(mc_.eta, recopair.second.pt02 / mc_.pt);
266  }
267  }
268  if (abs(mc_.id) == 0) {
269  if (recopair.first.name() == "L1PF") {
270  if (fabs(mc_.eta) < 1.5) {
271  h_L1PF_jet_ptratio_vs_pt_barrel_->Fill(mc_.pt, recopair.second.pt / mc_.pt);
272  } else if (fabs(mc_.eta) < 2.5) {
273  h_L1PF_jet_ptratio_vs_pt_endcap_->Fill(mc_.pt, recopair.second.pt / mc_.pt);
274  } else if (fabs(mc_.eta) < 3.) {
275  h_L1PF_jet_ptratio_vs_pt_ecnotk_->Fill(mc_.pt, recopair.second.pt / mc_.pt);
276  } else if (fabs(mc_.eta) < 5.) {
277  h_L1PF_jet_ptratio_vs_pt_hf_->Fill(mc_.pt, recopair.second.pt / mc_.pt);
278  }
279  h_L1PF_jet_ptratio_vs_eta_->Fill(mc_.eta, recopair.second.pt / mc_.pt);
280  }
281  if (recopair.first.name() == "L1Puppi") {
282  if (fabs(mc_.eta) < 1.5) {
283  h_L1Puppi_jet_ptratio_vs_pt_barrel_->Fill(mc_.pt, recopair.second.pt / mc_.pt);
284  } else if (fabs(mc_.eta) < 2.5) {
285  h_L1Puppi_jet_ptratio_vs_pt_endcap_->Fill(mc_.pt, recopair.second.pt / mc_.pt);
286  } else if (fabs(mc_.eta) < 3.) {
287  h_L1Puppi_jet_ptratio_vs_pt_ecnotk_->Fill(mc_.pt, recopair.second.pt / mc_.pt);
288  } else if (fabs(mc_.eta) < 5.) {
289  h_L1Puppi_jet_ptratio_vs_pt_hf_->Fill(mc_.pt, recopair.second.pt / mc_.pt);
290  }
291  h_L1Puppi_jet_ptratio_vs_eta_->Fill(mc_.eta, recopair.second.pt / mc_.pt);
292  }
293  }
294  }
295  }
296  for (auto& recopair : reco_) {
297  recopair.first.clear();
298  recopair.second.clear();
299  }
300 
301  for (auto& pfToken : phase2PFToken_) {
303  e.getByToken(pfToken, l1pfs);
304 
305  for (const auto& pfc : *l1pfs) {
306  h_L1PF_pt_->Fill(pfc.pt());
307  h_L1PF_eta_->Fill(pfc.eta());
308  if (abs(pfc.pdgId()) == 13) {
309  h_L1PF_pt_mu_->Fill(pfc.pt());
310  h_L1PF_eta_mu_->Fill(pfc.eta());
311  } else if (abs(pfc.pdgId()) == 11) {
312  h_L1PF_pt_el_->Fill(pfc.pt());
313  h_L1PF_eta_el_->Fill(pfc.eta());
314  } else if (abs(pfc.pdgId()) == 22) {
315  h_L1PF_pt_pho_->Fill(pfc.pt());
316  h_L1PF_eta_pho_->Fill(pfc.eta());
317  } else if (abs(pfc.pdgId()) == 211) {
318  h_L1PF_pt_ch_->Fill(pfc.pt());
319  h_L1PF_eta_ch_->Fill(pfc.eta());
320  } else if (abs(pfc.pdgId()) == 130) {
321  h_L1PF_pt_nh_->Fill(pfc.pt());
322  h_L1PF_eta_nh_->Fill(pfc.eta());
323  }
324  } // loop over L1 PF
325  }
326  for (auto& pupToken : phase2PuppiToken_) {
328  e.getByToken(pupToken, l1pups);
329  for (const auto& pupc : *l1pups) {
330  h_L1Puppi_pt_->Fill(pupc.pt());
331  h_L1Puppi_eta_->Fill(pupc.eta());
332  if (abs(pupc.pdgId()) == 13) {
333  h_L1Puppi_pt_mu_->Fill(pupc.pt());
334  h_L1Puppi_eta_mu_->Fill(pupc.eta());
335  } else if (abs(pupc.pdgId()) == 11) {
336  h_L1Puppi_pt_el_->Fill(pupc.pt());
337  h_L1Puppi_eta_el_->Fill(pupc.eta());
338  } else if (abs(pupc.pdgId()) == 22) {
339  h_L1Puppi_pt_pho_->Fill(pupc.pt());
340  h_L1Puppi_eta_pho_->Fill(pupc.eta());
341  } else if (abs(pupc.pdgId()) == 211) {
342  h_L1Puppi_pt_ch_->Fill(pupc.pt());
343  h_L1Puppi_eta_ch_->Fill(pupc.eta());
344  } else if (abs(pupc.pdgId()) == 130) {
345  h_L1Puppi_pt_nh_->Fill(pupc.pt());
346  h_L1Puppi_eta_nh_->Fill(pupc.eta());
347  }
348  } // loop over L1 Puppi
349  }
350 }
void fillPropagated(const reco::Candidate &cand, float bz)
MonitorElement * h_L1Puppi_part_ptratio_0p2_vs_pt_endcap_
MonitorElement * h_L1Puppi_part_ptratio_0p2_vs_pt_barrel_
std::vector< edm::EDGetTokenT< std::vector< l1t::PFCandidate > > > phase2PFToken_
MonitorElement * h_L1Puppi_jet_ptratio_vs_pt_barrel_
edm::EDGetTokenT< std::vector< reco::GenParticle > > genParticleToken_
struct L1TPhase2CorrelatorOffline::McVars mc_
MonitorElement * h_L1PF_part_ptratio_0p2_vs_pt_endcap_
MonitorElement * h_L1Puppi_part_ptratio_0p2_vs_eta_
MonitorElement * h_L1Puppi_jet_ptratio_vs_pt_ecnotk_
void fillP4(const reco::Candidate &cand)
std::vector< std::pair< MultiCollection, RecoVars > > reco_
void Fill(long long x)
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
Jets made from MC generator particles.
Definition: GenJet.h:23
MonitorElement * h_L1Puppi_part_ptratio_0p2_vs_pt_hf_
double f[11][100]
MonitorElement * h_L1PF_part_ptratio_0p2_vs_pt_hf_
MonitorElement * h_L1PF_part_ptratio_0p2_vs_pt_barrel_
MonitorElement * h_L1Puppi_jet_ptratio_vs_pt_endcap_
virtual int pdgId() const =0
PDG identifier.
MonitorElement * h_L1PF_part_ptratio_0p2_vs_pt_ecnotk_
std::vector< edm::EDGetTokenT< std::vector< l1t::PFCandidate > > > phase2PuppiToken_
edm::EDGetTokenT< std::vector< reco::GenJet > > genJetToken_
MonitorElement * h_L1Puppi_part_ptratio_0p2_vs_pt_ecnotk_
std::pair< typename Association::data_type::first_type, double > match(Reference key, Association association, bool bestMatchByMaxValue)
Generic matching function.
Definition: Utils.h:10
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition: Particle.h:21
virtual const LorentzVector & p4() const =0
four-momentum Lorentz vector

◆ bookHistograms()

void L1TPhase2CorrelatorOffline::bookHistograms ( DQMStore::IBooker ibooker,
edm::Run const &  ,
edm::EventSetup const &   
)
overrideprotectedvirtual

Implements DQMOneEDAnalyzer<>.

Definition at line 124 of file L1TPhase2CorrelatorOffline.cc.

References bookPhase2CorrelatorHistos().

124  {
125  edm::LogInfo("L1TPhase2CorrelatorOffline") << "L1TPhase2CorrelatorOffline::bookHistograms" << std::endl;
126 
127  // book at beginRun
129 }
void bookPhase2CorrelatorHistos(DQMStore::IBooker &)
Log< level::Info, false > LogInfo

◆ bookPhase2CorrelatorHistos()

void L1TPhase2CorrelatorOffline::bookPhase2CorrelatorHistos ( DQMStore::IBooker ibooker)
private

Definition at line 358 of file L1TPhase2CorrelatorOffline.cc.

References dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::book2D(), dqm::implementation::NavigatorBase::cd(), L1TPhase2Offline_cfi::etaDist, h_L1PF_eta_, h_L1PF_eta_ch_, h_L1PF_eta_el_, h_L1PF_eta_mu_, h_L1PF_eta_nh_, h_L1PF_eta_pho_, h_L1PF_jet_ptratio_vs_eta_, h_L1PF_jet_ptratio_vs_pt_barrel_, h_L1PF_jet_ptratio_vs_pt_ecnotk_, h_L1PF_jet_ptratio_vs_pt_endcap_, h_L1PF_jet_ptratio_vs_pt_hf_, h_L1PF_jet_resolution_pt_barrel_, h_L1PF_jet_resolution_pt_ecnotk_, h_L1PF_jet_resolution_pt_endcap_, h_L1PF_jet_resolution_pt_hf_, h_L1PF_jet_response_eta_, h_L1PF_jet_response_pt_barrel_, h_L1PF_jet_response_pt_ecnotk_, h_L1PF_jet_response_pt_endcap_, h_L1PF_jet_response_pt_hf_, h_L1PF_part_ptratio_0p2_vs_eta_, h_L1PF_part_ptratio_0p2_vs_pt_barrel_, h_L1PF_part_ptratio_0p2_vs_pt_ecnotk_, h_L1PF_part_ptratio_0p2_vs_pt_endcap_, h_L1PF_part_ptratio_0p2_vs_pt_hf_, h_L1PF_part_resolution_0p2_pt_barrel_, h_L1PF_part_resolution_0p2_pt_ecnotk_, h_L1PF_part_resolution_0p2_pt_endcap_, h_L1PF_part_resolution_0p2_pt_hf_, h_L1PF_part_response_0p2_eta_, h_L1PF_part_response_0p2_pt_barrel_, h_L1PF_part_response_0p2_pt_ecnotk_, h_L1PF_part_response_0p2_pt_endcap_, h_L1PF_part_response_0p2_pt_hf_, h_L1PF_pt_, h_L1PF_pt_ch_, h_L1PF_pt_el_, h_L1PF_pt_mu_, h_L1PF_pt_nh_, h_L1PF_pt_pho_, h_L1Puppi_eta_, h_L1Puppi_eta_ch_, h_L1Puppi_eta_el_, h_L1Puppi_eta_mu_, h_L1Puppi_eta_nh_, h_L1Puppi_eta_pho_, h_L1Puppi_jet_ptratio_vs_eta_, h_L1Puppi_jet_ptratio_vs_pt_barrel_, h_L1Puppi_jet_ptratio_vs_pt_ecnotk_, h_L1Puppi_jet_ptratio_vs_pt_endcap_, h_L1Puppi_jet_ptratio_vs_pt_hf_, h_L1Puppi_jet_resolution_pt_barrel_, h_L1Puppi_jet_resolution_pt_ecnotk_, h_L1Puppi_jet_resolution_pt_endcap_, h_L1Puppi_jet_resolution_pt_hf_, h_L1Puppi_jet_response_eta_, h_L1Puppi_jet_response_pt_barrel_, h_L1Puppi_jet_response_pt_ecnotk_, h_L1Puppi_jet_response_pt_endcap_, h_L1Puppi_jet_response_pt_hf_, h_L1Puppi_part_ptratio_0p2_vs_eta_, h_L1Puppi_part_ptratio_0p2_vs_pt_barrel_, h_L1Puppi_part_ptratio_0p2_vs_pt_ecnotk_, h_L1Puppi_part_ptratio_0p2_vs_pt_endcap_, h_L1Puppi_part_ptratio_0p2_vs_pt_hf_, h_L1Puppi_part_resolution_0p2_pt_barrel_, h_L1Puppi_part_resolution_0p2_pt_ecnotk_, h_L1Puppi_part_resolution_0p2_pt_endcap_, h_L1Puppi_part_resolution_0p2_pt_hf_, h_L1Puppi_part_response_0p2_eta_, h_L1Puppi_part_response_0p2_pt_barrel_, h_L1Puppi_part_response_0p2_pt_ecnotk_, h_L1Puppi_part_response_0p2_pt_endcap_, h_L1Puppi_part_response_0p2_pt_hf_, h_L1Puppi_pt_, h_L1Puppi_pt_ch_, h_L1Puppi_pt_el_, h_L1Puppi_pt_mu_, h_L1Puppi_pt_nh_, h_L1Puppi_pt_pho_, histDefinitions_, histFolder_, dqmoffline::l1t::HistDefinition::nbinsX, L1TPhase2Offline_cfi::ptDist, respresolFolder_, L1TPhase2Offline_cfi::resVsEta, L1TPhase2Offline_cfi::resVsPt, dqm::implementation::NavigatorBase::setCurrentFolder(), dqm::implementation::IBooker::setScope(), dqmoffline::l1t::HistDefinition::xmax, and dqmoffline::l1t::HistDefinition::xmin.

Referenced by bookHistograms().

358  {
359  ibooker.cd();
360  ibooker.setCurrentFolder(histFolder_);
361  ibooker.setScope(MonitorElementData::Scope::RUN);
362 
367 
368  int ptratio_nbins = 300;
369  float ptratio_lo = 0.;
370  float ptratio_hi = 3.;
371 
372  h_L1PF_pt_ = ibooker.book1D("PF_pt", "L1 PF p_{T}", ptDistDef.nbinsX, ptDistDef.xmin, ptDistDef.xmax);
373  h_L1PF_eta_ = ibooker.book1D("PF_eta", "L1 PF #eta", etaDistDef.nbinsX, etaDistDef.xmin, etaDistDef.xmax);
374  h_L1Puppi_pt_ = ibooker.book1D("Puppi_pt", "L1 PUPPI p_{T}", ptDistDef.nbinsX, ptDistDef.xmin, ptDistDef.xmax);
375  h_L1Puppi_eta_ = ibooker.book1D("Puppi_eta", "L1 PUPPI #eta", etaDistDef.nbinsX, etaDistDef.xmin, etaDistDef.xmax);
376 
377  h_L1PF_pt_mu_ = ibooker.book1D("PF_pt_mu", "L1 PF Muon p_{T}", ptDistDef.nbinsX, ptDistDef.xmin, ptDistDef.xmax);
378  h_L1PF_eta_mu_ = ibooker.book1D("PF_eta_mu", "L1 PF Muon #eta", etaDistDef.nbinsX, etaDistDef.xmin, etaDistDef.xmax);
380  ibooker.book1D("Puppi_pt_mu", "L1 PUPPI Muon p_{T}", ptDistDef.nbinsX, ptDistDef.xmin, ptDistDef.xmax);
382  ibooker.book1D("Puppi_eta_mu", "L1 PUPPI Muon #eta", etaDistDef.nbinsX, etaDistDef.xmin, etaDistDef.xmax);
383 
384  h_L1PF_pt_el_ = ibooker.book1D("PF_pt_el", "L1 PF Electron p_{T}", ptDistDef.nbinsX, ptDistDef.xmin, ptDistDef.xmax);
386  ibooker.book1D("PF_eta_el", "L1 PF Electron #eta", etaDistDef.nbinsX, etaDistDef.xmin, etaDistDef.xmax);
388  ibooker.book1D("Puppi_pt_el", "L1 PUPPI Electron p_{T}", ptDistDef.nbinsX, ptDistDef.xmin, ptDistDef.xmax);
390  ibooker.book1D("Puppi_eta_el", "L1 PUPPI Electron #eta", etaDistDef.nbinsX, etaDistDef.xmin, etaDistDef.xmax);
391 
392  h_L1PF_pt_pho_ = ibooker.book1D("PF_pt_pho", "L1 PF Photon p_{T}", ptDistDef.nbinsX, ptDistDef.xmin, ptDistDef.xmax);
394  ibooker.book1D("PF_eta_pho", "L1 PF Photon #eta", etaDistDef.nbinsX, etaDistDef.xmin, etaDistDef.xmax);
396  ibooker.book1D("Puppi_pt_pho", "L1 PUPPI Photon p_{T}", ptDistDef.nbinsX, ptDistDef.xmin, ptDistDef.xmax);
398  ibooker.book1D("Puppi_eta_pho", "L1 PUPPI Photon #eta", etaDistDef.nbinsX, etaDistDef.xmin, etaDistDef.xmax);
399 
400  h_L1PF_pt_ch_ =
401  ibooker.book1D("PF_pt_ch", "L1 PF Charged Hadron p_{T}", ptDistDef.nbinsX, ptDistDef.xmin, ptDistDef.xmax);
403  ibooker.book1D("PF_eta_ch", "L1 PF Charged Hadron #eta", etaDistDef.nbinsX, etaDistDef.xmin, etaDistDef.xmax);
405  ibooker.book1D("Puppi_pt_ch", "L1 PUPPI Charged Hadron p_{T}", ptDistDef.nbinsX, ptDistDef.xmin, ptDistDef.xmax);
406  h_L1Puppi_eta_ch_ = ibooker.book1D(
407  "Puppi_eta_ch", "L1 PUPPI Charged Hadron #eta", etaDistDef.nbinsX, etaDistDef.xmin, etaDistDef.xmax);
408 
409  h_L1PF_pt_nh_ =
410  ibooker.book1D("PF_pt_nh", "L1 PF Neutral Hadron p_{T}", ptDistDef.nbinsX, ptDistDef.xmin, ptDistDef.xmax);
412  ibooker.book1D("PF_eta_nh", "L1 PF Neutral Hadron #eta", etaDistDef.nbinsX, etaDistDef.xmin, etaDistDef.xmax);
414  ibooker.book1D("Puppi_pt_nh", "L1 PUPPI Neutral Hadron p_{T}", ptDistDef.nbinsX, ptDistDef.xmin, ptDistDef.xmax);
415  h_L1Puppi_eta_nh_ = ibooker.book1D(
416  "Puppi_eta_nh", "L1 PUPPI Neutral Hadron #eta", etaDistDef.nbinsX, etaDistDef.xmin, etaDistDef.xmax);
417 
419 
420  h_L1PF_part_ptratio_0p2_vs_pt_barrel_ = ibooker.book2D("L1PFParticlePtRatio0p2VsPtBarrel",
421  "L1 PF Particle L1/Gen (#Delta R < 0.2) vs p_{T}, Barrel",
422  resVsPtDef.nbinsX,
423  resVsPtDef.xmin,
424  resVsPtDef.xmax,
425  ptratio_nbins,
426  ptratio_lo,
427  ptratio_hi);
428 
429  h_L1PF_part_ptratio_0p2_vs_pt_endcap_ = ibooker.book2D("L1PFParticlePtRatio0p2VsPtEndcap",
430  "L1 PF Particle L1/Gen (#Delta R < 0.2) vs p_{T}, Endcap",
431  resVsPtDef.nbinsX,
432  resVsPtDef.xmin,
433  resVsPtDef.xmax,
434  ptratio_nbins,
435  ptratio_lo,
436  ptratio_hi);
437 
439  ibooker.book2D("L1PFParticlePtRatio0p2VsPtEndcapNoTk",
440  "L1 PF Particle L1/Gen (#Delta R < 0.2) vs p_{T}, Endcap No Tk",
441  resVsPtDef.nbinsX,
442  resVsPtDef.xmin,
443  resVsPtDef.xmax,
444  ptratio_nbins,
445  ptratio_lo,
446  ptratio_hi);
447 
448  h_L1PF_part_ptratio_0p2_vs_pt_hf_ = ibooker.book2D("L1PFParticlePtRatio0p2VsPtHF",
449  "L1 PF Particle L1/Gen (#Delta R < 0.2) vs p_{T}, HF",
450  resVsPtDef.nbinsX,
451  resVsPtDef.xmin,
452  resVsPtDef.xmax,
453  ptratio_nbins,
454  ptratio_lo,
455  ptratio_hi);
456 
457  h_L1PF_part_ptratio_0p2_vs_eta_ = ibooker.book2D("L1PFParticlePtRatio0p2VsEta",
458  "L1 PF Particle L1/Gen (#Delta R < 0.2) vs #eta",
459  resVsEtaDef.nbinsX,
460  resVsEtaDef.xmin,
461  resVsEtaDef.xmax,
462  ptratio_nbins,
463  ptratio_lo,
464  ptratio_hi);
465 
467  ibooker.book2D("L1PUPPIParticlePtRatio0p2VsPtBarrel",
468  "L1 PUPPI Particle L1/Gen (#Delta R < 0.2) vs p_{T}, Barrel",
469  resVsPtDef.nbinsX,
470  resVsPtDef.xmin,
471  resVsPtDef.xmax,
472  ptratio_nbins,
473  ptratio_lo,
474  ptratio_hi);
475 
477  ibooker.book2D("L1PUPPIParticlePtRatio0p2VsPtEndcap",
478  "L1 PUPPI Particle L1/Gen (#Delta R < 0.2) vs p_{T}, Endcap",
479  resVsPtDef.nbinsX,
480  resVsPtDef.xmin,
481  resVsPtDef.xmax,
482  ptratio_nbins,
483  ptratio_lo,
484  ptratio_hi);
485 
487  ibooker.book2D("L1PUPPIParticlePtRatio0p2VsPtEndcapNoTk",
488  "L1 PUPPI Particle L1/Gen (#Delta R < 0.2) vs p_{T}, Endcap No Tk",
489  resVsPtDef.nbinsX,
490  resVsPtDef.xmin,
491  resVsPtDef.xmax,
492  ptratio_nbins,
493  ptratio_lo,
494  ptratio_hi);
495 
496  h_L1Puppi_part_ptratio_0p2_vs_pt_hf_ = ibooker.book2D("L1PUPPIParticlePtRatio0p2VsPtHF",
497  "L1 PUPPI Particle L1/Gen (#Delta R < 0.2) vs p_{T}, HF",
498  resVsPtDef.nbinsX,
499  resVsPtDef.xmin,
500  resVsPtDef.xmax,
501  ptratio_nbins,
502  ptratio_lo,
503  ptratio_hi);
504 
505  h_L1Puppi_part_ptratio_0p2_vs_eta_ = ibooker.book2D("L1PUPPIParticlePtRatio0p2VsEta",
506  "L1 PUPPI Particle L1/Gen (#Delta R < 0.2) vs #eta",
507  resVsEtaDef.nbinsX,
508  resVsEtaDef.xmin,
509  resVsEtaDef.xmax,
510  ptratio_nbins,
511  ptratio_lo,
512  ptratio_hi);
513 
514  h_L1PF_jet_ptratio_vs_pt_barrel_ = ibooker.book2D("L1PFJetPtRatioVsPtBarrel",
515  "L1 PF Jet L1/Gen vs p_{T}, Barrel",
516  resVsPtDef.nbinsX,
517  resVsPtDef.xmin,
518  resVsPtDef.xmax,
519  ptratio_nbins,
520  ptratio_lo,
521  ptratio_hi);
522 
523  h_L1PF_jet_ptratio_vs_pt_endcap_ = ibooker.book2D("L1PFJetPtRatioVsPtEndcap",
524  "L1 PF Jet L1/Gen vs p_{T}, Endcap",
525  resVsPtDef.nbinsX,
526  resVsPtDef.xmin,
527  resVsPtDef.xmax,
528  ptratio_nbins,
529  ptratio_lo,
530  ptratio_hi);
531 
532  h_L1PF_jet_ptratio_vs_pt_ecnotk_ = ibooker.book2D("L1PFJetPtRatioVsPtEndcapNoTk",
533  "L1 PF Jet L1/Gen vs p_{T}, Endcap No Tk",
534  resVsPtDef.nbinsX,
535  resVsPtDef.xmin,
536  resVsPtDef.xmax,
537  ptratio_nbins,
538  ptratio_lo,
539  ptratio_hi);
540 
541  h_L1PF_jet_ptratio_vs_pt_hf_ = ibooker.book2D("L1PFJetPtRatioVsPtHF",
542  "L1 PF Jet L1/Gen vs p_{T}, HF",
543  resVsPtDef.nbinsX,
544  resVsPtDef.xmin,
545  resVsPtDef.xmax,
546  ptratio_nbins,
547  ptratio_lo,
548  ptratio_hi);
549 
550  h_L1PF_jet_ptratio_vs_eta_ = ibooker.book2D("L1PFJetPtRatioVsEta",
551  "L1 PF Jet L1/Gen vs #eta",
552  resVsEtaDef.nbinsX,
553  resVsEtaDef.xmin,
554  resVsEtaDef.xmax,
555  ptratio_nbins,
556  ptratio_lo,
557  ptratio_hi);
558 
559  h_L1Puppi_jet_ptratio_vs_pt_barrel_ = ibooker.book2D("L1PUPPIJetPtRatioVsPtBarrel",
560  "L1 PUPPI Jet L1/Gen vs p_{T}, Barrel",
561  resVsPtDef.nbinsX,
562  resVsPtDef.xmin,
563  resVsPtDef.xmax,
564  ptratio_nbins,
565  ptratio_lo,
566  ptratio_hi);
567 
568  h_L1Puppi_jet_ptratio_vs_pt_endcap_ = ibooker.book2D("L1PUPPIJetPtRatioVsPtEndcap",
569  "L1 PUPPI Jet L1/Gen vs p_{T}, Endcap",
570  resVsPtDef.nbinsX,
571  resVsPtDef.xmin,
572  resVsPtDef.xmax,
573  ptratio_nbins,
574  ptratio_lo,
575  ptratio_hi);
576 
577  h_L1Puppi_jet_ptratio_vs_pt_ecnotk_ = ibooker.book2D("L1PUPPIJetPtRatioVsPtEndcapNoTk",
578  "L1 PUPPI Jet L1/Gen vs p_{T}, EndcapNoTk",
579  resVsPtDef.nbinsX,
580  resVsPtDef.xmin,
581  resVsPtDef.xmax,
582  ptratio_nbins,
583  ptratio_lo,
584  ptratio_hi);
585 
586  h_L1Puppi_jet_ptratio_vs_pt_hf_ = ibooker.book2D("L1PUPPIJetPtRatioVsPtHF",
587  "L1 PUPPI Jet L1/Gen vs p_{T}, HF",
588  resVsPtDef.nbinsX,
589  resVsPtDef.xmin,
590  resVsPtDef.xmax,
591  ptratio_nbins,
592  ptratio_lo,
593  ptratio_hi);
594 
595  h_L1Puppi_jet_ptratio_vs_eta_ = ibooker.book2D("L1PUPPIJetPtRatioVsEta",
596  "L1 PUPPI Jet L1/Gen vs #eta",
597  resVsEtaDef.nbinsX,
598  resVsEtaDef.xmin,
599  resVsEtaDef.xmax,
600  ptratio_nbins,
601  ptratio_lo,
602  ptratio_hi);
603 
604  ibooker.setCurrentFolder(histFolder_);
605  //Response
606 
607  h_L1PF_part_response_0p2_pt_barrel_ = ibooker.book1D("L1PFParticleResponse0p2VsPtBarrel",
608  "L1 PF Particle Response (#Delta R < 0.2) vs p_{T}, Barrel",
609  resVsPtDef.nbinsX,
610  resVsPtDef.xmin,
611  resVsPtDef.xmax);
612 
613  h_L1PF_part_response_0p2_pt_endcap_ = ibooker.book1D("L1PFParticleResponse0p2VsPtEndcap",
614  "L1 PF Particle Response (#Delta R < 0.2) vs p_{T}, Endcap",
615  resVsPtDef.nbinsX,
616  resVsPtDef.xmin,
617  resVsPtDef.xmax);
618 
620  ibooker.book1D("L1PFParticleResponse0p2VsPtEndcapNoTk",
621  "L1 PF Particle Response (#Delta R < 0.2) vs p_{T}, Endcap No Tk",
622  resVsPtDef.nbinsX,
623  resVsPtDef.xmin,
624  resVsPtDef.xmax);
625 
626  h_L1PF_part_response_0p2_pt_hf_ = ibooker.book1D("L1PFParticleResponse0p2VsPtHF",
627  "L1 PF Particle Response (#Delta R < 0.2) vs p_{T}, HF",
628  resVsPtDef.nbinsX,
629  resVsPtDef.xmin,
630  resVsPtDef.xmax);
631 
632  h_L1PF_part_response_0p2_eta_ = ibooker.book1D("L1PFParticleResponse0p2VsEta",
633  "L1 PF Particle Response (#Delta R < 0.2) vs #eta",
634  resVsEtaDef.nbinsX,
635  resVsEtaDef.xmin,
636  resVsEtaDef.xmax);
637 
639  ibooker.book1D("L1PUPPIParticleResponse0p2VsPtBarrel",
640  "L1 PUPPI Particle Response (#Delta R < 0.2) vs p_{T}, Barrel",
641  resVsPtDef.nbinsX,
642  resVsPtDef.xmin,
643  resVsPtDef.xmax);
644 
646  ibooker.book1D("L1PUPPIParticleResponse0p2VsPtEndcap",
647  "L1 PUPPI Particle Response (#Delta R < 0.2) vs p_{T}, Endcap",
648  resVsPtDef.nbinsX,
649  resVsPtDef.xmin,
650  resVsPtDef.xmax);
651 
653  ibooker.book1D("L1PUPPIParticleResponse0p2VsPtEndcapNoTk",
654  "L1 PUPPI Particle Response (#Delta R < 0.2) vs p_{T}, Endcap No Tk",
655  resVsPtDef.nbinsX,
656  resVsPtDef.xmin,
657  resVsPtDef.xmax);
658 
659  h_L1Puppi_part_response_0p2_pt_hf_ = ibooker.book1D("L1PUPPIParticleResponse0p2VsPtHF",
660  "L1 PUPPI Particle Response (#Delta R < 0.2) vs p_{T}, HF",
661  resVsPtDef.nbinsX,
662  resVsPtDef.xmin,
663  resVsPtDef.xmax);
664 
665  h_L1Puppi_part_response_0p2_eta_ = ibooker.book1D("L1PUPPIParticleResponse0p2VsEta",
666  "L1 PUPPI Particle Response (#Delta R < 0.2) vs #eta",
667  resVsEtaDef.nbinsX,
668  resVsEtaDef.xmin,
669  resVsEtaDef.xmax);
670 
671  h_L1PF_jet_response_pt_barrel_ = ibooker.book1D("L1PFJetResponseVsPtBarrel",
672  "L1 PF Jet Response vs p_{T}, Barrel",
673  resVsPtDef.nbinsX,
674  resVsPtDef.xmin,
675  resVsPtDef.xmax);
676 
677  h_L1PF_jet_response_pt_endcap_ = ibooker.book1D("L1PFJetResponseVsPtEndcap",
678  "L1 PF Jet Response vs p_{T}, Endcap",
679  resVsPtDef.nbinsX,
680  resVsPtDef.xmin,
681  resVsPtDef.xmax);
682 
683  h_L1PF_jet_response_pt_ecnotk_ = ibooker.book1D("L1PFJetResponseVsPtEndcapNoTk",
684  "L1 PF Jet Response vs p_{T}, Endcap No Tk",
685  resVsPtDef.nbinsX,
686  resVsPtDef.xmin,
687  resVsPtDef.xmax);
688 
690  "L1PFJetResponseVsPtHF", "L1 PF Jet Response vs p_{T}, HF", resVsPtDef.nbinsX, resVsPtDef.xmin, resVsPtDef.xmax);
691 
693  "L1PFJetResponseVsEta", "L1 PF Jet Response vs #eta", resVsEtaDef.nbinsX, resVsEtaDef.xmin, resVsEtaDef.xmax);
694 
695  h_L1Puppi_jet_response_pt_barrel_ = ibooker.book1D("L1PUPPIJetResponseVsPtBarrel",
696  "L1 PUPPI Jet Response vs p_{T}, Barrel",
697  resVsPtDef.nbinsX,
698  resVsPtDef.xmin,
699  resVsPtDef.xmax);
700 
701  h_L1Puppi_jet_response_pt_endcap_ = ibooker.book1D("L1PUPPIJetResponseVsPtEndcap",
702  "L1 PUPPI Jet Response vs p_{T}, Endcap",
703  resVsPtDef.nbinsX,
704  resVsPtDef.xmin,
705  resVsPtDef.xmax);
706 
707  h_L1Puppi_jet_response_pt_ecnotk_ = ibooker.book1D("L1PUPPIJetResponseVsPtEndcapNoTk",
708  "L1 PUPPI Jet Response vs p_{T}, EndcapNoTk",
709  resVsPtDef.nbinsX,
710  resVsPtDef.xmin,
711  resVsPtDef.xmax);
712 
713  h_L1Puppi_jet_response_pt_hf_ = ibooker.book1D("L1PUPPIJetResponseVsPtHF",
714  "L1 PUPPI Jet Response vs p_{T}, HF",
715  resVsPtDef.nbinsX,
716  resVsPtDef.xmin,
717  resVsPtDef.xmax);
718 
719  h_L1Puppi_jet_response_eta_ = ibooker.book1D("L1PUPPIJetResponseVsEta",
720  "L1 PUPPI Jet Response vs #eta",
721  resVsEtaDef.nbinsX,
722  resVsEtaDef.xmin,
723  resVsEtaDef.xmax);
724 
725  //Resolution
726 
727  h_L1PF_part_resolution_0p2_pt_barrel_ = ibooker.book1D("L1PFParticleResolution0p2VsPtBarrel",
728  "L1 PF Particle Resolution (#Delta R < 0.2) vs p_{T}, Barrel",
729  resVsPtDef.nbinsX,
730  resVsPtDef.xmin,
731  resVsPtDef.xmax);
732 
733  h_L1PF_part_resolution_0p2_pt_endcap_ = ibooker.book1D("L1PFParticleResolution0p2VsPtEndcap",
734  "L1 PF Particle Resolution (#Delta R < 0.2) vs p_{T}, Endcap",
735  resVsPtDef.nbinsX,
736  resVsPtDef.xmin,
737  resVsPtDef.xmax);
738 
740  ibooker.book1D("L1PFParticleResolution0p2VsPtEndcapNoTk",
741  "L1 PF Particle Resolution (#Delta R < 0.2) vs p_{T}, Endcap No Tk",
742  resVsPtDef.nbinsX,
743  resVsPtDef.xmin,
744  resVsPtDef.xmax);
745 
746  h_L1PF_part_resolution_0p2_pt_hf_ = ibooker.book1D("L1PFParticleResolution0p2VsPtHF",
747  "L1 PF Particle Resolution (#Delta R < 0.2) vs p_{T}, HF",
748  resVsPtDef.nbinsX,
749  resVsPtDef.xmin,
750  resVsPtDef.xmax);
751 
753  ibooker.book1D("L1PUPPIParticleResolution0p2VsPtBarrel",
754  "L1 PUPPI Particle Resolution (#Delta R < 0.2) vs p_{T}, Barrel",
755  resVsPtDef.nbinsX,
756  resVsPtDef.xmin,
757  resVsPtDef.xmax);
758 
760  ibooker.book1D("L1PUPPIParticleResolution0p2VsPtEndcap",
761  "L1 PUPPI Particle Resolution (#Delta R < 0.2) vs p_{T}, Endcap",
762  resVsPtDef.nbinsX,
763  resVsPtDef.xmin,
764  resVsPtDef.xmax);
765 
767  ibooker.book1D("L1PUPPIParticleResolution0p2VsPtEndcapNoTk",
768  "L1 PUPPI Particle Resolution (#Delta R < 0.2) vs p_{T}, Endcap No Tk",
769  resVsPtDef.nbinsX,
770  resVsPtDef.xmin,
771  resVsPtDef.xmax);
772 
773  h_L1Puppi_part_resolution_0p2_pt_hf_ = ibooker.book1D("L1PUPPIParticleResolution0p2VsPtHF",
774  "L1 PUPPI Particle Resolution (#Delta R < 0.2) vs p_{T}, HF",
775  resVsPtDef.nbinsX,
776  resVsPtDef.xmin,
777  resVsPtDef.xmax);
778 
779  h_L1PF_jet_resolution_pt_barrel_ = ibooker.book1D("L1PFJetResolutionVsPtBarrel",
780  "L1 PF Jet Resolution vs p_{T}, Barrel",
781  resVsPtDef.nbinsX,
782  resVsPtDef.xmin,
783  resVsPtDef.xmax);
784 
785  h_L1PF_jet_resolution_pt_endcap_ = ibooker.book1D("L1PFJetResolutionVsPtEndcap",
786  "L1 PF Jet Resolution vs p_{T}, Endcap",
787  resVsPtDef.nbinsX,
788  resVsPtDef.xmin,
789  resVsPtDef.xmax);
790 
791  h_L1PF_jet_resolution_pt_ecnotk_ = ibooker.book1D("L1PFJetResolutionVsPtEndcapNoTk",
792  "L1 PF Jet Resolution vs p_{T}, Endcap No Tk",
793  resVsPtDef.nbinsX,
794  resVsPtDef.xmin,
795  resVsPtDef.xmax);
796 
797  h_L1PF_jet_resolution_pt_hf_ = ibooker.book1D("L1PFJetResolutionVsPtHF",
798  "L1 PF Jet Resolution vs p_{T}, HF",
799  resVsPtDef.nbinsX,
800  resVsPtDef.xmin,
801  resVsPtDef.xmax);
802 
803  h_L1Puppi_jet_resolution_pt_barrel_ = ibooker.book1D("L1PUPPIJetResolutionVsPtBarrel",
804  "L1 PUPPI Jet Resolution vs p_{T}, Barrel",
805  resVsPtDef.nbinsX,
806  resVsPtDef.xmin,
807  resVsPtDef.xmax);
808 
809  h_L1Puppi_jet_resolution_pt_endcap_ = ibooker.book1D("L1PUPPIJetResolutionVsPtEndcap",
810  "L1 PUPPI Jet Resolution vs p_{T}, Endcap",
811  resVsPtDef.nbinsX,
812  resVsPtDef.xmin,
813  resVsPtDef.xmax);
814 
815  h_L1Puppi_jet_resolution_pt_ecnotk_ = ibooker.book1D("L1PUPPIJetResolutionVsPtEndcapNoTk",
816  "L1 PUPPI Jet Resolution vs p_{T}, EndcapNoTk",
817  resVsPtDef.nbinsX,
818  resVsPtDef.xmin,
819  resVsPtDef.xmax);
820 
821  h_L1Puppi_jet_resolution_pt_hf_ = ibooker.book1D("L1PUPPIJetResolutionVsPtHF",
822  "L1 PUPPI Jet Resolution vs p_{T}, HF",
823  resVsPtDef.nbinsX,
824  resVsPtDef.xmin,
825  resVsPtDef.xmax);
826 
827  ibooker.cd();
828 
829  return;
830 }
MonitorElement * h_L1Puppi_part_ptratio_0p2_vs_pt_endcap_
MonitorElement * h_L1Puppi_part_resolution_0p2_pt_barrel_
MonitorElement * h_L1Puppi_part_ptratio_0p2_vs_pt_barrel_
MonitorElement * h_L1Puppi_jet_ptratio_vs_pt_barrel_
MonitorElement * h_L1Puppi_part_resolution_0p2_pt_hf_
MonitorElement * h_L1Puppi_part_response_0p2_pt_endcap_
MonitorElement * h_L1PF_part_resolution_0p2_pt_barrel_
MonitorElement * h_L1PF_part_resolution_0p2_pt_endcap_
virtual void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:36
virtual MonitorElementData::Scope setScope(MonitorElementData::Scope newscope)
Definition: DQMStore.cc:50
MonitorElement * h_L1PF_part_ptratio_0p2_vs_pt_endcap_
MonitorElement * h_L1Puppi_part_ptratio_0p2_vs_eta_
MonitorElement * h_L1Puppi_jet_ptratio_vs_pt_ecnotk_
MonitorElement * h_L1PF_part_resolution_0p2_pt_hf_
MonitorElement * h_L1Puppi_part_resolution_0p2_pt_ecnotk_
dqmoffline::l1t::HistDefinitions histDefinitions_
MonitorElement * h_L1Puppi_jet_resolution_pt_endcap_
MonitorElement * h_L1Puppi_jet_response_pt_barrel_
MonitorElement * h_L1Puppi_part_response_0p2_pt_hf_
MonitorElement * h_L1Puppi_jet_resolution_pt_barrel_
MonitorElement * h_L1Puppi_part_resolution_0p2_pt_endcap_
MonitorElement * h_L1Puppi_part_ptratio_0p2_vs_pt_hf_
MonitorElement * h_L1PF_part_ptratio_0p2_vs_pt_hf_
MonitorElement * h_L1Puppi_jet_resolution_pt_ecnotk_
MonitorElement * h_L1PF_part_ptratio_0p2_vs_pt_barrel_
MonitorElement * h_L1PF_part_response_0p2_pt_ecnotk_
MonitorElement * h_L1Puppi_jet_ptratio_vs_pt_endcap_
MonitorElement * h_L1Puppi_part_response_0p2_pt_ecnotk_
MonitorElement * h_L1PF_part_response_0p2_pt_barrel_
MonitorElement * h_L1PF_part_response_0p2_pt_endcap_
MonitorElement * h_L1PF_part_ptratio_0p2_vs_pt_ecnotk_
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
Definition: DQMStore.h:212
MonitorElement * h_L1Puppi_jet_response_pt_endcap_
MonitorElement * h_L1Puppi_jet_response_pt_ecnotk_
MonitorElement * h_L1Puppi_part_ptratio_0p2_vs_pt_ecnotk_
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
Definition: DQMStore.h:98
MonitorElement * h_L1PF_part_resolution_0p2_pt_ecnotk_
MonitorElement * h_L1Puppi_part_response_0p2_pt_barrel_

◆ calcDeltaPhi()

double L1TPhase2CorrelatorOffline::calcDeltaPhi ( double  phi1,
double  phi2 
)
private

◆ computeResponseResolution()

void L1TPhase2CorrelatorOffline::computeResponseResolution ( )
private

Definition at line 839 of file L1TPhase2CorrelatorOffline.cc.

References h_L1PF_jet_ptratio_vs_eta_, h_L1PF_jet_ptratio_vs_pt_barrel_, h_L1PF_jet_ptratio_vs_pt_ecnotk_, h_L1PF_jet_ptratio_vs_pt_endcap_, h_L1PF_jet_ptratio_vs_pt_hf_, h_L1PF_jet_resolution_pt_barrel_, h_L1PF_jet_resolution_pt_ecnotk_, h_L1PF_jet_resolution_pt_endcap_, h_L1PF_jet_resolution_pt_hf_, h_L1PF_jet_response_eta_, h_L1PF_jet_response_pt_barrel_, h_L1PF_jet_response_pt_ecnotk_, h_L1PF_jet_response_pt_endcap_, h_L1PF_jet_response_pt_hf_, h_L1PF_part_ptratio_0p2_vs_eta_, h_L1PF_part_ptratio_0p2_vs_pt_barrel_, h_L1PF_part_ptratio_0p2_vs_pt_ecnotk_, h_L1PF_part_ptratio_0p2_vs_pt_endcap_, h_L1PF_part_ptratio_0p2_vs_pt_hf_, h_L1PF_part_resolution_0p2_pt_barrel_, h_L1PF_part_resolution_0p2_pt_ecnotk_, h_L1PF_part_resolution_0p2_pt_endcap_, h_L1PF_part_resolution_0p2_pt_hf_, h_L1PF_part_response_0p2_eta_, h_L1PF_part_response_0p2_pt_barrel_, h_L1PF_part_response_0p2_pt_ecnotk_, h_L1PF_part_response_0p2_pt_endcap_, h_L1PF_part_response_0p2_pt_hf_, h_L1Puppi_jet_ptratio_vs_eta_, h_L1Puppi_jet_ptratio_vs_pt_barrel_, h_L1Puppi_jet_ptratio_vs_pt_ecnotk_, h_L1Puppi_jet_ptratio_vs_pt_endcap_, h_L1Puppi_jet_ptratio_vs_pt_hf_, h_L1Puppi_jet_resolution_pt_barrel_, h_L1Puppi_jet_resolution_pt_ecnotk_, h_L1Puppi_jet_resolution_pt_endcap_, h_L1Puppi_jet_resolution_pt_hf_, h_L1Puppi_jet_response_eta_, h_L1Puppi_jet_response_pt_barrel_, h_L1Puppi_jet_response_pt_ecnotk_, h_L1Puppi_jet_response_pt_endcap_, h_L1Puppi_jet_response_pt_hf_, h_L1Puppi_part_ptratio_0p2_vs_eta_, h_L1Puppi_part_ptratio_0p2_vs_pt_barrel_, h_L1Puppi_part_ptratio_0p2_vs_pt_ecnotk_, h_L1Puppi_part_ptratio_0p2_vs_pt_endcap_, h_L1Puppi_part_ptratio_0p2_vs_pt_hf_, h_L1Puppi_part_resolution_0p2_pt_barrel_, h_L1Puppi_part_resolution_0p2_pt_ecnotk_, h_L1Puppi_part_resolution_0p2_pt_endcap_, h_L1Puppi_part_resolution_0p2_pt_hf_, h_L1Puppi_part_response_0p2_eta_, h_L1Puppi_part_response_0p2_pt_barrel_, h_L1Puppi_part_response_0p2_pt_ecnotk_, h_L1Puppi_part_response_0p2_pt_endcap_, h_L1Puppi_part_response_0p2_pt_hf_, mps_fire::i, and medianResponseCorrResolution().

Referenced by dqmEndRun().

839  {
840  std::vector<MonitorElement*> monElementstoComputeIn = {h_L1PF_part_ptratio_0p2_vs_pt_barrel_,
860  std::vector<MonitorElement*> monElementstoComputeResp = {h_L1PF_part_response_0p2_pt_barrel_,
880  std::vector<MonitorElement*> monElementstoComputeResol = {h_L1PF_part_resolution_0p2_pt_barrel_,
884  nullptr,
889  nullptr,
894  nullptr,
899  nullptr};
900 
901  for (unsigned int i = 0; i < monElementstoComputeIn.size(); i++) {
902  if (monElementstoComputeIn[i] != nullptr && monElementstoComputeResp[i] != nullptr) {
904  monElementstoComputeIn[i], monElementstoComputeResp[i], monElementstoComputeResol[i]);
905  }
906  }
907 }
MonitorElement * h_L1Puppi_part_ptratio_0p2_vs_pt_endcap_
MonitorElement * h_L1Puppi_part_resolution_0p2_pt_barrel_
void medianResponseCorrResolution(MonitorElement *in2D, MonitorElement *response, MonitorElement *resolution)
MonitorElement * h_L1Puppi_part_ptratio_0p2_vs_pt_barrel_
MonitorElement * h_L1Puppi_jet_ptratio_vs_pt_barrel_
MonitorElement * h_L1Puppi_part_resolution_0p2_pt_hf_
MonitorElement * h_L1Puppi_part_response_0p2_pt_endcap_
MonitorElement * h_L1PF_part_resolution_0p2_pt_barrel_
MonitorElement * h_L1PF_part_resolution_0p2_pt_endcap_
MonitorElement * h_L1PF_part_ptratio_0p2_vs_pt_endcap_
MonitorElement * h_L1Puppi_part_ptratio_0p2_vs_eta_
MonitorElement * h_L1Puppi_jet_ptratio_vs_pt_ecnotk_
MonitorElement * h_L1PF_part_resolution_0p2_pt_hf_
MonitorElement * h_L1Puppi_part_resolution_0p2_pt_ecnotk_
MonitorElement * h_L1Puppi_jet_resolution_pt_endcap_
MonitorElement * h_L1Puppi_jet_response_pt_barrel_
MonitorElement * h_L1Puppi_part_response_0p2_pt_hf_
MonitorElement * h_L1Puppi_jet_resolution_pt_barrel_
MonitorElement * h_L1Puppi_part_resolution_0p2_pt_endcap_
MonitorElement * h_L1Puppi_part_ptratio_0p2_vs_pt_hf_
MonitorElement * h_L1PF_part_ptratio_0p2_vs_pt_hf_
MonitorElement * h_L1Puppi_jet_resolution_pt_ecnotk_
MonitorElement * h_L1PF_part_ptratio_0p2_vs_pt_barrel_
MonitorElement * h_L1PF_part_response_0p2_pt_ecnotk_
MonitorElement * h_L1Puppi_jet_ptratio_vs_pt_endcap_
MonitorElement * h_L1Puppi_part_response_0p2_pt_ecnotk_
MonitorElement * h_L1PF_part_response_0p2_pt_barrel_
MonitorElement * h_L1PF_part_response_0p2_pt_endcap_
MonitorElement * h_L1PF_part_ptratio_0p2_vs_pt_ecnotk_
MonitorElement * h_L1Puppi_jet_response_pt_endcap_
MonitorElement * h_L1Puppi_jet_response_pt_ecnotk_
MonitorElement * h_L1Puppi_part_ptratio_0p2_vs_pt_ecnotk_
MonitorElement * h_L1PF_part_resolution_0p2_pt_ecnotk_
MonitorElement * h_L1Puppi_part_response_0p2_pt_barrel_

◆ Distance()

double L1TPhase2CorrelatorOffline::Distance ( const reco::Candidate c1,
const reco::Candidate c2 
)
private

◆ DistancePhi()

double L1TPhase2CorrelatorOffline::DistancePhi ( const reco::Candidate c1,
const reco::Candidate c2 
)
private

◆ dqmBeginRun()

void L1TPhase2CorrelatorOffline::dqmBeginRun ( const edm::Run run,
const edm::EventSetup iSetup 
)
overrideprotectedvirtual

Reimplemented from DQMOneEDAnalyzer<>.

Definition at line 115 of file L1TPhase2CorrelatorOffline.cc.

References BFieldTag_, bZ_, and edm::EventSetup::getData().

115  {
116  edm::LogInfo("L1TPhase2CorrelatorOffline") << "L1TPhase2CorrelatorOffline::beginRun" << std::endl;
117 
118  bZ_ = iSetup.getData(BFieldTag_).inTesla(GlobalPoint(0, 0, 0)).z();
119 }
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > BFieldTag_
T const & getData(const ESGetToken< T, R > &iToken) const noexcept(false)
Definition: EventSetup.h:119
Global3DPoint GlobalPoint
Definition: GlobalPoint.h:10
Log< level::Info, false > LogInfo

◆ dqmEndRun()

void L1TPhase2CorrelatorOffline::dqmEndRun ( const edm::Run run,
const edm::EventSetup iSetup 
)
overrideprotectedvirtual

Reimplemented from DQMOneEDAnalyzer<>.

Definition at line 835 of file L1TPhase2CorrelatorOffline.cc.

References computeResponseResolution().

◆ getQuantile()

std::vector< float > L1TPhase2CorrelatorOffline::getQuantile ( float  quant,
TH2F *  hist 
)
private

Definition at line 909 of file L1TPhase2CorrelatorOffline.cc.

References PVValHelper::add(), compareTotals::hist, and DMR_cfg::thresh.

Referenced by medianResponseCorrResolution().

909  {
910  std::vector<float> quantiles(hist->GetNbinsX(), 1.);
911  for (int ix = 1; ix < hist->GetNbinsX() + 1; ix++) {
912  float thresh = quant * (hist->Integral(ix, ix, 0, -1));
913  if (hist->Integral(ix, ix, 0, -1) == 0.) {
914  } else if (quant <= 0. || thresh < hist->GetBinContent(ix, 0)) {
915  quantiles[ix - 1] = hist->GetYaxis()->GetBinLowEdge(1);
916  } else if (quant >= 1. || thresh >= hist->Integral(ix, ix, 0, hist->GetNbinsY())) {
917  quantiles[ix - 1] = hist->GetYaxis()->GetBinUpEdge(hist->GetNbinsY());
918  } else {
919  float sum = hist->GetBinContent(ix, 0);
920  for (int iy = 1; iy < hist->GetNbinsY() + 1; iy++) {
921  float add = hist->GetBinContent(ix, iy);
922  if (sum + add >= thresh) {
923  quantiles[ix - 1] =
924  hist->GetYaxis()->GetBinLowEdge(iy) + hist->GetYaxis()->GetBinWidth(iy) * ((thresh - sum) / add);
925  break;
926  }
927  sum += add;
928  }
929  }
930  }
931  return quantiles;
932 }
void add(std::map< std::string, TH1 *> &h, TH1 *hist)

◆ medianResponseCorrResolution()

void L1TPhase2CorrelatorOffline::medianResponseCorrResolution ( MonitorElement in2D,
MonitorElement response,
MonitorElement resolution 
)
private

Definition at line 934 of file L1TPhase2CorrelatorOffline.cc.

References alignCSCRings::corr, getQuantile(), dqm::legacy::MonitorElement::getTH1F(), dqm::legacy::MonitorElement::getTH2F(), cuy::ib, L1TObjectsTimingClient_cff::resolution, makeMEIFBenchmarkPlots::xval, and makeMEIFBenchmarkPlots::yval.

Referenced by computeResponseResolution().

936  {
937  auto hbase = in2D->getTH2F();
938  auto hresp = response->getTH1F();
939  if (hbase != nullptr && hresp != nullptr) {
940  if (hbase->GetNbinsX() == hresp->GetNbinsX()) {
941  auto med = getQuantile(0.5, hbase);
942  TGraph* ptrecgen = new TGraph(hbase->GetNbinsX());
943  for (int ib = 1; ib < hbase->GetNbinsX() + 1; ib++) {
944  float corr = med[ib - 1];
945  float xval = hbase->GetXaxis()->GetBinCenter(ib);
946  ptrecgen->SetPoint(ib - 1, xval * corr, xval);
947  hresp->SetBinContent(ib, corr);
948  }
949  if (resolution != nullptr) {
950  auto hresol = resolution->getTH1F();
951  if (hresol != nullptr) {
952  if (hbase->GetNbinsX() == hresol->GetNbinsX()) {
953  ptrecgen->Sort();
954  TH2F* ch = new TH2F(*hbase);
955  ch->Reset("ICE");
956  for (int ibx = 1; ibx < ch->GetNbinsX() + 1; ibx++) {
957  float xval = hbase->GetXaxis()->GetBinCenter(ibx);
958  for (int iby = 1; iby < ch->GetNbinsY() + 1; iby++) {
959  float yval = hbase->GetYaxis()->GetBinCenter(iby);
960  float newyval = ptrecgen->Eval(yval * xval) / xval;
961  int ycb = ch->FindBin(xval, newyval);
962  ch->SetBinContent(ycb, ch->GetBinContent(ycb) + hbase->GetBinContent(ibx, iby));
963  }
964  }
965  delete ptrecgen;
966  auto qc = getQuantile(0.5, ch);
967  auto qhi = getQuantile(0.84, ch);
968  auto qlo = getQuantile(0.16, ch);
969  delete ch;
970  for (int ibx = 1; ibx < hbase->GetNbinsX() + 1; ibx++) {
971  hresol->SetBinContent(ibx, qc[ibx - 1] > 0.2 ? (qhi[ibx - 1] - qlo[ibx - 1]) / 2. : 0.);
972  }
973  }
974  }
975  } else {
976  delete ptrecgen;
977  }
978  }
979  }
980 }
virtual TH2F * getTH2F() const
dictionary corr
virtual TH1F * getTH1F() const
std::vector< float > getQuantile(float quant, TH2F *hist)
ib
Definition: cuy.py:661

Member Data Documentation

◆ BFieldTag_

edm::ESGetToken<MagneticField, IdealMagneticFieldRecord> L1TPhase2CorrelatorOffline::BFieldTag_
private

Definition at line 193 of file L1TPhase2CorrelatorOffline.h.

Referenced by dqmBeginRun().

◆ bZ_

float L1TPhase2CorrelatorOffline::bZ_
private

Definition at line 253 of file L1TPhase2CorrelatorOffline.h.

Referenced by analyze(), and dqmBeginRun().

◆ genJetToken_

edm::EDGetTokenT<std::vector<reco::GenJet> > L1TPhase2CorrelatorOffline::genJetToken_
private

Definition at line 191 of file L1TPhase2CorrelatorOffline.h.

Referenced by analyze().

◆ genParticleToken_

edm::EDGetTokenT<std::vector<reco::GenParticle> > L1TPhase2CorrelatorOffline::genParticleToken_
private

Definition at line 192 of file L1TPhase2CorrelatorOffline.h.

Referenced by analyze().

◆ h_L1PF_eta_

MonitorElement* L1TPhase2CorrelatorOffline::h_L1PF_eta_
private

Definition at line 257 of file L1TPhase2CorrelatorOffline.h.

Referenced by analyze(), and bookPhase2CorrelatorHistos().

◆ h_L1PF_eta_ch_

MonitorElement* L1TPhase2CorrelatorOffline::h_L1PF_eta_ch_
private

Definition at line 277 of file L1TPhase2CorrelatorOffline.h.

Referenced by analyze(), and bookPhase2CorrelatorHistos().

◆ h_L1PF_eta_el_

MonitorElement* L1TPhase2CorrelatorOffline::h_L1PF_eta_el_
private

Definition at line 267 of file L1TPhase2CorrelatorOffline.h.

Referenced by analyze(), and bookPhase2CorrelatorHistos().

◆ h_L1PF_eta_mu_

MonitorElement* L1TPhase2CorrelatorOffline::h_L1PF_eta_mu_
private

Definition at line 262 of file L1TPhase2CorrelatorOffline.h.

Referenced by analyze(), and bookPhase2CorrelatorHistos().

◆ h_L1PF_eta_nh_

MonitorElement* L1TPhase2CorrelatorOffline::h_L1PF_eta_nh_
private

Definition at line 282 of file L1TPhase2CorrelatorOffline.h.

Referenced by analyze(), and bookPhase2CorrelatorHistos().

◆ h_L1PF_eta_pho_

MonitorElement* L1TPhase2CorrelatorOffline::h_L1PF_eta_pho_
private

Definition at line 272 of file L1TPhase2CorrelatorOffline.h.

Referenced by analyze(), and bookPhase2CorrelatorHistos().

◆ h_L1PF_jet_ptratio_vs_eta_

MonitorElement* L1TPhase2CorrelatorOffline::h_L1PF_jet_ptratio_vs_eta_
private

◆ h_L1PF_jet_ptratio_vs_pt_barrel_

MonitorElement* L1TPhase2CorrelatorOffline::h_L1PF_jet_ptratio_vs_pt_barrel_
private

◆ h_L1PF_jet_ptratio_vs_pt_ecnotk_

MonitorElement* L1TPhase2CorrelatorOffline::h_L1PF_jet_ptratio_vs_pt_ecnotk_
private

◆ h_L1PF_jet_ptratio_vs_pt_endcap_

MonitorElement* L1TPhase2CorrelatorOffline::h_L1PF_jet_ptratio_vs_pt_endcap_
private

◆ h_L1PF_jet_ptratio_vs_pt_hf_

MonitorElement* L1TPhase2CorrelatorOffline::h_L1PF_jet_ptratio_vs_pt_hf_
private

◆ h_L1PF_jet_resolution_pt_barrel_

MonitorElement* L1TPhase2CorrelatorOffline::h_L1PF_jet_resolution_pt_barrel_
private

◆ h_L1PF_jet_resolution_pt_ecnotk_

MonitorElement* L1TPhase2CorrelatorOffline::h_L1PF_jet_resolution_pt_ecnotk_
private

◆ h_L1PF_jet_resolution_pt_endcap_

MonitorElement* L1TPhase2CorrelatorOffline::h_L1PF_jet_resolution_pt_endcap_
private

◆ h_L1PF_jet_resolution_pt_hf_

MonitorElement* L1TPhase2CorrelatorOffline::h_L1PF_jet_resolution_pt_hf_
private

◆ h_L1PF_jet_response_eta_

MonitorElement* L1TPhase2CorrelatorOffline::h_L1PF_jet_response_eta_
private

◆ h_L1PF_jet_response_pt_barrel_

MonitorElement* L1TPhase2CorrelatorOffline::h_L1PF_jet_response_pt_barrel_
private

◆ h_L1PF_jet_response_pt_ecnotk_

MonitorElement* L1TPhase2CorrelatorOffline::h_L1PF_jet_response_pt_ecnotk_
private

◆ h_L1PF_jet_response_pt_endcap_

MonitorElement* L1TPhase2CorrelatorOffline::h_L1PF_jet_response_pt_endcap_
private

◆ h_L1PF_jet_response_pt_hf_

MonitorElement* L1TPhase2CorrelatorOffline::h_L1PF_jet_response_pt_hf_
private

◆ h_L1PF_part_ptratio_0p2_vs_eta_

MonitorElement* L1TPhase2CorrelatorOffline::h_L1PF_part_ptratio_0p2_vs_eta_
private

◆ h_L1PF_part_ptratio_0p2_vs_pt_barrel_

MonitorElement* L1TPhase2CorrelatorOffline::h_L1PF_part_ptratio_0p2_vs_pt_barrel_
private

◆ h_L1PF_part_ptratio_0p2_vs_pt_ecnotk_

MonitorElement* L1TPhase2CorrelatorOffline::h_L1PF_part_ptratio_0p2_vs_pt_ecnotk_
private

◆ h_L1PF_part_ptratio_0p2_vs_pt_endcap_

MonitorElement* L1TPhase2CorrelatorOffline::h_L1PF_part_ptratio_0p2_vs_pt_endcap_
private

◆ h_L1PF_part_ptratio_0p2_vs_pt_hf_

MonitorElement* L1TPhase2CorrelatorOffline::h_L1PF_part_ptratio_0p2_vs_pt_hf_
private

◆ h_L1PF_part_resolution_0p2_pt_barrel_

MonitorElement* L1TPhase2CorrelatorOffline::h_L1PF_part_resolution_0p2_pt_barrel_
private

◆ h_L1PF_part_resolution_0p2_pt_ecnotk_

MonitorElement* L1TPhase2CorrelatorOffline::h_L1PF_part_resolution_0p2_pt_ecnotk_
private

◆ h_L1PF_part_resolution_0p2_pt_endcap_

MonitorElement* L1TPhase2CorrelatorOffline::h_L1PF_part_resolution_0p2_pt_endcap_
private

◆ h_L1PF_part_resolution_0p2_pt_hf_

MonitorElement* L1TPhase2CorrelatorOffline::h_L1PF_part_resolution_0p2_pt_hf_
private

◆ h_L1PF_part_response_0p2_eta_

MonitorElement* L1TPhase2CorrelatorOffline::h_L1PF_part_response_0p2_eta_
private

◆ h_L1PF_part_response_0p2_pt_barrel_

MonitorElement* L1TPhase2CorrelatorOffline::h_L1PF_part_response_0p2_pt_barrel_
private

◆ h_L1PF_part_response_0p2_pt_ecnotk_

MonitorElement* L1TPhase2CorrelatorOffline::h_L1PF_part_response_0p2_pt_ecnotk_
private

◆ h_L1PF_part_response_0p2_pt_endcap_

MonitorElement* L1TPhase2CorrelatorOffline::h_L1PF_part_response_0p2_pt_endcap_
private

◆ h_L1PF_part_response_0p2_pt_hf_

MonitorElement* L1TPhase2CorrelatorOffline::h_L1PF_part_response_0p2_pt_hf_
private

◆ h_L1PF_pt_

MonitorElement* L1TPhase2CorrelatorOffline::h_L1PF_pt_
private

Definition at line 256 of file L1TPhase2CorrelatorOffline.h.

Referenced by analyze(), and bookPhase2CorrelatorHistos().

◆ h_L1PF_pt_ch_

MonitorElement* L1TPhase2CorrelatorOffline::h_L1PF_pt_ch_
private

Definition at line 276 of file L1TPhase2CorrelatorOffline.h.

Referenced by analyze(), and bookPhase2CorrelatorHistos().

◆ h_L1PF_pt_el_

MonitorElement* L1TPhase2CorrelatorOffline::h_L1PF_pt_el_
private

Definition at line 266 of file L1TPhase2CorrelatorOffline.h.

Referenced by analyze(), and bookPhase2CorrelatorHistos().

◆ h_L1PF_pt_mu_

MonitorElement* L1TPhase2CorrelatorOffline::h_L1PF_pt_mu_
private

Definition at line 261 of file L1TPhase2CorrelatorOffline.h.

Referenced by analyze(), and bookPhase2CorrelatorHistos().

◆ h_L1PF_pt_nh_

MonitorElement* L1TPhase2CorrelatorOffline::h_L1PF_pt_nh_
private

Definition at line 281 of file L1TPhase2CorrelatorOffline.h.

Referenced by analyze(), and bookPhase2CorrelatorHistos().

◆ h_L1PF_pt_pho_

MonitorElement* L1TPhase2CorrelatorOffline::h_L1PF_pt_pho_
private

Definition at line 271 of file L1TPhase2CorrelatorOffline.h.

Referenced by analyze(), and bookPhase2CorrelatorHistos().

◆ h_L1Puppi_eta_

MonitorElement* L1TPhase2CorrelatorOffline::h_L1Puppi_eta_
private

Definition at line 259 of file L1TPhase2CorrelatorOffline.h.

Referenced by analyze(), and bookPhase2CorrelatorHistos().

◆ h_L1Puppi_eta_ch_

MonitorElement* L1TPhase2CorrelatorOffline::h_L1Puppi_eta_ch_
private

Definition at line 279 of file L1TPhase2CorrelatorOffline.h.

Referenced by analyze(), and bookPhase2CorrelatorHistos().

◆ h_L1Puppi_eta_el_

MonitorElement* L1TPhase2CorrelatorOffline::h_L1Puppi_eta_el_
private

Definition at line 269 of file L1TPhase2CorrelatorOffline.h.

Referenced by analyze(), and bookPhase2CorrelatorHistos().

◆ h_L1Puppi_eta_mu_

MonitorElement* L1TPhase2CorrelatorOffline::h_L1Puppi_eta_mu_
private

Definition at line 264 of file L1TPhase2CorrelatorOffline.h.

Referenced by analyze(), and bookPhase2CorrelatorHistos().

◆ h_L1Puppi_eta_nh_

MonitorElement* L1TPhase2CorrelatorOffline::h_L1Puppi_eta_nh_
private

Definition at line 284 of file L1TPhase2CorrelatorOffline.h.

Referenced by analyze(), and bookPhase2CorrelatorHistos().

◆ h_L1Puppi_eta_pho_

MonitorElement* L1TPhase2CorrelatorOffline::h_L1Puppi_eta_pho_
private

Definition at line 274 of file L1TPhase2CorrelatorOffline.h.

Referenced by analyze(), and bookPhase2CorrelatorHistos().

◆ h_L1Puppi_jet_ptratio_vs_eta_

MonitorElement* L1TPhase2CorrelatorOffline::h_L1Puppi_jet_ptratio_vs_eta_
private

◆ h_L1Puppi_jet_ptratio_vs_pt_barrel_

MonitorElement* L1TPhase2CorrelatorOffline::h_L1Puppi_jet_ptratio_vs_pt_barrel_
private

◆ h_L1Puppi_jet_ptratio_vs_pt_ecnotk_

MonitorElement* L1TPhase2CorrelatorOffline::h_L1Puppi_jet_ptratio_vs_pt_ecnotk_
private

◆ h_L1Puppi_jet_ptratio_vs_pt_endcap_

MonitorElement* L1TPhase2CorrelatorOffline::h_L1Puppi_jet_ptratio_vs_pt_endcap_
private

◆ h_L1Puppi_jet_ptratio_vs_pt_hf_

MonitorElement* L1TPhase2CorrelatorOffline::h_L1Puppi_jet_ptratio_vs_pt_hf_
private

◆ h_L1Puppi_jet_resolution_pt_barrel_

MonitorElement* L1TPhase2CorrelatorOffline::h_L1Puppi_jet_resolution_pt_barrel_
private

◆ h_L1Puppi_jet_resolution_pt_ecnotk_

MonitorElement* L1TPhase2CorrelatorOffline::h_L1Puppi_jet_resolution_pt_ecnotk_
private

◆ h_L1Puppi_jet_resolution_pt_endcap_

MonitorElement* L1TPhase2CorrelatorOffline::h_L1Puppi_jet_resolution_pt_endcap_
private

◆ h_L1Puppi_jet_resolution_pt_hf_

MonitorElement* L1TPhase2CorrelatorOffline::h_L1Puppi_jet_resolution_pt_hf_
private

◆ h_L1Puppi_jet_response_eta_

MonitorElement* L1TPhase2CorrelatorOffline::h_L1Puppi_jet_response_eta_
private

◆ h_L1Puppi_jet_response_pt_barrel_

MonitorElement* L1TPhase2CorrelatorOffline::h_L1Puppi_jet_response_pt_barrel_
private

◆ h_L1Puppi_jet_response_pt_ecnotk_

MonitorElement* L1TPhase2CorrelatorOffline::h_L1Puppi_jet_response_pt_ecnotk_
private

◆ h_L1Puppi_jet_response_pt_endcap_

MonitorElement* L1TPhase2CorrelatorOffline::h_L1Puppi_jet_response_pt_endcap_
private

◆ h_L1Puppi_jet_response_pt_hf_

MonitorElement* L1TPhase2CorrelatorOffline::h_L1Puppi_jet_response_pt_hf_
private

◆ h_L1Puppi_part_ptratio_0p2_vs_eta_

MonitorElement* L1TPhase2CorrelatorOffline::h_L1Puppi_part_ptratio_0p2_vs_eta_
private

◆ h_L1Puppi_part_ptratio_0p2_vs_pt_barrel_

MonitorElement* L1TPhase2CorrelatorOffline::h_L1Puppi_part_ptratio_0p2_vs_pt_barrel_
private

◆ h_L1Puppi_part_ptratio_0p2_vs_pt_ecnotk_

MonitorElement* L1TPhase2CorrelatorOffline::h_L1Puppi_part_ptratio_0p2_vs_pt_ecnotk_
private

◆ h_L1Puppi_part_ptratio_0p2_vs_pt_endcap_

MonitorElement* L1TPhase2CorrelatorOffline::h_L1Puppi_part_ptratio_0p2_vs_pt_endcap_
private

◆ h_L1Puppi_part_ptratio_0p2_vs_pt_hf_

MonitorElement* L1TPhase2CorrelatorOffline::h_L1Puppi_part_ptratio_0p2_vs_pt_hf_
private

◆ h_L1Puppi_part_resolution_0p2_pt_barrel_

MonitorElement* L1TPhase2CorrelatorOffline::h_L1Puppi_part_resolution_0p2_pt_barrel_
private

◆ h_L1Puppi_part_resolution_0p2_pt_ecnotk_

MonitorElement* L1TPhase2CorrelatorOffline::h_L1Puppi_part_resolution_0p2_pt_ecnotk_
private

◆ h_L1Puppi_part_resolution_0p2_pt_endcap_

MonitorElement* L1TPhase2CorrelatorOffline::h_L1Puppi_part_resolution_0p2_pt_endcap_
private

◆ h_L1Puppi_part_resolution_0p2_pt_hf_

MonitorElement* L1TPhase2CorrelatorOffline::h_L1Puppi_part_resolution_0p2_pt_hf_
private

◆ h_L1Puppi_part_response_0p2_eta_

MonitorElement* L1TPhase2CorrelatorOffline::h_L1Puppi_part_response_0p2_eta_
private

◆ h_L1Puppi_part_response_0p2_pt_barrel_

MonitorElement* L1TPhase2CorrelatorOffline::h_L1Puppi_part_response_0p2_pt_barrel_
private

◆ h_L1Puppi_part_response_0p2_pt_ecnotk_

MonitorElement* L1TPhase2CorrelatorOffline::h_L1Puppi_part_response_0p2_pt_ecnotk_
private

◆ h_L1Puppi_part_response_0p2_pt_endcap_

MonitorElement* L1TPhase2CorrelatorOffline::h_L1Puppi_part_response_0p2_pt_endcap_
private

◆ h_L1Puppi_part_response_0p2_pt_hf_

MonitorElement* L1TPhase2CorrelatorOffline::h_L1Puppi_part_response_0p2_pt_hf_
private

◆ h_L1Puppi_pt_

MonitorElement* L1TPhase2CorrelatorOffline::h_L1Puppi_pt_
private

Definition at line 258 of file L1TPhase2CorrelatorOffline.h.

Referenced by analyze(), and bookPhase2CorrelatorHistos().

◆ h_L1Puppi_pt_ch_

MonitorElement* L1TPhase2CorrelatorOffline::h_L1Puppi_pt_ch_
private

Definition at line 278 of file L1TPhase2CorrelatorOffline.h.

Referenced by analyze(), and bookPhase2CorrelatorHistos().

◆ h_L1Puppi_pt_el_

MonitorElement* L1TPhase2CorrelatorOffline::h_L1Puppi_pt_el_
private

Definition at line 268 of file L1TPhase2CorrelatorOffline.h.

Referenced by analyze(), and bookPhase2CorrelatorHistos().

◆ h_L1Puppi_pt_mu_

MonitorElement* L1TPhase2CorrelatorOffline::h_L1Puppi_pt_mu_
private

Definition at line 263 of file L1TPhase2CorrelatorOffline.h.

Referenced by analyze(), and bookPhase2CorrelatorHistos().

◆ h_L1Puppi_pt_nh_

MonitorElement* L1TPhase2CorrelatorOffline::h_L1Puppi_pt_nh_
private

Definition at line 283 of file L1TPhase2CorrelatorOffline.h.

Referenced by analyze(), and bookPhase2CorrelatorHistos().

◆ h_L1Puppi_pt_pho_

MonitorElement* L1TPhase2CorrelatorOffline::h_L1Puppi_pt_pho_
private

Definition at line 273 of file L1TPhase2CorrelatorOffline.h.

Referenced by analyze(), and bookPhase2CorrelatorHistos().

◆ histDefinitions_

dqmoffline::l1t::HistDefinitions L1TPhase2CorrelatorOffline::histDefinitions_
private

Definition at line 198 of file L1TPhase2CorrelatorOffline.h.

Referenced by bookPhase2CorrelatorHistos().

◆ histFolder_

std::string L1TPhase2CorrelatorOffline::histFolder_
private

Definition at line 196 of file L1TPhase2CorrelatorOffline.h.

Referenced by bookPhase2CorrelatorHistos().

◆ isParticleGun_

bool L1TPhase2CorrelatorOffline::isParticleGun_
private

Definition at line 195 of file L1TPhase2CorrelatorOffline.h.

Referenced by analyze().

◆ mc_

struct L1TPhase2CorrelatorOffline::McVars L1TPhase2CorrelatorOffline::mc_
private

Referenced by analyze().

◆ objs_

edm::ParameterSet L1TPhase2CorrelatorOffline::objs_
private

Definition at line 194 of file L1TPhase2CorrelatorOffline.h.

◆ phase2PFToken_

std::vector<edm::EDGetTokenT<std::vector<l1t::PFCandidate> > > L1TPhase2CorrelatorOffline::phase2PFToken_
private

Definition at line 200 of file L1TPhase2CorrelatorOffline.h.

Referenced by analyze().

◆ phase2PuppiToken_

std::vector<edm::EDGetTokenT<std::vector<l1t::PFCandidate> > > L1TPhase2CorrelatorOffline::phase2PuppiToken_
private

Definition at line 201 of file L1TPhase2CorrelatorOffline.h.

Referenced by analyze().

◆ PlotConfigNames

const std::map< std::string, unsigned int > L1TPhase2CorrelatorOffline::PlotConfigNames
static
Initial value:
= {
{"resVsPt", PlotConfig::resVsPt},
{"resVsEta", PlotConfig::resVsEta},
{"ptDist", PlotConfig::ptDist},
{"etaDist", PlotConfig::etaDist}}

Definition at line 55 of file L1TPhase2CorrelatorOffline.h.

◆ reco_

std::vector<std::pair<MultiCollection, RecoVars> > L1TPhase2CorrelatorOffline::reco_
private

Definition at line 252 of file L1TPhase2CorrelatorOffline.h.

Referenced by analyze().

◆ respresolFolder_

std::string L1TPhase2CorrelatorOffline::respresolFolder_
private

Definition at line 197 of file L1TPhase2CorrelatorOffline.h.

Referenced by bookPhase2CorrelatorHistos().