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 |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
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 |
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 |
Implements edm::EDAnalyzer.
Definition at line 148 of file PatBJetVertexAnalyzer.cc.
References funct::abs(), ALL_JETS, B_JETS, C_JETS, PatBJetVertexAnalyzer::Plots::chi2, reco::Vertex::chi2(), deltaR(), PatBJetVertexAnalyzer::Plots::deltaR, dir, GetRecoTauVFromDQM_MC_cff::dir2, PatBJetVertexAnalyzer::Plots::dist, PatBJetVertexAnalyzer::Plots::distErr, PatBJetVertexAnalyzer::Plots::distSig, Measurement1D::error(), reco::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(), 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, reco::flavour(), flavours_, i, TFileService::make(), PatBJetVertexAnalyzer::Plots::mass, N_JET_TYPES, mergeVDriftHistosByStation::name, PatBJetVertexAnalyzer::Plots::nTracks, PatBJetVertexAnalyzer::Plots::nVertices, RecoTauValidation_cfi::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().