CMS 3D CMS Logo

HLTGenValHistCollPath.h
Go to the documentation of this file.
1 #ifndef Validation_HLTrigger_HLTGenValHistCollPath_h
2 #define Validation_HLTrigger_HLTGenValHistCollPath_h
3 
4 //********************************************************************************
5 //
6 // Description:
7 // This contains a collection of HLTGenValHistCollFilter used to measure the efficiencies of all
8 // filters in a specified path. The actual booking and filling happens in the respective HLTGenValHistCollFilters.
9 //
10 // Author : Finn Labe, UHH, Oct. 2021
11 // (Heavily borrowed from Sam Harpers HLTDQMFilterEffHists)
12 //
13 //***********************************************************************************
14 
17 
19 
21 
24 
27 
29 
30 // class containing a collection of HLTGenValHistCollFilters for a specific path
31 // at object creation time, the object type (used for systematically naming the histogram),
32 // triggerPath, hltConfig and dR2limit (for deltaR matching) need to be specified
33 // functions for initial booking of hists, and filling of hists for a single object, are available
35 public:
38 
40 
42 
43  void bookHists(DQMStore::IBooker& iBooker,
44  std::vector<edm::ParameterSet>& histConfigs,
45  std::vector<edm::ParameterSet>& histConfigs2D);
47 
48 private:
50  std::vector<HLTGenValHistCollFilter> collectionFilter_;
51  std::vector<std::string> filters_;
54 
55  // we will add a string to the root file that is named after the path
56  // it will contain the filters of that path divided by semicola
59 };
60 
61 #endif
HLTGenValHistCollPath(edm::ParameterSet pathCollConfig, HLTConfigProvider &hltConfig)
HLTConfigProvider hltConfig_
std::vector< std::string > filters_
std::vector< HLTGenValHistCollFilter > collectionFilter_
void bookHists(DQMStore::IBooker &iBooker, std::vector< edm::ParameterSet > &histConfigs, std::vector< edm::ParameterSet > &histConfigs2D)
dqm::reco::DQMStore DQMStore
void fillHists(const HLTGenValObject &obj, edm::Handle< trigger::TriggerEvent > &triggerEvent)
static edm::ParameterSetDescription makePSetDescription()
dqm::legacy::MonitorElement MonitorElement