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  const bool doMVAPlots_;
44  std::unique_ptr<MTVHistoProducerAlgoForTracker> histoProducerAlgo_;
45 
46  private:
47  std::vector<edm::EDGetTokenT<reco::TrackToTrackingParticleAssociator>> associatorTokens;
48  std::vector<edm::EDGetTokenT<reco::SimToRecoCollection>> associatormapStRs;
49  std::vector<edm::EDGetTokenT<reco::RecoToSimCollection>> associatormapRtSs;
50 
54 
55 
56  using MVACollection = std::vector<float>;
57  using QualityMaskCollection = std::vector<unsigned char>;
58  std::vector<std::vector<std::tuple<edm::EDGetTokenT<MVACollection>, edm::EDGetTokenT<QualityMaskCollection> > > > mvaQualityCollectionTokens_;
59 
61 
62  bool useGsf;
63  const double simPVMaxZ_;
64  // select tracking particles
65  //(i.e. "denominator" of the efficiency ratio)
70 
75 
77  std::vector<MonitorElement *> h_assoc_coll_allPt, h_simul_coll_allPt;
78 };
79 
80 
81 #endif
std::vector< float > MVACollection
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
std::vector< std::vector< std::tuple< edm::EDGetTokenT< MVACollection >, edm::EDGetTokenT< QualityMaskCollection > > > > mvaQualityCollectionTokens_
void analyze(const edm::Event &, const edm::EventSetup &) override
Method called once per event.
edm::EDGetTokenT< edm::ValueMap< unsigned int > > tpNStripStereoLayersToken_
edm::EDGetTokenT< edm::ValueMap< unsigned int > > tpNLayersToken_
std::vector< unsigned char > QualityMaskCollection
TrackingParticleSelector dRtpSelector
TrackingParticleSelector dRtpSelectorNoPtCut
std::vector< edm::EDGetTokenT< reco::TrackToTrackingParticleAssociator > > associatorTokens
const bool doPlotsOnlyForTruePV_
std::vector< MonitorElement * > h_looper_coll
edm::EDGetTokenT< edm::ValueMap< unsigned int > > tpNPixelLayersToken_
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
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:42
virtual ~MultiTrackValidator()
Destructor.
const bool parametersDefinerIsCosmic_