Classes | |
struct | Plots |
Public Member Functions | |
virtual void | analyze (const edm::Event &event, const edm::EventSetup &es) override |
virtual void | beginJob () override |
PatBJetTrackAnalyzer (const edm::ParameterSet ¶ms) | |
constructor and destructor More... | |
~PatBJetTrackAnalyzer () | |
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 | |
enum | Flavour { ALL_JETS = 0, UDSG_JETS, C_JETS, B_JETS, NONID_JETS, N_JET_TYPES } |
Private Attributes | |
edm::EDGetTokenT< reco::BeamSpot > | beamSpotToken_ |
TH1 * | flavours_ |
double | jetEtaCut_ |
double | jetPtCut_ |
edm::EDGetTokenT< pat::JetCollection > | jetsToken_ |
double | maxDeltaR_ |
unsigned int | minPixelHits_ |
double | minPt_ |
unsigned int | minTotalHits_ |
unsigned int | nThTrack_ |
struct PatBJetTrackAnalyzer::Plots | plots_ [N_JET_TYPES] |
edm::EDGetTokenT< reco::VertexCollection > | primaryVerticesToken_ |
edm::EDGetTokenT< reco::TrackCollection > | tracksToken_ |
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 30 of file PatBJetTrackAnalyzer.cc.
|
private |
Enumerator | |
---|---|
ALL_JETS | |
UDSG_JETS | |
C_JETS | |
B_JETS | |
NONID_JETS | |
N_JET_TYPES |
Definition at line 59 of file PatBJetTrackAnalyzer.cc.
PatBJetTrackAnalyzer::PatBJetTrackAnalyzer | ( | const edm::ParameterSet & | params | ) |
constructor and destructor
Definition at line 79 of file PatBJetTrackAnalyzer.cc.
PatBJetTrackAnalyzer::~PatBJetTrackAnalyzer | ( | ) |
Definition at line 94 of file PatBJetTrackAnalyzer.cc.
|
overridevirtual |
Definition at line 179 of file PatBJetTrackAnalyzer.cc.
References funct::abs(), ALL_JETS, PatBJetTrackAnalyzer::Plots::allDeltaR, PatBJetTrackAnalyzer::Plots::allIP, PatBJetTrackAnalyzer::Plots::allIPErr, PatBJetTrackAnalyzer::Plots::allIPSig, B_JETS, ecalDrivenElectronSeedsParameters_cff::beamSpot, beamSpotToken_, C_JETS, DEFINE_FWK_MODULE, deltaR(), HiRegitMuonDetachedTripletStep_cff::DeltaR, Measurement1D::error(), GenHFHadronMatcher_cff::flavour, flavours_, createfilelist::int, metsig::jet, jetEtaCut_, jetPtCut_, jetsToken_, maxDeltaR_, minPixelHits_, minPt_, minTotalHits_, PatBJetTrackAnalyzer::Plots::negativeIP, PatBJetTrackAnalyzer::Plots::negativeIPErr, PatBJetTrackAnalyzer::Plots::negativeIPSig, NONID_JETS, nThTrack_, PatBJetTrackAnalyzer::Plots::nTracks, plots_, reco::BeamSpot::position(), primaryVerticesToken_, MetAnalyzer::pv(), Validation_hcalonly_cfi::sign, Measurement1D::significance(), significanceHigher(), HiIsolationCommonParameters_cff::track, PatBJetTrackAnalyzer::Plots::trackIP, PatBJetTrackAnalyzer::Plots::trackIPErr, PatBJetTrackAnalyzer::Plots::trackIPSig, tracksToken_, UDSG_JETS, and Measurement1D::value().
|
overridevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 98 of file PatBJetTrackAnalyzer.cc.
References ALL_JETS, PatBJetTrackAnalyzer::Plots::allDeltaR, PatBJetTrackAnalyzer::Plots::allIP, PatBJetTrackAnalyzer::Plots::allIPErr, PatBJetTrackAnalyzer::Plots::allIPSig, B_JETS, C_JETS, GenHFHadronMatcher_cff::flavour, flavours_, mps_fire::i, TFileService::make(), N_JET_TYPES, dataset::name, PatBJetTrackAnalyzer::Plots::negativeIP, PatBJetTrackAnalyzer::Plots::negativeIPErr, PatBJetTrackAnalyzer::Plots::negativeIPSig, PatBJetTrackAnalyzer::Plots::nTracks, nanoDQM_cff::plots, plots_, PatBJetTrackAnalyzer::Plots::trackIP, PatBJetTrackAnalyzer::Plots::trackIPErr, PatBJetTrackAnalyzer::Plots::trackIPSig, and UDSG_JETS.
|
private |
Definition at line 44 of file PatBJetTrackAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 68 of file PatBJetTrackAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 48 of file PatBJetTrackAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 47 of file PatBJetTrackAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 42 of file PatBJetTrackAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 49 of file PatBJetTrackAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 52 of file PatBJetTrackAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 51 of file PatBJetTrackAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 53 of file PatBJetTrackAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 55 of file PatBJetTrackAnalyzer.cc.
Referenced by analyze().
|
private |
Referenced by analyze(), and beginJob().
|
private |
Definition at line 45 of file PatBJetTrackAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 43 of file PatBJetTrackAnalyzer.cc.
Referenced by analyze().