Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:33:20

0001 #ifndef MultiTrackValidatorGenPs_h
0002 #define MultiTrackValidatorGenPs_h
0003 
0004 /** \class MultiTrackValidatorGenPs
0005  *  Class that prodecs histrograms to validate Track Reconstruction performances
0006  *
0007  *  \author cerati
0008  */
0009 
0010 #include "Validation/RecoTrack/interface/MultiTrackValidator.h"
0011 #include "CommonTools/CandAlgos/interface/GenParticleCustomSelector.h"
0012 #include "SimDataFormats/Associations/interface/TrackToGenParticleAssociator.h"
0013 
0014 class MultiTrackValidatorGenPs : public MultiTrackValidator {
0015 public:
0016   /// Constructor
0017   MultiTrackValidatorGenPs(const edm::ParameterSet& pset);
0018 
0019   /// Destructor
0020   ~MultiTrackValidatorGenPs() override;
0021 
0022   /// Method called once per event
0023   void dqmAnalyze(const edm::Event&, const edm::EventSetup&, const Histograms&) const override;
0024 
0025 private:
0026   GenParticleCustomSelector gpSelector;
0027   edm::EDGetTokenT<reco::TrackToGenParticleAssociator> label_gen_associator;
0028   edm::EDGetTokenT<reco::GenToRecoCollection> associatormapGtR;
0029   edm::EDGetTokenT<reco::RecoToGenCollection> associatormapRtG;
0030 };
0031 
0032 #endif