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
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
dqm::impl::MonitorElement
Definition: MonitorElement.h:98
Handle.h
mps_fire.i
i
Definition: mps_fire.py:355
MessageLogger.h
DuplicationChecker::lheEventProduct_
edm::InputTag lheEventProduct_
Definition: DuplicationChecker.h:55
DuplicationChecker::DuplicationChecker
DuplicationChecker(const edm::ParameterSet &)
Definition: DuplicationChecker.cc:12
ESHandle.h
DuplicationChecker::findValuesAssociatedWithKey
void findValuesAssociatedWithKey(associationMap &mMap, double &key, itemList &theObjects)
Definition: DuplicationChecker.cc:73
edm::Run
Definition: Run.h:45
edm::EDGetTokenT< LHEEventProduct >
DQMStore.h
EDAnalyzer.h
DuplicationChecker::wmanager_
WeightManager wmanager_
Definition: DuplicationChecker.h:52
DuplicationChecker::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: DuplicationChecker.cc:38
DuplicationChecker::~DuplicationChecker
~DuplicationChecker() override
Definition: DuplicationChecker.cc:27
DuplicationChecker
Definition: DuplicationChecker.h:38
Service.h
EventID.h
Run.h
DQMEDAnalyzer.h
DuplicationChecker::itemList
std::vector< associationMap::iterator > itemList
Definition: DuplicationChecker.h:41
DQMEDAnalyzer
Definition: DQMEDAnalyzer.py:1
WeightManager.h
DuplicationChecker::lheEventProductToken_
edm::EDGetTokenT< LHEEventProduct > lheEventProductToken_
Definition: DuplicationChecker.h:63
edm::ParameterSet
Definition: ParameterSet.h:36
Event.h
DuplicationChecker::bookHistograms
void bookHistograms(DQMStore::IBooker &i, edm::Run const &, edm::EventSetup const &) override
Definition: DuplicationChecker.cc:29
DuplicationChecker::searchForLHE_
bool searchForLHE_
Definition: DuplicationChecker.h:57
WeightManager
Definition: WeightManager.h:20
edm::EventSetup
Definition: EventSetup.h:57
DuplicationChecker::generatedCollection_
edm::InputTag generatedCollection_
Definition: DuplicationChecker.h:54
InputTag.h
DuplicationChecker::xBjorkenME
MonitorElement * xBjorkenME
Definition: DuplicationChecker.h:61
LHEEventProduct.h
DuplicationChecker::associationMap
std::multimap< double, edm::EventID > associationMap
Definition: DuplicationChecker.h:40
DuplicationChecker::generatedCollectionToken_
edm::EDGetTokenT< edm::HepMCProduct > generatedCollectionToken_
Definition: DuplicationChecker.h:64
DuplicationChecker::xBjorkenHistory
associationMap xBjorkenHistory
Definition: DuplicationChecker.h:59
EventSetup.h
dqm::implementation::IBooker
Definition: DQMStore.h:43
ParameterSet.h
HepMCProduct.h
edm::Event
Definition: Event.h:73
crabWrapper.key
key
Definition: crabWrapper.py:19
edm::InputTag
Definition: InputTag.h:15