test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
MultiTrackValidator.h
Go to the documentation of this file.
1 #ifndef MultiTrackValidator_h
2 #define MultiTrackValidator_h
3 
14 
16  public:
19 
21  virtual ~MultiTrackValidator();
22 
23 
25  void analyze(const edm::Event&, const edm::EventSetup& ) override;
27  void bookHistograms(DQMStore::IBooker&, edm::Run const&, edm::EventSetup const&) override;
28 
29 
30  protected:
31  //these are used by MTVGenPs
36  const bool doSummaryPlots_;
37  const bool doSimPlots_;
38  const bool doSimTrackPlots_;
39  const bool doRecoTrackPlots_;
40  const bool dodEdxPlots_;
42  const bool doSeedPlots_;
43  std::unique_ptr<MTVHistoProducerAlgoForTracker> histoProducerAlgo_;
44 
45  private:
46  std::vector<edm::EDGetTokenT<reco::TrackToTrackingParticleAssociator>> associatorTokens;
47  std::vector<edm::EDGetTokenT<reco::SimToRecoCollection>> associatormapStRs;
48  std::vector<edm::EDGetTokenT<reco::RecoToSimCollection>> associatormapRtSs;
49 
51 
52  bool useGsf;
53  // select tracking particles
54  //(i.e. "denominator" of the efficiency ratio)
59 
64  std::vector<edm::EDGetTokenT<std::vector<int>>> seedToTrackTokens_;
65 
67  std::vector<MonitorElement *> h_assoc_coll_allPt, h_simul_coll_allPt;
68 };
69 
70 
71 #endif
edm::EDGetTokenT< SimHitTPAssociationProducer::SimHitTPAssociationList > _simHitTpMapTag
std::vector< MonitorElement * > h_reco_coll
std::vector< edm::EDGetTokenT< reco::SimToRecoCollection > > associatormapStRs
CosmicTrackingParticleSelector cosmictpSelector
std::vector< MonitorElement * > h_simul_coll
void analyze(const edm::Event &, const edm::EventSetup &) override
Method called once per event.
TrackingParticleSelector dRtpSelector
TrackingParticleSelector dRtpSelectorNoPtCut
std::vector< edm::EDGetTokenT< reco::TrackToTrackingParticleAssociator > > associatorTokens
const bool doPlotsOnlyForTruePV_
std::vector< MonitorElement * > h_looper_coll
std::vector< MonitorElement * > h_pileup_coll
std::vector< MonitorElement * > h_assoc_coll
std::vector< edm::EDGetTokenT< reco::RecoToSimCollection > > associatormapRtSs
TrackingParticleSelector tpSelector
edm::EDGetTokenT< edm::View< reco::Track > > labelTokenForDrCalculation
std::vector< edm::EDGetTokenT< std::vector< int > > > seedToTrackTokens_
MultiTrackValidator(const edm::ParameterSet &pset)
Constructor.
std::unique_ptr< MTVHistoProducerAlgoForTracker > histoProducerAlgo_
std::vector< MonitorElement * > h_assoc_coll_allPt
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Method called to book the DQM histograms.
edm::EDGetTokenT< reco::VertexToTrackingVertexAssociator > vertexAssociatorToken_
const bool doPVAssociationPlots_
edm::EDGetTokenT< edm::View< reco::Vertex > > recoVertexToken_
const bool calculateDrSingleCollection_
std::vector< MonitorElement * > h_simul_coll_allPt
std::vector< MonitorElement * > h_assoc2_coll
Definition: Run.h:43
virtual ~MultiTrackValidator()
Destructor.
const bool parametersDefinerIsCosmic_