#include <Validation/RecoVertex/src/V0Validator.cc>
Classes | |
struct | V0Couple |
Public Types | |
enum | V0Type { KSHORT, LAMBDA } |
Public Types inherited from edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > > | |
typedef CacheContexts< T...> | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T...> | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT < LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Public Types inherited from edm::stream::EDAnalyzerBase | |
typedef EDAnalyzerAdaptorBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Private Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) override |
void | bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override |
void | doEfficiencies (const TrackingVertexCollection &gen_vertices, V0Type t, int parent_particle_id, int first_daughter_id, int second_daughter_id, const reco::VertexCompositeCandidateCollection &collection, const reco::SimToRecoCollection &simtorecoCollection) |
void | doFakeRates (const reco::VertexCompositeCandidateCollection &collection, const reco::RecoToSimCollection &recotosimCollection, V0Type t, int particle_pdgid, int misreconstructed_particle_pdgid) |
Additional Inherited Members | |
Static Public Member Functions inherited from DQMEDAnalyzer | |
static std::shared_ptr < dqmDetails::NoCache > | globalBeginLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *) |
static std::shared_ptr < dqmDetails::NoCache > | globalBeginRunSummary (edm::Run const &, edm::EventSetup const &, RunContext const *) |
static void | globalEndLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *, dqmDetails::NoCache *) |
static void | globalEndRunSummary (edm::Run const &, edm::EventSetup const &, RunContext const *, dqmDetails::NoCache *) |
Static Public Member Functions inherited from edm::stream::EDAnalyzerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
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) |
Validation/RecoVertex/interface/V0Validator.h
Description: Creates validation histograms for RecoVertex/V0Producer
Implementation: <Notes on="" implementation>="">
Description: Creates validation histograms for RecoVertex/V0Producer
Implementation: <Notes on="" implementation>="">
Definition at line 81 of file V0Validator.h.
enum V0Validator::V0Type |
Enumerator | |
---|---|
KSHORT | |
LAMBDA |
Definition at line 85 of file V0Validator.h.
|
explicit |
Definition at line 28 of file V0Validator.cc.
V0Validator::~V0Validator | ( | ) |
Definition at line 50 of file V0Validator.cc.
|
overrideprivatevirtual |
Implements edm::stream::EDAnalyzerBase.
Definition at line 426 of file V0Validator.cc.
References gather_cfg::cout, doEfficiencies(), doFakeRates(), edm::EventSetup::get(), edm::Event::getByToken(), recoRecoToSimCollectionToken_, recoSimToRecoCollectionToken_, recoVertexCompositeCandidateCollection_k0s_Token_, recoVertexCompositeCandidateCollection_lambda_Token_, trackingVertexCollection_Token_, and vec_recoVertex_Token_.
|
overrideprivatevirtual |
Implements DQMEDAnalyzer.
Definition at line 52 of file V0Validator.cc.
References DQMStore::IBooker::book1D(), candidateEffVsEta_denom_, candidateEffVsEta_num_, candidateEffVsPt_denom_, candidateEffVsPt_num_, candidateEffVsR_denom_, candidateEffVsR_num_, candidateFakeDauRadDist_, candidateFakeVsEta_denom_, candidateFakeVsEta_num_, candidateFakeVsPt_denom_, candidateFakeVsPt_num_, candidateFakeVsR_denom_, candidateFakeVsR_num_, candidateMassAll, candidateStatus_, candidateTkEffVsEta_num_, candidateTkEffVsPt_num_, candidateTkEffVsR_num_, candidateTkFakeVsEta_num_, candidateTkFakeVsPt_num_, candidateTkFakeVsR_num_, DQMStore::IBooker::cd(), dirName, fakeCandidateMass_, goodCandidateMass, KSHORT, LAMBDA, nCandidates_, DQMStore::IBooker::setCurrentFolder(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 326 of file V0Validator.cc.
References funct::abs(), edm::AssociationMap< Tag >::begin(), candidateEffVsEta_denom_, candidateEffVsEta_num_, candidateEffVsPt_denom_, candidateEffVsPt_num_, candidateEffVsR_denom_, candidateEffVsR_num_, edm::AssociationMap< Tag >::end(), edm::AssociationMap< Tag >::find(), SingleMuPt40Fwdv2_cfi_GEN_SIM::pdgId, edm::AssociationMap< Tag >::size(), source, and mathSSE::sqrt().
Referenced by analyze().
|
private |
Definition at line 199 of file V0Validator.cc.
References funct::abs(), candidateFakeDauRadDist_, candidateFakeVsEta_denom_, candidateFakeVsEta_num_, candidateFakeVsPt_denom_, candidateFakeVsPt_num_, candidateFakeVsR_denom_, candidateFakeVsR_num_, candidateMassAll, candidateStatus_, candidateTkFakeVsEta_num_, candidateTkFakeVsPt_num_, candidateTkFakeVsR_num_, HLT_25ns10e33_v2_cff::distance, edm::AssociationMap< Tag >::end(), fakeCandidateMass_, edm::AssociationMap< Tag >::find(), goodCandidateMass, i, edm::Ref< C, T, F >::isNonnull(), ResonanceBuilder::mass, nCandidates_, and mathSSE::sqrt().
Referenced by analyze().
|
private |
Definition at line 141 of file V0Validator.h.
Referenced by bookHistograms(), and doEfficiencies().
|
private |
Definition at line 125 of file V0Validator.h.
Referenced by bookHistograms(), and doEfficiencies().
|
private |
Definition at line 142 of file V0Validator.h.
Referenced by bookHistograms(), and doEfficiencies().
|
private |
Definition at line 126 of file V0Validator.h.
Referenced by bookHistograms(), and doEfficiencies().
|
private |
Definition at line 140 of file V0Validator.h.
Referenced by bookHistograms(), and doEfficiencies().
|
private |
Definition at line 124 of file V0Validator.h.
Referenced by bookHistograms(), and doEfficiencies().
|
private |
Definition at line 147 of file V0Validator.h.
Referenced by bookHistograms(), and doFakeRates().
|
private |
Definition at line 138 of file V0Validator.h.
Referenced by bookHistograms(), and doFakeRates().
|
private |
Definition at line 131 of file V0Validator.h.
Referenced by bookHistograms(), and doFakeRates().
|
private |
Definition at line 139 of file V0Validator.h.
Referenced by bookHistograms(), and doFakeRates().
|
private |
Definition at line 132 of file V0Validator.h.
Referenced by bookHistograms(), and doFakeRates().
|
private |
Definition at line 137 of file V0Validator.h.
Referenced by bookHistograms(), and doFakeRates().
|
private |
Definition at line 130 of file V0Validator.h.
Referenced by bookHistograms(), and doFakeRates().
|
private |
Definition at line 148 of file V0Validator.h.
Referenced by bookHistograms(), and doFakeRates().
|
private |
Definition at line 145 of file V0Validator.h.
Referenced by bookHistograms(), and doFakeRates().
|
private |
Definition at line 128 of file V0Validator.h.
Referenced by bookHistograms().
|
private |
Definition at line 129 of file V0Validator.h.
Referenced by bookHistograms().
|
private |
Definition at line 127 of file V0Validator.h.
Referenced by bookHistograms().
|
private |
Definition at line 134 of file V0Validator.h.
Referenced by bookHistograms(), and doFakeRates().
|
private |
Definition at line 135 of file V0Validator.h.
Referenced by bookHistograms(), and doFakeRates().
|
private |
Definition at line 133 of file V0Validator.h.
Referenced by bookHistograms(), and doFakeRates().
|
private |
Definition at line 152 of file V0Validator.h.
Referenced by bookHistograms(), analyzer.Analyzer::write(), and core.JSONAnalyzer.JSONAnalyzer::write().
|
private |
Definition at line 146 of file V0Validator.h.
Referenced by bookHistograms(), and doFakeRates().
|
private |
Definition at line 149 of file V0Validator.h.
Referenced by bookHistograms(), and doFakeRates().
|
private |
Definition at line 144 of file V0Validator.h.
Referenced by bookHistograms(), and doFakeRates().
|
private |
Definition at line 153 of file V0Validator.h.
Referenced by analyze().
|
private |
Definition at line 154 of file V0Validator.h.
Referenced by analyze().
|
private |
Definition at line 158 of file V0Validator.h.
Referenced by analyze().
|
private |
Definition at line 158 of file V0Validator.h.
Referenced by analyze().
|
private |
Definition at line 151 of file V0Validator.h.
|
private |
Definition at line 155 of file V0Validator.h.
Referenced by analyze().
|
private |
Definition at line 156 of file V0Validator.h.
Referenced by analyze().