23 const std::vector<unsigned int> &objectsType,
24 const unsigned int &NptPlots,
27 _hltProcessName(
pset.getParameter<
std::
string>(
"hltProcessName")),
28 _objectsType(
std::set<unsigned
int>(objectsType.begin(), objectsType.
end())),
29 _nObjects(objectsType.
size()),
30 _parametersEta(
pset.getParameter<
std::
vector<double> >(
"parametersEta")),
31 _parametersPhi(
pset.getParameter<
std::
vector<double> >(
"parametersPhi")),
32 _parametersTurnOn(
pset.getParameter<
std::
vector<double> >(
"parametersTurnOn")),
51 std::vector<std::string>
sources(2);
98 const std::vector<MatchStruct> &
matches,
100 if (!isPassTrigger) {
103 std::map<unsigned int, int> countobjects;
106 countobjects[*
co] = 0;
110 const int totalobjectssize2 =
_NptPlots * countobjects.size();
144 if (counttotal == totalobjectssize2) {
152 const std::vector<MatchStruct> &
matches,
153 std::map<std::string, bool> &nMinOne,
160 const bool &passAllCuts) {
161 if (!isPassTrigger) {
164 std::map<unsigned int, int> countobjects;
168 countobjects[*
co] = 0;
172 const int totalobjectssize2 =
_NptPlots * countobjects.size();
207 if (counttotal == totalobjectssize2) {
224 nameCSVplot =
"maxCSV";
225 if (nMinOne[nameCSVplot])
243 sourceUpper[0] = std::toupper(sourceUpper[0]);
247 if (
variable.find(
"MaxPt") != std::string::npos) {
252 desc =
"Next-to-Leading";
257 "where event pass the " +
260 size_t nBins = nBinsStandard;
261 float *
edges =
new float[nBinsStandard + 1];
262 for (
size_t i = 0;
i < nBinsStandard + 1;
i++) {
268 const size_t nBinsJets = 25;
271 edges =
new float[nBinsJets + 1];
272 for (
size_t i = 0;
i < nBinsJets + 1;
i++) {
277 const size_t nBinsJets = 30;
280 edges =
new float[nBinsJets + 1];
281 for (
size_t i = 0;
i < nBinsJets + 1;
i++) {
350 const float &
value) {
352 sourceUpper[0] = toupper(sourceUpper[0]);
std::map< unsigned int, double > _cutMaxEta
HLTHiggsPlotter(const edm::ParameterSet &pset, const std::string &hltPath, const std::vector< unsigned int > &objectsType, const unsigned int &minCandidates, const std::vector< double > &NminOneCuts)
std::vector< double > _parametersPhi
__host__ __device__ VT * co
std::set< unsigned int > _objectsType
std::map< std::string, MonitorElement * > _elements
std::vector< double > _parametersTurnOn
void fillHist(const bool &passTrigger, const std::string &source, const std::string &objType, const std::string &var, const float &value)
void bookHist(const std::string &source, const std::string &objType, const std::string &variable, DQMStore::IBooker &)
std::vector< double > _parametersEta
void beginRun(const edm::Run &, const edm::EventSetup &)
void bookHistograms(DQMStore::IBooker &, const bool &)
void analyze(const bool &isPassTrigger, const std::string &source, const std::vector< MatchStruct > &matches, const unsigned int &minCandidates)
std::map< unsigned int, double > _cutMinPt
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
static const std::string getTypeString(const unsigned int &objtype)
Tranform types into strings.
static std::string const source
std::vector< double > _NminOneCuts