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 |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
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 (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) 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 | |
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 |
Implements edm::EDAnalyzer.
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, SiPixelRawToDigiRegional_cfi::beamSpot, beamSpotToken_, C_JETS, deltaR(), HLT_25ns10e33_v2_cff::DeltaR, Measurement1D::error(), reco::flavour(), flavours_, 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_, primaryVerticesToken_, MetAnalyzer::pv(), jetcorrextractor::sign(), Measurement1D::significance(), significanceHigher(), 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, reco::flavour(), flavours_, i, TFileService::make(), N_JET_TYPES, mergeVDriftHistosByStation::name, PatBJetTrackAnalyzer::Plots::negativeIP, PatBJetTrackAnalyzer::Plots::negativeIPErr, PatBJetTrackAnalyzer::Plots::negativeIPSig, PatBJetTrackAnalyzer::Plots::nTracks, RecoTauValidation_cfi::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().