Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions DQM/SiTrackerPhase2/interface/TrackerPhase2DQMUtil.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#define _DQM_SiTrackerPhase2_Phase2TrackerValidationUtil_h
#include "DataFormats/TrackerCommon/interface/TrackerTopology.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "FWCore/ParameterSet/interface/ParameterSetDescription.h"
#include "DQMServices/Core/interface/MonitorElement.h"
#include "DQMServices/Core/interface/DQMStore.h"
#include <string>
Expand All @@ -20,5 +21,26 @@ namespace phase2tkutil {
MonitorElement* book2DFromPSet(const edm::ParameterSet& hpars, DQMStore::IBooker& ibooker);

MonitorElement* bookProfile1DFromPSet(const edm::ParameterSet& hpars, DQMStore::IBooker& ibooker);

void add1DDesc(edm::ParameterSetDescription& desc,
const std::string& psetKey,
const std::string& histName,
const std::string& xlabel,
const std::string& ylabel,
int nbins,
double xmin,
double xmax);

void add2DDesc(edm::ParameterSetDescription& desc,
const std::string& psetKey,
const std::string& histName,
const std::string& xlabel,
const std::string& ylabel,
int nbx,
double xmin,
double xmax,
int nby,
double ymin,
double ymax);
} // namespace phase2tkutil
#endif
Loading