Classes | |
struct | Plots |
Public Member Functions | |
virtual void | analyze (const edm::Event &event, const edm::EventSetup &es) override |
virtual void | beginJob () override |
PatBJetVertexAnalyzer (const edm::ParameterSet ¶ms) | |
constructor and destructor More... | |
~PatBJetVertexAnalyzer () | |
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 | |
TH1 * | flavours_ |
double | jetEtaCut_ |
double | jetPtCut_ |
edm::EDGetTokenT< pat::JetCollection > | jetsToken_ |
double | maxDeltaR_ |
struct PatBJetVertexAnalyzer::Plots | plots_ [N_JET_TYPES] |
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 33 of file PatBJetVertexAnalyzer.cc.
|
private |
Enumerator | |
---|---|
ALL_JETS | |
UDSG_JETS | |
C_JETS | |
B_JETS | |
NONID_JETS | |
N_JET_TYPES |
Definition at line 53 of file PatBJetVertexAnalyzer.cc.
PatBJetVertexAnalyzer::PatBJetVertexAnalyzer | ( | const edm::ParameterSet & | params | ) |
constructor and destructor
Definition at line 72 of file PatBJetVertexAnalyzer.cc.
PatBJetVertexAnalyzer::~PatBJetVertexAnalyzer | ( | ) |
Definition at line 79 of file PatBJetVertexAnalyzer.cc.
|
overridevirtual |
Definition at line 148 of file PatBJetVertexAnalyzer.cc.
References funct::abs(), ALL_JETS, B_JETS, C_JETS, PatBJetVertexAnalyzer::Plots::chi2, reco::Vertex::chi2(), DEFINE_FWK_MODULE, deltaR(), HiRegitMuonDetachedTripletStep_cff::DeltaR, PatBJetVertexAnalyzer::Plots::deltaR, dir, GetRecoTauVFromDQM_MC_cff::dir2, PatBJetVertexAnalyzer::Plots::dist, SoftLeptonByDistance_cfi::distance, PatBJetVertexAnalyzer::Plots::distErr, PatBJetVertexAnalyzer::Plots::distSig, Measurement1D::error(), GenHFHadronMatcher_cff::flavour, flavours_, reco::TemplatedSecondaryVertexTagInfo< IPTI, VTX >::flightDirection(), reco::TemplatedSecondaryVertexTagInfo< IPTI, VTX >::flightDistance(), metsig::jet, jetEtaCut_, jetPtCut_, jetsToken_, PatBJetVertexAnalyzer::Plots::mass, NONID_JETS, PatBJetVertexAnalyzer::Plots::nTracks, PatBJetVertexAnalyzer::Plots::nVertices, reco::TemplatedSecondaryVertexTagInfo< IPTI, VTX >::nVertices(), plots_, reco::TemplatedSecondaryVertexTagInfo< IPTI, VTX >::secondaryVertex(), Measurement1D::significance(), pfDeepBoostedJetPreprocessParams_cfi::sv, HiIsolationCommonParameters_cff::track, reco::Vertex::tracks_begin(), reco::Vertex::tracks_end(), reco::Vertex::tracksSize(), UDSG_JETS, Measurement1D::value(), reco::btau::vertexMass, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
|
overridevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 83 of file PatBJetVertexAnalyzer.cc.
References ALL_JETS, B_JETS, C_JETS, PatBJetVertexAnalyzer::Plots::chi2, PatBJetVertexAnalyzer::Plots::deltaR, PatBJetVertexAnalyzer::Plots::dist, PatBJetVertexAnalyzer::Plots::distErr, PatBJetVertexAnalyzer::Plots::distSig, GenHFHadronMatcher_cff::flavour, flavours_, mps_fire::i, TFileService::make(), PatBJetVertexAnalyzer::Plots::mass, N_JET_TYPES, dataset::name, PatBJetVertexAnalyzer::Plots::nTracks, PatBJetVertexAnalyzer::Plots::nVertices, nanoDQM_cff::plots, plots_, and UDSG_JETS.
|
private |
Definition at line 62 of file PatBJetVertexAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 48 of file PatBJetVertexAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 47 of file PatBJetVertexAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 45 of file PatBJetVertexAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 49 of file PatBJetVertexAnalyzer.cc.
|
private |
Referenced by analyze(), and beginJob().