CMS 3D CMS Logo

DuplicationChecker.h
Go to the documentation of this file.
1 #ifndef DUPLICATIONCHECKER_H
2 #define DUPLICATIONCHECKER_H
3 
4 /*class DuplicationChecker
5  *
6  * Class to monitor duplication of events
7  *
8  *
9  */
10 
11 // framework & common header files
15 
20 
21 //DQM services
25 
27 
28 #include <map>
29 #include <vector>
30 
34 
36 
38 public:
39  typedef std::multimap<double, edm::EventID> associationMap;
40  typedef std::vector<associationMap::iterator> itemList;
41 
42  explicit DuplicationChecker(const edm::ParameterSet &);
43  ~DuplicationChecker() override;
44 
45  void analyze(const edm::Event &, const edm::EventSetup &) override;
46  void bookHistograms(DQMStore::IBooker &i, edm::Run const &, edm::EventSetup const &) override;
47 
48  void findValuesAssociatedWithKey(associationMap &mMap, double &key, itemList &theObjects);
49 
50 private:
52 
55 
57 
59 
61 
64 };
65 
66 #endif
edm::EDGetTokenT< LHEEventProduct > lheEventProductToken_
void analyze(const edm::Event &, const edm::EventSetup &) override
edm::InputTag generatedCollection_
edm::EDGetTokenT< edm::HepMCProduct > generatedCollectionToken_
std::multimap< double, edm::EventID > associationMap
std::vector< associationMap::iterator > itemList
associationMap xBjorkenHistory
void bookHistograms(DQMStore::IBooker &i, edm::Run const &, edm::EventSetup const &) override
WeightManager wmanager_
~DuplicationChecker() override
MonitorElement * xBjorkenME
edm::InputTag lheEventProduct_
DuplicationChecker(const edm::ParameterSet &)
void findValuesAssociatedWithKey(associationMap &mMap, double &key, itemList &theObjects)
Definition: Run.h:45