#include <Book.h>
Classes | |
struct | match_name |
Public Types | |
typedef boost::filter_iterator < match_name, book_t::const_iterator > | const_iterator |
typedef boost::filter_iterator < match_name, book_t::const_iterator > | const_iterator |
typedef boost::filter_iterator < match_name, book_t::iterator > | iterator |
typedef boost::filter_iterator < match_name, book_t::iterator > | iterator |
Public Member Functions | |
iterator | begin (string_t re=".*") |
const_iterator | begin (string_t re=".*") const |
iterator | begin (string_t re=".*") |
const_iterator | begin (string_t re=".*") const |
Book (string_t t) | |
TH1 * | book (string_t name, TH1 *const hist) |
Book () | |
TH1 * | book (string_t name, TH1 *const hist) |
Book () | |
Book (string_t t) | |
bool | empty () const |
bool | empty () const |
iterator | end (string_t re=".*") |
const_iterator | end (string_t re=".*") const |
iterator | end (string_t re=".*") |
const_iterator | end (string_t re=".*") const |
void | erase (string_t name) |
void | erase (iterator it) |
void | erase (string_t name) |
void | erase (iterator it) |
void | fill (double_t X, double_t Y, const poly< std::string > &names, uint_t NbinsX, double_t Xlow, double_t Xup, uint_t NbinsY, double_t Ylow, double_t Yup, double_t W=1) |
void | fill (double_t X, double_t Y, double_t Z, const char *name, uint_t NbinsX, double_t Xlow, double_t Xup, uint_t NbinsY, double_t Ylow, double_t Yup, uint_t NbinsZ, double_t Zlow, double_t Zup, double_t W=1) |
void | fill (double_t X, double_t Y, const char *name, uint_t NbinsX, double_t Xlow, double_t Xup, double_t W=1) |
void | fill (double_t X, double_t Y, const char *name, uint_t NbinsX, double_t Xlow, double_t Xup, uint_t NbinsY, double_t Ylow, double_t Yup, double_t W=1) |
void | fill (double_t X, double_t Y, const char *name, uint_t NbinsX, double_t Xlow, double_t Xup, double_t W=1) |
void | fill (double_t X, const poly< std::string > &names, uint_t NbinsX, double_t Xlow, double_t Xup, double_t W=1) |
void | fill (double_t X, double_t Y, double_t Z, const poly< std::string > &names, uint_t NbinsX, double_t Xlow, double_t Xup, uint_t NbinsY, double_t Ylow, double_t Yup, uint_t NbinsZ, double_t Zlow, double_t Zup, double_t W=1) |
void | fill (double_t X, double_t Y, double_t Z, const poly< std::string > &names, uint_t NbinsX, double_t Xlow, double_t Xup, uint_t NbinsY, double_t Ylow, double_t Yup, uint_t NbinsZ, double_t Zlow, double_t Zup, double_t W=1) |
void | fill (double_t X, double_t Y, double_t Z, const char *name, uint_t NbinsX, double_t Xlow, double_t Xup, uint_t NbinsY, double_t Ylow, double_t Yup, uint_t NbinsZ, double_t Zlow, double_t Zup, double_t W=1) |
void | fill (double_t X, double_t Y, const poly< std::string > &names, uint_t NbinsX, double_t Xlow, double_t Xup, double_t W=1) |
void | fill (double_t X, double_t Y, const char *name, uint_t NbinsX, double_t Xlow, double_t Xup, uint_t NbinsY, double_t Ylow, double_t Yup, double_t W=1) |
void | fill (double_t X, const char *name, uint_t NbinsX, double_t Xlow, double_t Xup, double_t W=1) |
void | fill (double_t X, double_t Y, const poly< std::string > &names, uint_t NbinsX, double_t Xlow, double_t Xup, uint_t NbinsY, double_t Ylow, double_t Yup, double_t W=1) |
void | fill (double_t X, double_t Y, const poly< std::string > &names, uint_t NbinsX, double_t Xlow, double_t Xup, double_t W=1) |
void | fill (double_t X, const poly< std::string > &names, uint_t NbinsX, double_t Xlow, double_t Xup, double_t W=1) |
void | fill (double_t X, const char *name, uint_t NbinsX, double_t Xlow, double_t Xup, double_t W=1) |
std::pair< const_iterator, const_iterator > | filter_range (string_t re=".*") const |
std::pair< const_iterator, const_iterator > | filter_range (string_t re=".*") const |
std::pair< iterator, iterator > | filter_range (string_t re=".*") |
std::pair< iterator, iterator > | filter_range (string_t re=".*") |
const_iterator | find (string_t name, string_t re=".*") const |
iterator | find (string_t name, string_t re=".*") |
iterator | find (string_t name, string_t re=".*") |
const_iterator | find (string_t name, string_t re=".*") const |
TH1 *& | operator[] (string_t name) |
TH1 *& | operator[] (string_t name) |
const TH1 * | operator[] (string_t name) const |
const TH1 * | operator[] (string_t name) const |
long | size () const |
long | size () const |
string_t & | title () const |
string_t & | title () const |
Private Types | |
typedef std::map< std::string, TH1 * > | book_t |
typedef std::map< std::string, TH1 * > | book_t |
typedef const std::string | string_t |
typedef const std::string | string_t |
typedef const unsigned long | uint_t |
typedef const unsigned long | uint_t |
Private Attributes | |
book_t | book_ |
TDirectory * | directory |
data git CMSSW_5_3_11_patch5 src DQMOffline JetMET interface SusyDQM Book h typedef const double | double_t |
data git CMSSW_5_3_11_patch5 src CalibTracker SiStripCommon interface Book h typedef const double | double_t |
std::string | title_ |
typedef std::map<std::string, TH1*> Book::book_t [private] |
typedef std::map<std::string, TH1*> Book::book_t [private] |
typedef boost::filter_iterator<match_name,book_t::const_iterator> Book::const_iterator |
typedef boost::filter_iterator<match_name,book_t::const_iterator> Book::const_iterator |
typedef boost::filter_iterator<match_name,book_t::iterator> Book::iterator |
typedef boost::filter_iterator<match_name,book_t::iterator> Book::iterator |
typedef const std::string Book::string_t [private] |
typedef const std::string Book::string_t [private] |
typedef const unsigned long Book::uint_t [private] |
typedef const unsigned long Book::uint_t [private] |
Book::Book | ( | ) | [inline] |
Book::Book | ( | string_t | t | ) | [inline] |
Book::Book | ( | ) | [inline] |
Book::Book | ( | string_t | t | ) | [inline] |
Definition at line 49 of file Book.h.
References b, book_, and alignCSCRings::e.
Referenced by LA_Filler_Fitter::ensemble_results(), LA_Filler_Fitter::ensemble_summary(), filter_range(), find(), LA_Filler_Fitter::fit_width_profile(), LA_Filler_Fitter::layer_results(), LA_Filler_Fitter::make_and_fit_symmchi2(), LA_Filler_Fitter::module_results(), sistrip::MeasureLA::process_reports(), sistrip::MeasureLA::summarize_module_muH_byLayer(), sistrip::EnsembleCalibrationLA::write_ensembles_plots(), sistrip::MeasureLA::write_report_plots(), sistrip::MeasureLA::write_report_text_ms(), and sistrip::EnsembleCalibrationLA::write_samples_plots().
const_iterator Book::begin | ( | string_t | re = ".*" | ) | const [inline] |
const_iterator Book::begin | ( | string_t | re = ".*" | ) | const [inline] |
TH1* Book::book | ( | string_t | name, |
TH1 *const | hist | ||
) | [inline] |
Definition at line 43 of file Book.h.
References book_, and mergeVDriftHistosByStation::name.
Referenced by fill(), and LA_Filler_Fitter::make_and_fit_symmchi2().
TH1* Book::book | ( | string_t | name, |
TH1 *const | hist | ||
) | [inline] |
bool Book::empty | ( | ) | const [inline] |
bool Book::empty | ( | ) | const [inline] |
const_iterator Book::end | ( | string_t | re = ".*" | ) | const [inline] |
Definition at line 51 of file Book.h.
References book_, and alignCSCRings::e.
Referenced by LA_Filler_Fitter::ensemble_results(), LA_Filler_Fitter::ensemble_summary(), filter_range(), find(), LA_Filler_Fitter::fit_width_profile(), LA_Filler_Fitter::layer_results(), LA_Filler_Fitter::make_and_fit_symmchi2(), LA_Filler_Fitter::module_results(), sistrip::MeasureLA::process_reports(), sistrip::MeasureLA::summarize_module_muH_byLayer(), sistrip::EnsembleCalibrationLA::write_ensembles_plots(), sistrip::MeasureLA::write_report_plots(), sistrip::MeasureLA::write_report_text_ms(), and sistrip::EnsembleCalibrationLA::write_samples_plots().
const_iterator Book::end | ( | string_t | re = ".*" | ) | const [inline] |
void Book::erase | ( | iterator | it | ) | [inline] |
void Book::erase | ( | string_t | name | ) | [inline] |
void Book::erase | ( | iterator | it | ) | [inline] |
void Book::erase | ( | string_t | name | ) | [inline] |
Definition at line 58 of file Book.h.
References book_.
Referenced by LA_Filler_Fitter::fit_width_profile().
{ delete it->second; book_.erase(it.base()); }
void Book::fill | ( | double_t | X, |
const char * | name, | ||
uint_t | NbinsX, | ||
double_t | Xlow, | ||
double_t | Xup, | ||
double_t | W = 1 |
||
) | [inline] |
Definition at line 61 of file Book.h.
Referenced by fill(), LA_Filler_Fitter::fill_one_cluster(), LA_Filler_Fitter::summarize_ensembles(), and sistrip::MeasureLA::summarize_module_muH_byLayer().
void Book::fill | ( | double_t | X, |
const poly< std::string > & | names, | ||
uint_t | NbinsX, | ||
double_t | Xlow, | ||
double_t | Xup, | ||
double_t | W = 1 |
||
) | [inline] |
Definition at line 63 of file Book.h.
References poly< T >::begin(), book(), book_, cond::rpcobimon::current, poly< T >::end(), and mergeVDriftHistosByStation::name.
{ BOOST_FOREACH(string_t name, std::make_pair(names.begin(),names.end())) { book_t::const_iterator current = book_.find(name); if( current == book_.end() ) book(name, new TH1D(name.c_str(), "", NbinsX, Xlow, Xup))->Fill(X,W); else current->second->Fill(X,W); } } void fill( double_t X, double_t Y, const char* name,
void Book::fill | ( | double_t | X, |
double_t | Y, | ||
const poly< std::string > & | names, | ||
uint_t | NbinsX, | ||
double_t | Xlow, | ||
double_t | Xup, | ||
double_t | W = 1 |
||
) | [inline] |
Definition at line 75 of file Book.h.
References poly< T >::begin(), book(), book_, cond::rpcobimon::current, poly< T >::end(), HcalObjRepresent::Fill(), and mergeVDriftHistosByStation::name.
{ BOOST_FOREACH(string_t name, std::make_pair(names.begin(),names.end())) { book_t::const_iterator current = book_.find(name); if( current == book_.end() ) static_cast<TProfile*>(book(name, new TProfile(name.c_str(), "", NbinsX, Xlow, Xup)))->Fill(X,Y,W); else static_cast<TProfile*>(current->second)->Fill(X,Y,W); } } void fill( double_t X, double_t Y, const char* name,
void Book::fill | ( | double_t | X, |
double_t | Y, | ||
const poly< std::string > & | names, | ||
uint_t | NbinsX, | ||
double_t | Xlow, | ||
double_t | Xup, | ||
uint_t | NbinsY, | ||
double_t | Ylow, | ||
double_t | Yup, | ||
double_t | W = 1 |
||
) | [inline] |
Definition at line 88 of file Book.h.
References poly< T >::begin(), book(), book_, cond::rpcobimon::current, poly< T >::end(), HcalObjRepresent::Fill(), and mergeVDriftHistosByStation::name.
{ BOOST_FOREACH(string_t name, std::make_pair(names.begin(),names.end())) { book_t::const_iterator current = book_.find(name); if( current == book_.end() ) static_cast<TH2*>(book(name, new TH2D(name.c_str(), "", NbinsX, Xlow, Xup, NbinsY, Ylow, Yup)))->Fill(X,Y,W); else static_cast<TH2*>(current->second)->Fill(X,Y,W); } } void fill( double_t X, double_t Y, double_t Z, const char* name,
void Book::fill | ( | double_t | X, |
double_t | Y, | ||
const poly< std::string > & | names, | ||
uint_t | NbinsX, | ||
double_t | Xlow, | ||
double_t | Xup, | ||
double_t | W = 1 |
||
) | [inline] |
Definition at line 75 of file Book.h.
References poly< T >::begin(), book(), book_, cond::rpcobimon::current, poly< T >::end(), HcalObjRepresent::Fill(), and mergeVDriftHistosByStation::name.
{ BOOST_FOREACH(string_t name, std::make_pair(names.begin(),names.end())) { book_t::const_iterator current = book_.find(name); if( current == book_.end() ) static_cast<TProfile*>(book(name, new TProfile(name.c_str(), "", NbinsX, Xlow, Xup)))->Fill(X,Y,W); else static_cast<TProfile*>(current->second)->Fill(X,Y,W); } } void fill( double_t X, double_t Y, const char* name,
void Book::fill | ( | double_t | X, |
double_t | Y, | ||
double_t | Z, | ||
const poly< std::string > & | names, | ||
uint_t | NbinsX, | ||
double_t | Xlow, | ||
double_t | Xup, | ||
uint_t | NbinsY, | ||
double_t | Ylow, | ||
double_t | Yup, | ||
uint_t | NbinsZ, | ||
double_t | Zlow, | ||
double_t | Zup, | ||
double_t | W = 1 |
||
) | [inline] |
Definition at line 103 of file Book.h.
References poly< T >::begin(), book(), book_, cond::rpcobimon::current, poly< T >::end(), HcalObjRepresent::Fill(), and mergeVDriftHistosByStation::name.
{ BOOST_FOREACH(string_t name, std::make_pair(names.begin(),names.end())) { book_t::const_iterator current = book_.find(name); if( current == book_.end() ) static_cast<TH3*>(book(name, new TH3D(name.c_str(), "", NbinsX, Xlow, Xup, NbinsY, Ylow, Yup, NbinsZ, Zlow, Zup)))->Fill(X,Y,Z,W); else static_cast<TH3*>(current->second)->Fill(X,Y,Z,W); } }
void Book::fill | ( | double_t | X, |
double_t | Y, | ||
double_t | Z, | ||
const poly< std::string > & | names, | ||
uint_t | NbinsX, | ||
double_t | Xlow, | ||
double_t | Xup, | ||
uint_t | NbinsY, | ||
double_t | Ylow, | ||
double_t | Yup, | ||
uint_t | NbinsZ, | ||
double_t | Zlow, | ||
double_t | Zup, | ||
double_t | W = 1 |
||
) | [inline] |
Definition at line 103 of file Book.h.
References poly< T >::begin(), book(), book_, cond::rpcobimon::current, poly< T >::end(), HcalObjRepresent::Fill(), and mergeVDriftHistosByStation::name.
{ BOOST_FOREACH(string_t name, std::make_pair(names.begin(),names.end())) { book_t::const_iterator current = book_.find(name); if( current == book_.end() ) static_cast<TH3*>(book(name, new TH3D(name.c_str(), "", NbinsX, Xlow, Xup, NbinsY, Ylow, Yup, NbinsZ, Zlow, Zup)))->Fill(X,Y,Z,W); else static_cast<TH3*>(current->second)->Fill(X,Y,Z,W); } }
void Book::fill | ( | double_t | X, |
const poly< std::string > & | names, | ||
uint_t | NbinsX, | ||
double_t | Xlow, | ||
double_t | Xup, | ||
double_t | W = 1 |
||
) | [inline] |
Definition at line 63 of file Book.h.
References poly< T >::begin(), book(), book_, cond::rpcobimon::current, poly< T >::end(), and mergeVDriftHistosByStation::name.
{ BOOST_FOREACH(string_t name, std::make_pair(names.begin(),names.end())) { book_t::const_iterator current = book_.find(name); if( current == book_.end() ) book(name, new TH1D(name.c_str(), "", NbinsX, Xlow, Xup))->Fill(X,W); else current->second->Fill(X,W); } } void fill( double_t X, double_t Y, const char* name,
void Book::fill | ( | double_t | X, |
double_t | Y, | ||
const poly< std::string > & | names, | ||
uint_t | NbinsX, | ||
double_t | Xlow, | ||
double_t | Xup, | ||
uint_t | NbinsY, | ||
double_t | Ylow, | ||
double_t | Yup, | ||
double_t | W = 1 |
||
) | [inline] |
Definition at line 88 of file Book.h.
References poly< T >::begin(), book(), book_, cond::rpcobimon::current, poly< T >::end(), HcalObjRepresent::Fill(), and mergeVDriftHistosByStation::name.
{ BOOST_FOREACH(string_t name, std::make_pair(names.begin(),names.end())) { book_t::const_iterator current = book_.find(name); if( current == book_.end() ) static_cast<TH2*>(book(name, new TH2D(name.c_str(), "", NbinsX, Xlow, Xup, NbinsY, Ylow, Yup)))->Fill(X,Y,W); else static_cast<TH2*>(current->second)->Fill(X,Y,W); } } void fill( double_t X, double_t Y, double_t Z, const char* name,
std::pair<const_iterator,const_iterator> Book::filter_range | ( | string_t | re = ".*" | ) | const [inline] |
std::pair<const_iterator,const_iterator> Book::filter_range | ( | string_t | re = ".*" | ) | const [inline] |
const_iterator Book::find | ( | string_t | name, |
string_t | re = ".*" |
||
) | const [inline] |
const_iterator Book::find | ( | string_t | name, |
string_t | re = ".*" |
||
) | const [inline] |
TH1*& Book::operator[] | ( | string_t | name | ) | [inline] |
TH1*& Book::operator[] | ( | string_t | name | ) | [inline] |
long Book::size | ( | void | ) | const [inline] |
long Book::size | ( | void | ) | const [inline] |
string_t& Book::title | ( | ) | const [inline] |
string_t& Book::title | ( | ) | const [inline] |
book_t Book::book_ [private] |
TDirectory * Book::directory [private] |
data git CMSSW_5_3_11_patch5 src DQMOffline JetMET interface SusyDQM Book h typedef const double Book::double_t [private] |
data git CMSSW_5_3_11_patch5 src CalibTracker SiStripCommon interface Book h typedef const double Book::double_t [private] |
std::string Book::title_ [private] |