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  *
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 
63 
65 
68 
69 };
70 
71 #endif
int i
Definition: DBlmapReader.cc:9
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
string key
FastSim: produces sample of signal events, overlayed with premixed minbias events.
edm::InputTag lheEventProduct_
DuplicationChecker(const edm::ParameterSet &)
void findValuesAssociatedWithKey(associationMap &mMap, double &key, itemList &theObjects)
Definition: Run.h:43