CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
26 
28 
29 #include <map>
30 #include <vector>
31 
35 
37 
39 public:
40  typedef std::multimap<double, edm::EventID> associationMap;
41  typedef std::vector<associationMap::iterator> itemList;
42 
43  explicit DuplicationChecker(const edm::ParameterSet &);
44  ~DuplicationChecker() override;
45 
46  void analyze(const edm::Event &, const edm::EventSetup &) override;
47  void bookHistograms(DQMStore::IBooker &i, edm::Run const &, edm::EventSetup const &) override;
48 
49  void findValuesAssociatedWithKey(associationMap &mMap, double &key, itemList &theObjects);
50 
51 private:
53 
56 
58 
60 
62 
65 };
66 
67 #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
tuple key
prepare the HTCondor submission files and eventually submit them
MonitorElement * xBjorkenME
edm::InputTag lheEventProduct_
DuplicationChecker(const edm::ParameterSet &)
void findValuesAssociatedWithKey(associationMap &mMap, double &key, itemList &theObjects)
Definition: Run.h:45