#include <JetAnaPythia.h>
Public Member Functions | |
JetAnaPythia (edm::ParameterSet const &cfg) | |
Public Member Functions inherited from edm::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzer () | |
ModuleDescription const & | moduleDescription () const |
std::string | workerType () const |
~EDAnalyzer () override | |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () 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 | |
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::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
Private Types | |
typedef std::vector< Jet > | JetCollection |
Private Member Functions | |
void | analyze (edm::Event const &e, edm::EventSetup const &iSetup) override |
void | beginJob () override |
void | endJob () override |
void | FillHist1D (const TString &histName, const Double_t &x, const Double_t &wt) |
Private Attributes | |
std::string | anaLevel |
bool | debug |
float | diJetMass |
float | diPartMass |
float | etaJet1 |
float | etaJet2 |
float | etaPart1 |
float | etaPart2 |
int | eventsGen |
std::string | HistoFileName |
std::string | JetAlgorithm |
TFile * | m_file |
std::map< TString, TH1 * > | m_HistNames1D |
TTree * | mcTruthTree_ |
int | nJets |
int | NJets |
float | pt_hat |
std::vector< double > | ptHatEdges |
float | ptJet1 |
float | ptJet2 |
float | ptPart1 |
float | ptPart2 |
float | weight |
float | xsec |
std::vector< double > | xsecGen |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Definition at line 16 of file JetAnaPythia.h.
|
private |
Definition at line 21 of file JetAnaPythia.h.
JetAnaPythia< Jet >::JetAnaPythia | ( | edm::ParameterSet const & | cfg | ) |
Definition at line 27 of file JetAnaPythia.cc.
References debug, edm::ParameterSet::getParameter(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
overrideprivatevirtual |
evt.getRun().getByLabel("generator", genInfoProduct );
Histograms for Dijet Mass Analysis ////
Histograms for Dijet Ratio Analysis: Inner region ///
Histograms for Dijet Ratio Analysis: Outer region ////
We are looking at dijet resonances. ////
We are looking at QCD ////
Diparton mass for dijet mass analysis ////
Diparton mass for dijet ratio analysis: inner region ///
Diparton mass for dijet ratio analysis: outer region ///
Implements edm::EDAnalyzer.
Definition at line 140 of file JetAnaPythia.cc.
References funct::abs(), gather_cfg::cout, debug, objects.autophobj::float, edm::Event::getByLabel(), edm::HepMCProduct::GetEvent(), mps_fire::i, diffTreeTool::index, fwrapper::jets, ResonanceBuilder::mass, AlCaHLTBitMon_ParallelJobs::p, reco::LeafCandidate::p4(), reco::LeafCandidate::pdgId(), lumiQueryAPI::q, alignCSCRings::r, and reco::LeafCandidate::status().
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 41 of file JetAnaPythia.cc.
References M_PI.
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 331 of file JetAnaPythia.cc.
|
private |
|
private |
Analysis level string. Can speed up job by looking at less /// PtHatOnly: only get PtHat and make PtHat histos Jets: do histogram analysis of jets, but not partons all: do analysis of everything and make histos and root tree generating: analysis of everything, make histos and root tree
Definition at line 56 of file JetAnaPythia.h.
|
private |
Definition at line 48 of file JetAnaPythia.h.
|
private |
Definition at line 37 of file JetAnaPythia.h.
|
private |
Definition at line 38 of file JetAnaPythia.h.
|
private |
Definition at line 33 of file JetAnaPythia.h.
|
private |
Definition at line 33 of file JetAnaPythia.h.
|
private |
Definition at line 35 of file JetAnaPythia.h.
|
private |
Definition at line 35 of file JetAnaPythia.h.
|
private |
Definition at line 50 of file JetAnaPythia.h.
|
private |
Definition at line 44 of file JetAnaPythia.h.
|
private |
Definition at line 42 of file JetAnaPythia.h.
|
private |
Definition at line 39 of file JetAnaPythia.h.
|
private |
Definition at line 26 of file JetAnaPythia.h.
|
private |
Definition at line 28 of file JetAnaPythia.h.
|
private |
Definition at line 32 of file JetAnaPythia.h.
|
private |
Definition at line 46 of file JetAnaPythia.h.
|
private |
Definition at line 31 of file JetAnaPythia.h.
|
private |
Definition at line 61 of file JetAnaPythia.h.
|
private |
Definition at line 34 of file JetAnaPythia.h.
|
private |
Definition at line 34 of file JetAnaPythia.h.
|
private |
Definition at line 36 of file JetAnaPythia.h.
|
private |
Definition at line 36 of file JetAnaPythia.h.
|
private |
Definition at line 30 of file JetAnaPythia.h.
Referenced by dirstructure.Directory::calcStats(), dirstructure.Directory::get_fail_rate(), dirstructure.Directory::get_null_rate(), dirstructure.Directory::get_skiped_rate(), dirstructure.Directory::get_success_rate(), and dirstructure.Directory::print_report().
|
private |
Definition at line 29 of file JetAnaPythia.h.
|
private |
Generator cross section Only 1 entry in case analysis level is "generating" //// Multiple entries when analyzing ///
Definition at line 60 of file JetAnaPythia.h.