15 using namespace sistrip;
30 <<
"[CalibrationHistograms::" << __func__ <<
"]"
31 <<
" Constructing object...";
36 calchan_ = calchanElement->getIntValue();
38 <<
"[CalibrationHistograms::" << __func__ <<
"]"
42 <<
"[CalibrationHistograms::" << __func__ <<
"]"
43 <<
"CalChan value not found. Using " <<
calchan_;
55 <<
"[CalibrationHistograms::" << __func__ <<
"]"
56 <<
" Deleting object...";
64 Analyses::iterator ianal;
65 for ( ianal =
data().
begin(); ianal !=
data().end(); ianal++ ) {
66 if ( ianal->second ) {
delete ianal->second; }
71 HistosMap::const_iterator iter =
histos().begin();
72 for ( ; iter !=
histos().end(); iter++ ) {
74 if ( iter->second.empty() ) {
76 <<
"[CalibrationHistograms::" << __func__ <<
"]"
77 <<
" Zero collation histograms found!";
83 Histos::const_iterator ihis = iter->second.begin();
84 for ( ; ihis != iter->second.end(); ihis++ ) {
86 if ( prof ) { profs.push_back(prof); }
92 data()[iter->first] = anal;
101 Analyses::iterator ianal =
data().begin();
102 Analyses::iterator janal =
data().end();
103 for ( ; ianal != janal; ++ianal ) {
104 if ( ianal->second ) {
105 std::stringstream ss;
106 ianal->second->print( ss,0 );
107 ianal->second->print( ss,1 );
void analysis(const std::vector< TH1 * > &)
const sistrip::RunType & task() const
const edm::ParameterSet & pset() const
Algorithm for calibration runs.
static const char mlDqmClient_[]
void histoAnalysis(bool debug)
Analysis for calibration runs.
CalibrationHistograms(const edm::ParameterSet &pset, DQMStore *, const sistrip::RunType &task=sistrip::CALIBRATION)
virtual ~CalibrationHistograms()
MonitorElement * get(const std::string &path) const
get ME from full pathname (e.g. "my/long/dir/my_histo")
int extract(std::vector< int > *output, const std::string &dati)
int64_t getIntValue(void) const
std::auto_ptr< Factory > factory_
static const char root_[]
static const char collate_[]
const HistosMap & histos() const