CMS 3D CMS Logo

CaloCleaner.h
Go to the documentation of this file.
1 
11 #ifndef TauAnalysis_MCEmbeddingTools_CaloCleaner_H
12 #define TauAnalysis_MCEmbeddingTools_CaloCleaner_H
13 
21 
25 
28 
29 #include <iostream>
30 #include <map>
31 #include <string>
32 
33 template <typename T>
35 public:
36  explicit CaloCleaner(const edm::ParameterSet &);
37  ~CaloCleaner() override;
38 
39 private:
40  void produce(edm::Event &, const edm::EventSetup &) override;
41 
43 
45 
46  std::map<std::string, edm::EDGetTokenT<RecHitCollection>> inputs_;
48 
51 
53  void fill_correction_map(TrackDetMatchInfo *, std::map<uint32_t, float> *);
54 };
55 #endif
void fill_correction_map(TrackDetMatchInfo *, std::map< uint32_t, float > *)
Definition: CaloCleaner.cc:92
const edm::EDGetTokenT< edm::View< pat::Muon > > mu_input_
Definition: CaloCleaner.h:44
void produce(edm::Event &, const edm::EventSetup &) override
Definition: CaloCleaner.cc:37
edm::SortedCollection< T > RecHitCollection
Definition: CaloCleaner.h:42
bool is_preshower_
Definition: CaloCleaner.h:52
edm::ESGetToken< Propagator, TrackingComponentsRecord > propagatorToken_
Definition: CaloCleaner.h:47
TrackDetectorAssociator trackAssociator_
Definition: CaloCleaner.h:49
CaloCleaner(const edm::ParameterSet &)
Definition: CaloCleaner.cc:16
TrackAssociatorParameters parameters_
Definition: CaloCleaner.h:50
std::map< std::string, edm::EDGetTokenT< RecHitCollection > > inputs_
Definition: CaloCleaner.h:46
~CaloCleaner() override
Definition: CaloCleaner.cc:32