25 Error(
"THaDetector()",
"Must construct detector with valid name! "
26 "Object construction failed." );
54 Warning(
Here(
"SetApparatus()"),
"Cannot set apparatus. "
55 "Object already initialized.");
68 const char* basename = app ? app->GetName() :
nullptr;
80 map<string,UInt_t> chan_count;
82 ntot += fMessage.second;
83 const string&
m = fMessage.first;
84 string::size_type pos =
m.find(
"channel");
85 if( pos != string::npos ) {
86 string::size_type pos2 =
m.find(
'.',pos+7),
len = string::npos;
87 if( pos > 3 ) pos -= 4;
88 if( pos2 != string::npos ) {
92 ++chan_count[
m.substr(pos,
len)];
100 <<
"warnings, " << ntot <<
" total warnings"
102 <<
" affecting " << chan_count.size() <<
" out of "
105 <<
" Call Print(\"WARN\") for channel list. "
106 <<
"Re-run with fDebug>0 for per-event details.";
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t UChar_t len
virtual Int_t End(THaRunBase *r=nullptr)
virtual const char * Here(const char *) const
std::map< std::string, UInt_t > fMessages
virtual void MakePrefix()
UInt_t fNEventsWithWarnings
UInt_t GetTotNumChan() const
virtual Int_t End(THaRunBase *r=0)
virtual void SetApparatus(THaApparatus *)
virtual void MakePrefix()
THaApparatus * GetApparatus() const
virtual void Warning(const char *method, const char *msgfmt,...) const
virtual void Error(const char *method, const char *msgfmt,...) const
TObject * GetObject() const
unsigned long long ULong64_t