Public Member Functions | |
SVTagInfoValidationAnalyzer (const edm::ParameterSet &) | |
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 (const std::string &iProcessName, std::vector< const char * > &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 Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) override |
void | bookRecoToSim (std::string const &) |
void | bookSimToReco (std::string const &) |
virtual void | endJob () override |
void | fillRecoToSim (std::string const &, reco::Vertex const &, TrackingVertexRef const &) |
void | fillSimToReco (std::string const &, reco::VertexBaseRef const &, TrackingVertexRef const &) |
Private Attributes | |
VertexClassifierByProxy < reco::SecondaryVertexTagInfoCollection > | classifier_ |
edm::Service< TFileService > | fs_ |
Int_t | n_event |
Int_t | numberVertexClassifier_ |
Int_t | rs_total_nall |
Int_t | rs_total_nbsv |
Int_t | rs_total_nbv |
Int_t | rs_total_ncv |
Int_t | rs_total_nlv |
Int_t | rs_total_nsv |
Int_t | sr_total_nall |
Int_t | sr_total_nbsv |
Int_t | sr_total_nbv |
Int_t | sr_total_ncv |
Int_t | sr_total_nlv |
Int_t | sr_total_nsv |
edm::InputTag | svTagInfoProducer_ |
std::map< std::string, TH1D * > | TH1Index_ |
Int_t | total_nfake |
Int_t | total_nmiss |
edm::InputTag | trackingTruth_ |
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 37 of file SVTagInfoValidationAnalyzer.cc.
|
explicit |
Definition at line 91 of file SVTagInfoValidationAnalyzer.cc.
References bookRecoToSim(), bookSimToReco(), fs_, edm::ParameterSet::getUntrackedParameter(), i, TFileService::make(), n_event, VertexCategories::Names, numberVertexClassifier_, rs_total_nall, rs_total_nbsv, rs_total_nbv, rs_total_ncv, rs_total_nlv, rs_total_nsv, sr_total_nall, sr_total_nbsv, sr_total_nbv, sr_total_ncv, sr_total_nlv, sr_total_nsv, svTagInfoProducer_, TH1Index_, total_nfake, total_nmiss, trackingTruth_, and VertexCategories::Unknown.
|
overrideprivatevirtual |
Implements edm::EDAnalyzer.
Definition at line 179 of file SVTagInfoValidationAnalyzer.cc.
References VertexCategories::BWeakDecay, classifier_, gather_cfg::cout, VertexCategories::CWeakDecay, VertexClassifierByProxy< Collection >::evaluate(), VertexCategories::Fake, fillRecoToSim(), fillSimToReco(), VertexClassifier::history(), i, cmsHarvester::index, VertexCategories::is(), n_event, VertexClassifierByProxy< Collection >::newEvent(), numberVertexClassifier_, VertexHistory::quality(), VertexCategories::Reconstructed, VertexHistory::recoVertex(), rs_total_nall, rs_total_nbsv, rs_total_nbv, rs_total_ncv, rs_total_nlv, rs_total_nsv, VertexCategories::SecondaryVertex, HistoryBase::simVertex(), sr_total_nall, sr_total_nbsv, sr_total_nbv, sr_total_ncv, sr_total_nlv, sr_total_nsv, svTagInfoProducer_, TH1Index_, total_nfake, total_nmiss, and trackingTruth_.
|
private |
Definition at line 400 of file SVTagInfoValidationAnalyzer.cc.
References fs_, TFileService::make(), mergeVDriftHistosByStation::name, AlCaHLTBitMon_QueryRunRegistry::string, and TH1Index_.
Referenced by SVTagInfoValidationAnalyzer().
|
private |
Definition at line 468 of file SVTagInfoValidationAnalyzer.cc.
References fs_, TFileService::make(), mergeVDriftHistosByStation::name, AlCaHLTBitMon_QueryRunRegistry::string, and TH1Index_.
Referenced by SVTagInfoValidationAnalyzer().
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 719 of file SVTagInfoValidationAnalyzer.cc.
References gather_cfg::cout, n_event, rs_total_nall, rs_total_nbsv, rs_total_nbv, rs_total_ncv, rs_total_nlv, rs_total_nsv, sr_total_nall, sr_total_nbsv, sr_total_nbv, sr_total_ncv, sr_total_nlv, sr_total_nsv, and total_nfake.
|
private |
Definition at line 536 of file SVTagInfoValidationAnalyzer.cc.
References RecoTauCleanerPlugins::charge, reco::Vertex::chi2(), ChiSquaredProbability(), eta, reco::Vertex::ndof(), reco::Vertex::normalizedChi2(), AlCaHLTBitMon_ParallelJobs::p, EnergyCorrector::pt, mathSSE::sqrt(), TH1Index_, reco::Vertex::tracks_begin(), reco::Vertex::tracks_end(), reco::Vertex::tracksSize(), reco::Vertex::trackWeight(), puppiForMET_cff::weight, reco::Vertex::x(), reco::Vertex::xError(), reco::Vertex::y(), reco::Vertex::yError(), reco::Vertex::z(), and reco::Vertex::zError().
Referenced by analyze().
|
private |
Definition at line 626 of file SVTagInfoValidationAnalyzer.cc.
References RecoTauCleanerPlugins::charge, reco::Vertex::chi2(), ChiSquaredProbability(), eta, reco::Vertex::ndof(), reco::Vertex::normalizedChi2(), AlCaHLTBitMon_ParallelJobs::p, EnergyCorrector::pt, mathSSE::sqrt(), TH1Index_, reco::Vertex::tracks_begin(), reco::Vertex::tracks_end(), reco::Vertex::tracksSize(), reco::Vertex::trackWeight(), puppiForMET_cff::weight, reco::Vertex::x(), reco::Vertex::xError(), reco::Vertex::y(), reco::Vertex::yError(), reco::Vertex::z(), and reco::Vertex::zError().
Referenced by analyze().
|
private |
Definition at line 50 of file SVTagInfoValidationAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 57 of file SVTagInfoValidationAnalyzer.cc.
Referenced by bookRecoToSim(), bookSimToReco(), and SVTagInfoValidationAnalyzer().
|
private |
Definition at line 59 of file SVTagInfoValidationAnalyzer.cc.
Referenced by analyze(), endJob(), and SVTagInfoValidationAnalyzer().
|
private |
Definition at line 52 of file SVTagInfoValidationAnalyzer.cc.
Referenced by analyze(), and SVTagInfoValidationAnalyzer().
|
private |
Definition at line 60 of file SVTagInfoValidationAnalyzer.cc.
Referenced by analyze(), endJob(), and SVTagInfoValidationAnalyzer().
|
private |
Definition at line 63 of file SVTagInfoValidationAnalyzer.cc.
Referenced by analyze(), endJob(), and SVTagInfoValidationAnalyzer().
|
private |
Definition at line 62 of file SVTagInfoValidationAnalyzer.cc.
Referenced by analyze(), endJob(), and SVTagInfoValidationAnalyzer().
|
private |
Definition at line 64 of file SVTagInfoValidationAnalyzer.cc.
Referenced by analyze(), endJob(), and SVTagInfoValidationAnalyzer().
|
private |
Definition at line 65 of file SVTagInfoValidationAnalyzer.cc.
Referenced by analyze(), endJob(), and SVTagInfoValidationAnalyzer().
|
private |
Definition at line 61 of file SVTagInfoValidationAnalyzer.cc.
Referenced by analyze(), endJob(), and SVTagInfoValidationAnalyzer().
|
private |
Definition at line 68 of file SVTagInfoValidationAnalyzer.cc.
Referenced by analyze(), endJob(), and SVTagInfoValidationAnalyzer().
|
private |
Definition at line 71 of file SVTagInfoValidationAnalyzer.cc.
Referenced by analyze(), endJob(), and SVTagInfoValidationAnalyzer().
|
private |
Definition at line 70 of file SVTagInfoValidationAnalyzer.cc.
Referenced by analyze(), endJob(), and SVTagInfoValidationAnalyzer().
|
private |
Definition at line 72 of file SVTagInfoValidationAnalyzer.cc.
Referenced by analyze(), endJob(), and SVTagInfoValidationAnalyzer().
|
private |
Definition at line 73 of file SVTagInfoValidationAnalyzer.cc.
Referenced by analyze(), endJob(), and SVTagInfoValidationAnalyzer().
|
private |
Definition at line 69 of file SVTagInfoValidationAnalyzer.cc.
Referenced by analyze(), endJob(), and SVTagInfoValidationAnalyzer().
|
private |
Definition at line 54 of file SVTagInfoValidationAnalyzer.cc.
Referenced by analyze(), and SVTagInfoValidationAnalyzer().
|
private |
Definition at line 86 of file SVTagInfoValidationAnalyzer.cc.
Referenced by analyze(), bookRecoToSim(), bookSimToReco(), fillRecoToSim(), fillSimToReco(), and SVTagInfoValidationAnalyzer().
|
private |
Definition at line 66 of file SVTagInfoValidationAnalyzer.cc.
Referenced by analyze(), endJob(), and SVTagInfoValidationAnalyzer().
|
private |
Definition at line 74 of file SVTagInfoValidationAnalyzer.cc.
Referenced by analyze(), and SVTagInfoValidationAnalyzer().
|
private |
Definition at line 53 of file SVTagInfoValidationAnalyzer.cc.
Referenced by analyze(), and SVTagInfoValidationAnalyzer().