CMS 3D CMS Logo

MuonDetCleaner.h
Go to the documentation of this file.
1 
12 #ifndef TauAnalysis_MCEmbeddingTools_MuonDetCleaner_H
13 #define TauAnalysis_MCEmbeddingTools_MuonDetCleaner_H
14 
22 
29 
33 
36 
37 #include <map>
38 #include <string>
39 #include <vector>
40 
41 template <typename T1, typename T2>
43 public:
44  explicit MuonDetCleaner(const edm::ParameterSet &);
45  ~MuonDetCleaner() override;
46 
47 private:
49 
50  void beginRun(const edm::Run &, const edm::EventSetup &) override;
51  void produce(edm::Event &, const edm::EventSetup &) override;
52  void fillVetoHits(const TrackingRecHit &, std::vector<uint32_t> *);
53  uint32_t getRawDetId(const T2 &);
54  bool checkrecHit(const TrackingRecHit &);
55 
57 
58  std::map<std::string, edm::EDGetTokenT<RecHitCollection>> inputs_;
59 
72 };
73 
74 #endif
edm::ESGetToken< DTGeometry, MuonGeometryRecord > m_dtGeometryToken
edm::ESHandle< CSCGeometry > m_cscGeometry
uint32_t getRawDetId(const T2 &)
bool checkrecHit(const TrackingRecHit &)
edm::RangeMap< T1, edm::OwnVector< T2 > > RecHitCollection
~MuonDetCleaner() override
void beginRun(const edm::Run &, const edm::EventSetup &) override
edm::EDGetTokenT< CSCStripDigiCollection > m_cscDigisToken
edm::Handle< CSCStripDigiCollection > m_cscDigis
TrackAssociatorParameters parameters_
double m_digiMaxDistanceX
TrackDetectorAssociator trackAssociator_
void produce(edm::Event &, const edm::EventSetup &) override
const edm::EDGetTokenT< edm::View< pat::Muon > > mu_input_
const edm::ESGetToken< Propagator, TrackingComponentsRecord > propagatorToken_
MuonDetCleaner(const edm::ParameterSet &)
edm::Handle< DTDigiCollection > m_dtDigis
edm::ESGetToken< CSCGeometry, MuonGeometryRecord > m_cscGeometryToken
void fillVetoHits(const TrackingRecHit &, std::vector< uint32_t > *)
edm::ESHandle< DTGeometry > m_dtGeometry
edm::EDGetTokenT< DTDigiCollection > m_dtDigisToken
Definition: Run.h:45
std::map< std::string, edm::EDGetTokenT< RecHitCollection > > inputs_