10 #ifndef EVENT_MANAGER_HH
11 #define EVENT_MANAGER_HH
21 #include "RContourList.hh"
128 virtual int GetTreeIndex (
const string & t_name )
const;
137 TH1 *
GetHistoPtr (
const string & spec_name )
const;
140 virtual RContour *
GetContourPtr (
const string &cname )
const;
173 const Data &
GetParam (
const u_int num,
const u_int index );
174 const Data &
GetParam (
const string &par_name,
const u_int index );
177 template <
class T >
const Data &
SetParam(
const u_int num,
const T &val );
178 template <
class T >
const Data &
SetParam(
const string &par_name,
const T &val );
181 template <
class T >
const Data &
SetParam(
const u_int num,
const u_int index,
const T &val );
182 template <
class T >
const Data &
SetParam(
const string &par_name,
const u_int index,
const T &val );
188 virtual int AddTree (
const string & t_name,
const string &f_name =
"",
const UInt_t n_max = 0 );
189 virtual int InitTree (
const string & t_name );
190 virtual int InitTree (
const int t_num = -1 );
193 virtual bool RemoveTree (
const u_int t_num );
194 virtual bool RemoveTree (
const string & t_name );
198 virtual Int_t
SetTreeFile (
const int t_num,
const string &f_name,
const UInt_t n_max = 0 );
199 virtual string GetTreeFile (
const int t_num )
const;
203 virtual Int_t
SetTreeFile (
const string &t_name,
const string &f_name,
const UInt_t n_max = 0 );
204 virtual string GetTreeFile (
const string &t_name )
const;
210 virtual Bool_t
AddTreeParam (
const int t_num,
const string &p_name );
211 virtual Bool_t
AddTreeParam (
const int t_num,
const Int_t p_num );
212 virtual Int_t
AddTreeParamRange (
const int t_num,
const Int_t p1,
const Int_t p2 );
216 virtual Bool_t
AddTreeParam (
const string &t_name,
const string &p_name );
217 virtual Bool_t
AddTreeParam (
const string &t_name,
const Int_t p_num );
218 virtual Int_t
AddTreeParamRange (
const string &t_name,
const Int_t p1,
const Int_t p2 );
224 virtual Bool_t
OpenTree (
const int t_num )
const;
225 virtual Bool_t
OpenTree (
const string &t_name )
const;
226 virtual Bool_t
CloseTree (
const int t_num )
const;
227 virtual Bool_t
CloseTree (
const string &t_name )
const;
229 virtual Bool_t
IsTreeOpen (
const int t_num )
const;
230 virtual Bool_t
IsTreeOpen (
const string &t_name )
const;
232 virtual Bool_t
IsTreeClosed (
const string &t_name )
const;
235 bool StartTree (
const int t_num = -1 )
const;
236 bool StopTree (
const int t_num = -1 )
const;
239 bool StartTree (
const string & t_name )
const;
240 bool StopTree (
const string & t_name )
const;
245 virtual int LoadTreeList (
const string &filename,
const bool append =
true );
246 virtual int SaveTreeList (
const string &filename )
const;
255 const u_int nx,
const double x1,
const double x2,
256 const string & family_name =
"" );
260 const string & par_name,
261 const u_int nx,
const double x1,
const double x2,
262 const string & family_name =
"" );
266 const u_int par_num_x,
267 const u_int nx,
const double x1,
const double x2,
268 const u_int par_num_y,
269 const u_int ny,
const double y1,
const double y2,
270 const string & family_name =
"" );
274 const string & par_name_x,
275 const u_int nx,
const double x1,
const double x2,
276 const string & par_name_y,
277 const u_int ny,
const double y1,
const double y2,
278 const string & family_name =
"" );
282 const u_int par_num_x,
283 const u_int nx,
const double x1,
const double x2,
284 const u_int par_num_y,
285 const u_int ny,
const double y1,
const double y2,
286 const u_int par_num_z,
287 const u_int nz,
const double z1,
const double z2,
288 const string & family_name =
"" );
292 const string & par_name_x,
293 const u_int nx,
const double x1,
const double x2,
294 const string & par_name_y,
295 const u_int ny,
const double y1,
const double y2,
296 const string & par_name_z,
297 const u_int nz,
const double z1,
const double z2,
298 const string & family_name =
"" );
303 const double x1,
const double x2,
304 const string & family_name =
"" );
308 const string & par_name,
309 const double x1,
const double x2,
310 const string & family_name =
"" );
315 const double x1,
const double x2,
316 const string & family_name =
"" );
320 const string & par_name,
321 const double x1,
const double x2,
322 const string & family_name =
"" );
326 const u_int par_num_x,
327 const double x1,
const double x2,
328 const u_int ny,
const double y1,
const double y2,
329 const string & family_name =
"" );
333 const string & par_name_x,
334 const double x1,
const double x2,
335 const u_int ny,
const double y1,
const double y2,
336 const string & family_name =
"" );
340 const string & family_name =
"" );
344 const string & f_name,
345 const string & s_name =
"",
346 const string & family_name =
"" );
350 const u_int nx,
const double x1,
const double x2,
351 const string & family_name =
"" );
355 const u_int nx,
const double x1,
const double x2,
356 const u_int ny,
const double y1,
const double y2,
357 const string & family_name =
"" );
361 const string & oper_name,
362 const double norm = 1.,
363 const string & family_name =
"" );
367 const string & oper_name,
368 const double c0 = 1.,
369 const double c1 = 0.,
370 const string & family_name =
"" );
374 const string & oper_name,
375 const double c0 = 1.,
376 const double c1 = 0.,
377 const double c2 = 0.,
378 const string & family_name =
"" );
382 const string & oper0_name,
383 const string & oper1_name,
384 const double c0 = 1.,
385 const double c1 = 1.,
386 const double c2 = 0.,
387 const string & family_name =
"" );
391 const string & oper0_name,
392 const string & oper1_name,
393 const double c0 = 1.,
394 const double c1 = 1.,
395 const string & family_name =
"" );
399 const string & oper0_name,
400 const string & oper1_name,
401 const double c0 = 1.,
402 const double c1 = 1.,
403 const double c2 = 0.,
404 const string & family_name =
"" );
408 const Int_t oper_num,
410 const string & family_name =
"" );
413 const string & oper_names,
414 const string & family_name =
"" );
418 const string & src_name,
419 const string & family_name =
"" );
422 const string & family_name =
"" );
424 const TH1 * src_histo,
425 const string & family_name =
"" );
428 const string & src_name,
429 const string & family_name =
"" );
432 const string & family_name =
"" );
434 const TH1 * src_histo,
435 const string & family_name =
"" );
439 const string & src_name,
440 const u_int ny,
const double y1,
const double y2,
441 const string & family_name =
"" );
445 const u_int ny,
const double y1,
const double y2,
446 const string & family_name =
"" );
449 const TH1 * src_histo,
450 const u_int ny,
const double y1,
const double y2,
451 const string & family_name =
"" );
455 virtual bool User1DIncrement (
const string & spec_name,
const Double_t x,
const Double_t incr = 1. );
456 virtual bool User1DSetValue (
const string & spec_name,
const Double_t x,
const Double_t val );
457 virtual bool User1DIncrement (
const u_int spec_num,
const Double_t x,
const Double_t incr = 1. );
458 virtual bool User1DSetValue (
const u_int spec_num,
const Double_t x,
const Double_t val );
460 virtual bool User1DIncrement (
const string & spec_name,
const Int_t ix,
const Double_t incr = 1. );
461 virtual bool User1DSetValue (
const string & spec_name,
const Int_t ix,
const Double_t val );
462 virtual bool User1DIncrement (
const u_int spec_num,
const Int_t ix,
const Double_t incr = 1. );
463 virtual bool User1DSetValue (
const u_int spec_num,
const Int_t ix,
const Double_t val );
466 virtual bool User2DIncrement (
const string & spec_name,
const Double_t x,
const Double_t y,
const Double_t incr = 1. );
467 virtual bool User2DSetValue (
const string & spec_name,
const Double_t x,
const Double_t y,
const Double_t val );
468 virtual bool User2DIncrement (
const u_int spec_num,
const Double_t x,
const Double_t y,
const Double_t incr = 1. );
469 virtual bool User2DSetValue (
const u_int spec_num,
const Double_t x,
const Double_t y,
const Double_t val );
471 virtual bool User2DIncrement (
const string & spec_name,
const Int_t ix,
const Int_t iy,
const Double_t incr = 1. );
472 virtual bool User2DSetValue (
const string & spec_name,
const Int_t ix,
const Int_t iy,
const Double_t val );
473 virtual bool User2DIncrement (
const u_int spec_num,
const Int_t ix,
const Int_t iy,
const Double_t incr = 1. );
474 virtual bool User2DSetValue (
const u_int spec_num,
const Int_t ix,
const Int_t iy,
const Double_t val );
480 virtual bool RemoveSpectrum (
const u_int spec_num,
const bool force =
true );
481 virtual bool RemoveSpectrum (
const string & spec_name,
const bool force =
true );
494 virtual bool RenameSpectrum (
const u_int num,
const string &name,
495 const string &name_x =
"",
496 const string &name_y =
"",
497 const string &name_z =
"" );
498 virtual bool RenameSpectrum (
const string & spec_name,
const string &name,
499 const string &name_x =
"",
500 const string &name_y =
"",
501 const string &name_z =
"" );
530 bool StopFamily (
const string & family_name );
538 virtual void DumpEvent (
const bool all =
false,
539 const u_int pmin = 0,
540 const u_int pmax = 0 )
const;
541 virtual void DumpEvent (
const string &file_name,
542 const bool all =
false,
543 const u_int pmin = 0,
544 const u_int pmax = 0 )
const;
546 const bool all =
false,
547 const u_int pmin = 0,
548 const u_int pmax = 0 )
const;
552 virtual void PrintEvent (
const string &file_name )
const;
553 virtual void PrintEvent ( ostream &os )
const;
561 virtual void PrintFamily (
const string & family_name );
562 virtual void PrintFamily ( ostream &os ,
const string & family_name );
563 virtual void PrintFamily (
const string & file_name,
const string & family_name );
567 virtual int LoadSpectraList (
const string &filename,
const bool append =
true );
574 virtual int SaveFamilyHistograms (
const string & file_name,
const string & family_name )
const;
585 virtual int AddContour (
const string &ct_name, RContourBase &ct );
588 virtual bool RemoveContour (
const string &ct_name,
const bool force =
true );
589 virtual bool RemoveContour (
const int ct_num,
const bool force =
true );
590 virtual bool RemoveContour (
const RContour *ct,
const bool force =
true );
594 virtual int LoadContourList (
const string &filename,
const bool append =
true );
602 virtual bool RemoveFilter (
const string & f_name,
const bool force =
true );
603 virtual bool RemoveFilter (
const int f_num,
const bool force =
true );
609 virtual int AddFilterNot (
const char *f_name,
const char *fnot_name );
610 virtual int AddFilterAnd (
const char *f_name,
const char *f1_name,
const char *f2_name );
611 virtual int AddFilterOr (
const char *f_name,
const char *f1_name,
const char *f2_name );
612 virtual int AddFilterXOr (
const char *f_name,
const char *f1_name,
const char *f2_name );
616 virtual int AddFilterGate (
const char *f_name,
const char *p_name,
const double pmin,
const double pmax,
const int mode = filterMultiParAnd );
617 virtual int AddFilterContour (
const char *f_name,
const char *c_name,
const char *x_name,
const char *y_name,
const bool inv =
false,
const int mode = filterMultiParAnd );
618 virtual int AddFilterContour (
const char *f_name,
const char *c_name,
const char *x_name,
const bool inv =
false,
const int mode = filterMultiParAnd );
620 virtual int LoadFilterList (
const string &filename,
const bool append =
true );
624 virtual bool FilterSpectrum (
const int sp_num,
const string &f_name =
"" );
625 virtual bool FilterSpectrum (
const string &sp_name,
const string &f_name =
"" );
627 virtual bool FilterFamily (
const string &family_name,
const string &f_name =
"" );
629 virtual bool FilterTree (
const int t_num,
const string &f_name =
"" );
630 virtual bool FilterTree (
const string &t_name,
const string &f_name =
"" );
650 {
return (
event.GetSize()); }
810 if (num <
event.GetSize())
811 return (
event[num] = val);
814 GLogWarning (
"GetParam(): parameter number "
815 + GGetString(num) +
" over event size [0:"
816 + GGetString(
event.GetSize()) +
"]");
835 const string &par_name,
838 u_int num =
event.GetParamIndex(par_name);
839 if (num <
event.GetSize())
843 GLogWarning (
"GetParam(): no parameter " + par_name);
867 if (num <
event.GetSize())
869 Param &p =
event[num];
874 return (p[index] = val);
883 GLogWarning (
"GetParam(): parameter number "
884 + GGetString(num) +
" over event size [0:"
885 + GGetString(
event.GetSize()) +
"]");
905 const string &par_name,
909 u_int num =
event.GetParamIndex(par_name);
910 if (num <
event.GetSize())
914 GLogWarning (
"GetParam(): no parameter " + par_name);
974 const string &name_x,
975 const string &name_y,
976 const string &name_z )
990 const string &name_x,
991 const string &name_y,
992 const string &name_z )
1059 const string & family_name )
1067 const string & family_name )
1126 const u_int pmax )
const
1127 {
DumpEvent ( cout, all, pmin, pmax ); }
1197 {
return ( (f == NULL) ?
false : f->
Ok() ); }
1230 return ( (ptr == NULL) ?
"" : ptr->GetName() );
1262 return ( (ptr == NULL) ?
"" : ptr->GetName() );
bool SetParamDefaultValue(const u_int num, const Data &d)
Definition: EventManager.cpp:93
int AddSpecInv(const string &spec_name, const string &oper_name, const double c0=1., const double c1=0., const double c2=0., const string &family_name="")
Definition: EventManager.cpp:1761
const Data & GetParamDefaultValue(const u_int num)
Definition: EventManager.cpp:55
virtual bool User1DIncrement(const string &spec_name, const Double_t x, const Double_t incr=1.)
Definition: EventManager.cpp:2339
virtual int AddFilterAnd(const char *f_name, const char *f1_name, const char *f2_name)
Definition: EventManager.cpp:3568
virtual bool User2DSetValue(const string &spec_name, const Double_t x, const Double_t y, const Double_t val)
Definition: EventManager.cpp:2564
virtual bool FilterTree(const int t_num, const string &f_name="")
Definition: EventManager.cpp:4036
virtual string GetTreeFile(const int t_num) const
Definition: EventManager.cpp:808
int AddSpecHSum(const string &spec_name, const string &src_name, const string &family_name="")
Definition: EventManager.cpp:2052
Definition: FilterBase.hh:42
virtual int LoadContourList(const string &filename, const bool append=true)
Definition: EventManager.cpp:3419
virtual int AddFilterOr(const char *f_name, const char *f1_name, const char *f2_name)
Definition: EventManager.cpp:3597
int AddSpecExtern(const string &h_name, const string &f_name, const string &s_name="", const string &family_name="")
Definition: EventManager.cpp:1589
virtual int AddParamArray(const string &par_name, const u_int dim, const Data &d=DataUI2(0))
Definition: EventManager.hh:737
SpectrumList spec_list
Liste des spectres de l'analyse.
Definition: EventManager.hh:70
int AddSpecBidim(const string &spec_name, const u_int par_num_x, const u_int nx, const double x1, const double x2, const u_int par_num_y, const u_int ny, const double y1, const double y2, const string &family_name="")
Definition: EventManager.cpp:1148
const SpectrumList * GetSpectrumListPtr() const
Definition: EventManager.hh:679
virtual int SaveSpectraList(const string &filename) const
Definition: EventManager.cpp:3255
virtual int LoadFilterList(const string &filename, const bool append=true)
Definition: EventManager.cpp:3898
ClassDef(EventManager, 0)
int AddSpecDiv(const string &spec_name, const string &oper0_name, const string &oper1_name, const double c0=1., const double c1=1., const double c2=0., const string &family_name="")
Definition: EventManager.cpp:1913
virtual ~EventManager()
Definition: EventManager.cpp:37
virtual bool User2DIncrement(const string &spec_name, const Double_t x, const Double_t y, const Double_t incr=1.)
Definition: EventManager.cpp:2519
const RContourList * GetContourListPtr() const
Definition: EventManager.hh:687
virtual int SaveSelectedHistograms(const string &file_name) const
Definition: EventManager.cpp:3287
virtual void RejectEvent()
Definition: EventManager.hh:714
virtual UInt_t GetTreeFileMode(const int t_num) const
Definition: EventManager.cpp:874
DataBad & bad_data
Definition: DataBad.cpp:51
virtual const RContourList * GetContourListPtr() const
Definition: FilterList.hh:126
virtual void PrintFamily(const string &family_name)
Definition: EventManager.hh:1147
virtual string GetTreeFileName(const int t_num) const
Definition: EventManager.cpp:841
virtual int LoadTreeList(const string &filename, const bool append=true)
Definition: EventManager.cpp:1045
const Param * GetParamPtr(const string &par_name) const
Definition: Event.cpp:149
int AddSpecSqrt(const string &spec_name, const string &oper_name, const double c0=1., const double c1=0., const string &family_name="")
Definition: EventManager.cpp:1722
bool StartSpectrum(const int num=-1) const
Definition: EventManager.cpp:2914
const FilterList * GetFilterListPtr() const
Definition: EventManager.hh:683
virtual int AddFilterGate(const char *f_name, const char *p_name, const double pmin, const double pmax, const int mode=filterMultiParAnd)
Definition: EventManager.cpp:3703
Definition: TreeInfo.hh:95
virtual void SuspendList() const
Definition: TreeList.hh:153
virtual const Param * GetParamPtr(const u_int n) const
Definition: EventManager.hh:753
virtual void OpenTreeList(const Int_t m=-1) const
Definition: EventManager.hh:949
virtual int SaveHistograms(const string &file_name) const
Definition: EventManager.cpp:3276
Definition: DataUI2.hh:19
virtual Bool_t OpenTree(const int t_num) const
Definition: EventManager.cpp:910
Definition: TreeList.hh:26
EventManager()
Definition: EventManager.cpp:22
virtual bool SetSpectrumDeleteProtection(Spectrum *spec_ptr, const bool b=true)
Definition: EventManager.cpp:2855
virtual int AddParamSingle(const string &par_name, const Data &d=DataUI2(0))
Definition: EventManager.hh:727
virtual int GetParamDimension(const u_int n) const
Definition: EventManager.hh:782
const Event * GetEventPtr() const
Definition: EventManager.hh:671
u_int ParamNumber() const
Definition: EventManager.hh:649
bool ResetSpectrumFamily(const string &spec_name)
Definition: EventManager.hh:1074
virtual bool RemoveContour(const string &ct_name, const bool force=true)
Definition: EventManager.cpp:3374
virtual int GetTreeIndex(const string &tree_name) const
Definition: TreeList.cpp:79
u_int TreeNumber() const
Definition: EventManager.hh:657
virtual int AddTree(const string &t_name, const string &f_name="", const UInt_t n_max=0)
Definition: EventManager.cpp:273
const TreeList * GetTreeListPtr() const
Definition: EventManager.hh:675
int AddSpecNorm(const string &spec_name, const string &oper_name, const double norm=1., const string &family_name="")
Definition: EventManager.cpp:1687
virtual Spectrum * GetSpectrumPtr(const u_int num) const
Definition: SpectrumList.cpp:836
Definition: ParamArray.hh:38
virtual int AddFilterTrue(const char *f_name)
Definition: EventManager.cpp:3533
virtual bool RenameSpectrum(const u_int num, const string &name, const string &name_x="", const string &name_y="", const string &name_z="")
Definition: EventManager.hh:973
Definition: ParamMultihit.hh:35
Definition: Spectrum.hh:222
int AddSpecTridim(const string &spec_name, const u_int par_num_x, const u_int nx, const double x1, const double x2, const u_int par_num_y, const u_int ny, const double y1, const double y2, const u_int par_num_z, const u_int nz, const double z1, const double z2, const string &family_name="")
Definition: EventManager.cpp:1248
virtual void DumpEvent(const bool all=false, const u_int pmin=0, const u_int pmax=0) const
Definition: EventManager.hh:1124
bool SuspendTree(const int t_num=-1) const
Definition: EventManager.cpp:670
virtual void RemoveAllContours()
Definition: EventManager.cpp:3346
virtual Bool_t CloseTree(const int t_num) const
Definition: EventManager.cpp:942
virtual bool FilterSpectrum(const int sp_num, const string &f_name="")
Definition: EventManager.cpp:3923
virtual int AddContour(const string &ct_name, RContourBase &ct)
Definition: EventManager.cpp:3316
virtual int GetTreeIndex(const string &t_name) const
Definition: EventManager.hh:940
virtual int SaveFamilyHistograms(const string &file_name, const string &family_name) const
Definition: EventManager.cpp:3299
virtual bool RenameSpectrum(const u_int num, const string &name, const string &name_x="", const string &name_y="", const string &name_z="")
Definition: SpectrumList.cpp:943
int AddSpecDistrib(const string &spec_name, const u_int par_num, const double x1, const double x2, const string &family_name="")
Definition: EventManager.cpp:1357
virtual int AddFilterFalse(const char *f_name)
Definition: EventManager.cpp:3522
virtual void RemoveAllFilters()
Definition: EventManager.cpp:3509
virtual bool SuspendFamily(const string &family_name)
Definition: SpectrumList.cpp:1105
virtual void CloseTreeList(const Int_t m=-1) const
Definition: EventManager.hh:957
virtual void IncrementListFast() const
Definition: TreeList.cpp:369
virtual bool CheckFilter(const string &f_name)
Definition: EventManager.cpp:4116
virtual int AddParamMultihit(const string &par_name, const Data &d=DataUI2(0))
Definition: EventManager.hh:746
TH1 * GetHistoPtr(const u_int num) const
Definition: EventManager.hh:1039
FilterList filter_list
Liste des filtres de l'analyse.
Definition: EventManager.hh:71
int AddSpecProd(const string &spec_name, const string &oper0_name, const string &oper1_name, const double c0=1., const double c1=1., const string &family_name="")
Definition: EventManager.cpp:1856
virtual void PrintEvent() const
Definition: EventManager.hh:1133
virtual RContour * GetContourPtr(const string &cname) const
Definition: EventManager.hh:1206
virtual bool RemoveSpectrum(const Spectrum *spec_ptr, const bool force=true)
Definition: EventManager.cpp:2737
bool StopTree(const int t_num=-1) const
Definition: EventManager.cpp:641
Definition: FilterList.hh:37
virtual bool SetSpectrumSaveProtection(Spectrum *spec_ptr, const bool b=true)
Definition: EventManager.cpp:2798
virtual bool ResetFamily(const string &family_name)
Definition: SpectrumList.cpp:1125
virtual u_int Dimension() const =0
virtual int GetContourIndex(const string &cname) const
Definition: EventManager.hh:1220
int AddSpecHCumul(const string &spec_name, const string &src_name, const u_int ny, const double y1, const double y2, const string &family_name="")
Definition: EventManager.cpp:2234
int AddSpecHMean(const string &spec_name, const string &src_name, const string &family_name="")
Definition: EventManager.cpp:2141
virtual int AddFilterMultiAnd(const char *f_name, const char *fl_names)
Definition: EventManager.cpp:3656
virtual Bool_t IsTreeClosed(const int t_num) const
Definition: EventManager.cpp:1006
virtual int SaveSelectedSpectra(const string &filename) const
Definition: EventManager.cpp:3266
virtual void PrintFamily(const string &family_name)
Definition: SpectrumList.hh:352
virtual void OpenList(const Int_t m=-1) const
Definition: TreeList.cpp:155
virtual bool User1DSetValue(const string &spec_name, const Double_t x, const Double_t val)
Definition: EventManager.cpp:2382
virtual void IncrementListFast() const
Definition: SpectrumList.cpp:101
int AddSpecTrace(const string &spec_name, const u_int par_num, const double x1, const double x2, const string &family_name="")
Definition: EventManager.cpp:1425
int GetParamIndex(const string &par_name) const
Definition: Event.cpp:102
virtual int AddFilterMultiOr(const char *f_name, const char *fl_names)
Definition: EventManager.cpp:3679
virtual void RemoveAllSpectra(const bool force=false)
Definition: EventManager.cpp:2706
virtual Int_t SetTreeFile(const int t_num, const string &f_name, const UInt_t n_max=0)
Definition: EventManager.cpp:767
const Data & GetParam(const u_int num)
Definition: EventManager.cpp:163
bool StopFamily(const string &family_name)
Definition: EventManager.hh:1097
virtual int LoadSpectraList(const string &filename, const bool append=true)
Definition: EventManager.cpp:3246
virtual string GetContourName(const u_int cnum) const
Definition: EventManager.hh:1227
bool SuspendSpectrum(const int num=-1) const
Definition: EventManager.cpp:3014
virtual int GetFilterIndex(const string &fname) const
Definition: EventManager.hh:1252
virtual int SaveFilterList(const string &filename) const
Definition: EventManager.cpp:3907
bool ResetSpectrum(const int num=-1) const
Definition: EventManager.cpp:3064
int AddSpecMono(const string &spec_name, const u_int par_num, const u_int nx, const double x1, const double x2, const string &family_name="")
Definition: EventManager.cpp:1075
virtual bool SetSpectrumFamily(Spectrum *spec_ptr, const string &family_name)
Definition: SpectrumList.hh:337
TH1 * GetHistoPtr(const u_int num) const
Definition: SpectrumList.cpp:905
bool SuspendFamily(const string &family_name)
Definition: EventManager.hh:1104
int GetParamDimension(const u_int n) const
Definition: Event.cpp:136
virtual int SaveContourList(const string &filename) const
Definition: EventManager.cpp:3460
int AddSpecSum(const string &spec_name, const string &oper0_name, const string &oper1_name, const double c0=1., const double c1=1., const double c2=0., const string &family_name="")
Definition: EventManager.cpp:1800
const Data & SetParam(const u_int num, const T &val)
Definition: EventManager.hh:806
virtual int AddParam(const Param &par)
Definition: EventManager.cpp:140
virtual void SuspendList() const
Definition: SpectrumList.hh:303
bool StopSpectrum(const int num=-1) const
Definition: EventManager.cpp:2964
TreeInfo * GetTreePtr(const u_int tree_num) const
Definition: TreeList.cpp:48
virtual void CloseList(const Int_t m=-1) const
Definition: TreeList.cpp:171
TreeList tree_list
Liste des arbres de l'analyse.
Definition: EventManager.hh:69
virtual TreeInfo * GetTreePtr(const u_int t_num) const
Definition: EventManager.hh:926
virtual int SaveTreeList(const string &filename) const
Definition: EventManager.cpp:1054
const string GetParamName(const u_int n) const
Definition: Event.cpp:183
int AddSpecSumN(const string &spec_name, const Int_t oper_num, Spectrum **oper_tab, const string &family_name="")
Definition: EventManager.cpp:1967
virtual Int_t AddTreeAllParam(const int t_num)
Definition: EventManager.cpp:573
virtual int AddFilterXOr(const char *f_name, const char *f1_name, const char *f2_name)
Definition: EventManager.cpp:3626
virtual void UpdateValues() const
Definition: FilterList.cpp:296
int AddSpecUser1D(const string &spec_name, const u_int nx, const double x1, const double x2, const string &family_name="")
Definition: EventManager.cpp:1617
Definition: ParamSingle.hh:21
virtual int AddFilterNot(const char *f_name, const char *fnot_name)
Definition: EventManager.cpp:3545
bool SetSpectrumFamily(const string &spec_name, const string &family_name)
Definition: EventManager.hh:1058
virtual int GetSpectrumIndex(const string &spec_name) const
Definition: EventManager.hh:1024
virtual bool FilterFamily(const string &family_name, const string &f_name="")
Definition: EventManager.cpp:4006
Definition: SpectrumList.hh:30
virtual string GetSpectrumName(const u_int spec_num) const
Definition: SpectrumList.cpp:884
virtual Bool_t AddTreeParam(const int t_num, const Param *p_ptr)
Definition: EventManager.cpp:406
virtual string GetFilterName(const u_int fnum) const
Definition: EventManager.hh:1259
virtual Spectrum * GetSpectrumPtr(const u_int num) const
Definition: EventManager.hh:1010
virtual bool RemoveFilter(Filter *f, const bool force=true)
Definition: EventManager.hh:1172
virtual bool Ok() const
Definition: Filter.hh:152
virtual void IncrementSpectra() const
Definition: EventManager.hh:999
virtual void RemoveAllTrees()
Definition: EventManager.cpp:392
virtual int AddFilterContour(const char *f_name, const char *c_name, const char *x_name, const char *y_name, const bool inv=false, const int mode=filterMultiParAnd)
Definition: EventManager.cpp:3814
virtual int GetParamIndex(const string &par_name) const
Definition: EventManager.hh:775
u_int ContourNumber() const
Definition: EventManager.hh:661
u_int SpecNumber() const
Definition: EventManager.hh:653
virtual bool StopFamily(const string &family_name)
Definition: SpectrumList.cpp:1085
bool ResetFamily(const string &family_name)
Definition: EventManager.hh:1111
virtual int InitTree(const string &t_name)
Definition: EventManager.cpp:295
Definition: EventManager.hh:59
bool StartTree(const int t_num=-1) const
Definition: EventManager.cpp:612
virtual bool StartFamily(const string &family_name)
Definition: SpectrumList.cpp:1065
virtual string GetSpectrumName(const u_int spec_num) const
Definition: EventManager.hh:1031
virtual Filter * GetFilterPtr(const string &fname) const
Definition: EventManager.hh:1238
virtual int AddFilter(const string &f_name, FilterBase &f)
Definition: EventManager.cpp:3475
Event event
Structure physique de l'événement.
Definition: EventManager.hh:68
virtual bool ResetSpectrumFamily(Spectrum *spec_ptr)
Definition: SpectrumList.hh:345
int AddSpecCumul(const string &spec_name, const u_int par_num_x, const double x1, const double x2, const u_int ny, const double y1, const double y2, const string &family_name="")
Definition: EventManager.cpp:1495
virtual Bool_t IsTreeOpen(const int t_num) const
Definition: EventManager.cpp:974
u_int FilterNumber() const
Definition: EventManager.hh:665
virtual string GetParamName(const u_int n) const
Definition: EventManager.hh:767
int AddSpecHisto(TH1 &h, const string &family_name="")
Definition: EventManager.cpp:1564
virtual void PrintSpecList() const
Definition: EventManager.hh:1138
virtual bool RemoveFilter(const bool force=true)
Definition: FilterList.cpp:501
int AddSpecUser2D(const string &spec_name, const u_int nx, const double x1, const double x2, const u_int ny, const double y1, const double y2, const string &family_name="")
Definition: EventManager.cpp:1653
bool StartFamily(const string &family_name)
Definition: EventManager.hh:1090
virtual int GetSpectrumIndex(const string &spec_name) const
Definition: SpectrumList.cpp:867
virtual Int_t AddTreeParamRange(const int t_num, const Int_t p1, const Int_t p2)
Definition: EventManager.cpp:534
virtual bool RemoveTree(const TreeInfo *t_ptr)
Definition: EventManager.cpp:351