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
16 
21 
22 //DQM services
27 
29 
30 #include <map>
31 #include <vector>
32 
36 
38 
40 
41  public:
42 
43  typedef std::multimap<double,edm::EventID> associationMap;
44  typedef std::vector<associationMap::iterator> itemList;
45 
46  explicit DuplicationChecker(const edm::ParameterSet&);
47  virtual ~DuplicationChecker();
48 
49  virtual void analyze(const edm::Event&, const edm::EventSetup&) override;
50  virtual void bookHistograms(DQMStore::IBooker &i, edm::Run const &, edm::EventSetup const &) override;
51 
52  void findValuesAssociatedWithKey(associationMap &mMap, double &key, itemList &theObjects);
53 
54  private:
56 
59 
61 
62  associationMap xBjorkenHistory;
63 
65 
68 
69 };
70 
71 #endif
edm::EDGetTokenT< LHEEventProduct > lheEventProductToken_
virtual void analyze(const edm::Event &, const edm::EventSetup &) override
edm::InputTag generatedCollection_
edm::EDGetTokenT< edm::HepMCProduct > generatedCollectionToken_
std::vector< associationMap::iterator > itemList
associationMap xBjorkenHistory
virtual void bookHistograms(DQMStore::IBooker &i, edm::Run const &, edm::EventSetup const &) override
WeightManager wmanager_
std::multimap< double, edm::EventID > associationMap
MonitorElement * xBjorkenME
edm::InputTag lheEventProduct_
DuplicationChecker(const edm::ParameterSet &)
void findValuesAssociatedWithKey(associationMap &mMap, double &key, itemList &theObjects)
Definition: Run.h:43