CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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  * $Date: 2011/12/29 10:53:10 $
9  * $Revision: 1.2 $
10  *
11  */
12 
13 // framework & common header files
18 
23 
24 //DQM services
28 
30 
31 #include <map>
32 #include <vector>
33 
37 
39 
41 {
42 
43  public:
44 
45  typedef std::multimap<double,edm::EventID> associationMap;
46  typedef std::vector<associationMap::iterator> itemList;
47 
48  explicit DuplicationChecker(const edm::ParameterSet&);
49  virtual ~DuplicationChecker();
50  void beginJob();
51  void endJob();
52  void analyze(const edm::Event& iEvent, const edm::EventSetup& iSetup);
53  virtual void beginRun(const edm::Run&, const edm::EventSetup&){ return;}
54  virtual void endRun(const edm::Run&, const edm::EventSetup&){ return;}
55  void findValuesAssociatedWithKey(associationMap &mMap, double &key, itemList &theObjects);
56 
57  private:
59 
62 
64 
66 
68 
70 
71 };
72 
73 #endif
edm::InputTag generatedCollection_
virtual void endRun(const edm::Run &, const edm::EventSetup &)
std::vector< associationMap::iterator > itemList
void analyze(const edm::Event &iEvent, const edm::EventSetup &iSetup)
associationMap xBjorkenHistory
WeightManager _wmanager
int iEvent
Definition: GenABIO.cc:243
virtual void beginRun(const edm::Run &, const edm::EventSetup &)
std::multimap< double, edm::EventID > associationMap
MonitorElement * xBjorkenME
edm::InputTag lheEventProduct_
DuplicationChecker(const edm::ParameterSet &)
list key
Definition: combine.py:13
void findValuesAssociatedWithKey(associationMap &mMap, double &key, itemList &theObjects)
Definition: Run.h:33