Go to the documentation of this file.
45 std::vector<std::string> selectedPaths;
46 for (std::vector<std::string>::const_iterator it = pathList.begin(); it != pathList.end(); ++it) {
50 nmatch += TPRegexp(*kt).Match(*it);
55 selectedPaths.push_back(*it);
65 for (std::vector<std::string>::iterator it = selectedPaths.begin(); it != selectedPaths.end(); it++) {
67 std::map<std::string, PixelMEs>::iterator iPos =
histoMap_.find(
tag);
73 htitle =
"# of Pixel Clusters (";
83 htitle =
"# of Pixel Vertices (";
87 VtxHistoPar.getParameter<int32_t>(
"Xbins"),
88 VtxHistoPar.getParameter<
double>(
"Xmin"),
89 VtxHistoPar.getParameter<
double>(
"Xmax"));
103 <<
" successfully extracted";
140 if ((ivtx->isValid() ==
true) && (ivtx->isFake() ==
false) && (ivtx->ndof() >=
minVtxDoF_) &&
141 (ivtx->tracksSize() != 0))
151 for (std::map<std::string, PixelMEs>::iterator it =
histoMap_.begin(); it !=
histoMap_.end(); ++it) {
HLTConfigProvider hltConfig_
static const std::string triggerResults
void analyze(edm::Event const &iEvent, edm::EventSetup const &iSetup) override
Log< level::Info, false > LogInfo
edm::InputTag pixelVertexInputTag_
edm::EDGetTokenT< SiPixelClusterCollectionNew > pixelClusterInputTagToken_
#define DEFINE_FWK_MODULE(type)
edm::InputTag hltInputTag_
void setCurrentFolder(std::string const &fullpath) override
edm::EDGetTokenT< reco::VertexCollection > pixelVertexInputTagToken_
edm::EDGetTokenT< edm::TriggerResults > hltInputTagToken_
edm::InputTag pixelClusterInputTag_
Log< level::Error, false > LogError
unsigned int triggerIndex(const std::string &triggerName) const
slot position of trigger path in trigger table (0 to size-1)
edm::ParameterSet parameters_
void beginRun(edm::Run const &iRun, edm::EventSetup const &iSetup) override
bool init(const edm::Run &iRun, const edm::EventSetup &iSetup, const std::string &processName, bool &changed)
d'tor
PixelVTXMonitor(const edm::ParameterSet &)
T getParameter(std::string const &) const
const std::vector< std::string > & triggerNames() const
names of trigger paths
~PixelVTXMonitor() override
std::map< std::string, PixelMEs > histoMap_
void endRun(edm::Run const &iRun, edm::EventSetup const &iSetup) override
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())