CMS 3D CMS Logo

HLTGenValPathSpecificSettingParser.h
Go to the documentation of this file.
1 #ifndef Validation_HLTrigger_HLTGenValPathSpecificSettingParser_h
2 #define Validation_HLTrigger_HLTGenValPathSpecificSettingParser_h
3 
4 //********************************************************************************
5 //
6 // Description:
7 // This class handles parsing of additional settings that can be set for each path in the generator-level validation module
8 // Mainly, these are cuts in addition to the ones specified in the module. Passing a pre-defined region is also possible
9 // The binning of a certain variable can be changed through this class, as well as setting a tag for all histograms of a path.
10 //
11 // Author : Finn Labe, UHH, Jul. 2022
12 //
13 //********************************************************************************
14 
17 
19 
20 #include <vector>
21 
23 public:
24  // constructor
26  std::vector<edm::ParameterSet> binnings,
28 
29  const std::vector<edm::ParameterSet>* getPathSpecificCuts() const { return &pathSpecificCutsVector_; }
30  const std::vector<double>* getPathSpecificBins() const { return &pathSpecificBins_; }
31  const bool havePathSpecificBins() const { return (!pathSpecificBins_.empty()); }
32  const std::string* getTag() const { return &tag_; }
33 
34 private:
35  std::vector<edm::ParameterSet> pathSpecificCutsVector_;
36  std::vector<double> pathSpecificBins_;
38 };
39 
40 #endif
const std::vector< edm::ParameterSet > * getPathSpecificCuts() const
std::vector< edm::ParameterSet > pathSpecificCutsVector_
HLTGenValPathSpecificSettingParser(std::string pathSpecificSettings, std::vector< edm::ParameterSet > binnings, std::string vsVar)
const std::vector< double > * getPathSpecificBins() const