4 : cfgMonitor(cfg.getParameter<edm::
ParameterSet>(
"monitorConfig")),
5 outfilecore(cfgMonitor.getParameter<std::
string>(
"outfile")),
6 maxEventsPerJob(cfgMonitor.getParameter<int>(
"maxEventsPerJob")),
7 fillTrackMonitoring(cfgMonitor.getParameter<bool>(
"fillTrackMonitoring")),
8 maxTracks(cfgMonitor.getParameter<int>(
"maxTracks")),
9 trackmonitorvars(maxEventsPerJob,
maxTracks),
10 fillTrackHitMonitoring(cfgMonitor.getParameter<bool>(
"fillTrackHitMonitoring")),
11 maxHits(cfgMonitor.getParameter<int>(
"maxHits")),
12 hitmonitorvars(maxHits),
19 : cfgMonitor(other.cfgMonitor),
20 outfilecore(other.outfilecore),
21 maxEventsPerJob(other.maxEventsPerJob),
22 fillTrackMonitoring(other.fillTrackMonitoring),
24 fillTrackHitMonitoring(other.fillTrackHitMonitoring),
25 maxHits(other.maxHits),
27 eventCounter(other.eventCounter),
28 hitCounter(other.hitCounter) {}
31 bool res = (maxEventsPerJob < 0 || maxEventsPerJob >
eventCounter);
36 bool res = (maxHits < 0 || maxHits >
hitCounter);
42 if (
tree !=
nullptr) {
63 if (
tree !=
nullptr) {
92 if ((
int)
m_Pt.size() < NewSize)
93 NewSize =
m_Pt.size();
std::vector< int > m_nhTIB
std::vector< float > m_Eta
std::vector< float > m_d0
std::vector< int > m_Nhits
std::vector< float > m_Pt
void bookBranches() override
std::vector< int > m_nhPXB
std::vector< float > m_wt
std::vector< int > m_nhTID
std::vector< float > m_Phi
std::vector< int > m_nhTEC
unsigned int m_rawQualityWord
std::vector< int > m_nhTOB
const std::string outfilecore
T getParameter(std::string const &) const
void bookBranches() override
std::vector< int > m_nhPXF
std::vector< float > m_dz
void resizeVectors(int NewSize)
HIPMonitorConfig(const edm::ParameterSet &cfg)
std::vector< float > m_Chi2n