9 |
|
// ROOT include(s): |
10 |
|
#include <TObject.h> |
11 |
|
#include <TString.h> |
12 |
+ |
#include <TList.h> |
13 |
|
|
14 |
|
// Local include(s): |
15 |
|
//#include "include/ISCycleBaseHist.h" |
16 |
< |
#include "include/SCycleBaseHist.h" |
17 |
< |
#include "include/SCycleBaseBase.h" |
16 |
> |
#include "include/SCycleBase.h" |
17 |
> |
//#include "include/SCycleBaseBase.h" |
18 |
|
#include "include/SError.h" |
19 |
|
|
20 |
|
// Forward declaration(s): |
36 |
|
* @version $Revision$ |
37 |
|
*/ |
38 |
|
|
39 |
< |
class BaseHists : public SCycleBaseHist { |
39 |
> |
class BaseHists : public SCycleBase { |
40 |
|
|
41 |
|
|
42 |
|
public: |
57 |
|
TString GetName() {return m_name;} |
58 |
|
void SetName(TString name) {m_name = name;} |
59 |
|
|
60 |
+ |
// class has to inherit from SCycleBase to have access to histogram functionality in SFrame |
61 |
+ |
// implement virtual routines but throw exception in case they are called |
62 |
+ |
void BeginCycle()throw( SError ) { m_logger << ERROR << "This should not happen: BeginCycle called for BaseHist class" << SLogger::endmsg; } ; |
63 |
+ |
void EndCycle()throw( SError ){ m_logger << ERROR << "This should not happen: EndCycle called for BaseHist class" << SLogger::endmsg; } ; |
64 |
+ |
void BeginInputData(const SInputData&)throw( SError ){ m_logger << ERROR << "This should not happen: BeginInputData called for BaseHist class" << SLogger::endmsg; } ; |
65 |
+ |
void EndInputData(const SInputData&)throw( SError ){ m_logger << ERROR << "This should not happen: EndInputData called for BaseHist class" << SLogger::endmsg; } ; |
66 |
+ |
void BeginInputFile(const SInputData&)throw( SError ){ m_logger << ERROR << "This should not happen: BeginInputFile called for BaseHist class" << SLogger::endmsg; } ; |
67 |
+ |
void ExecuteEvent(const SInputData&, Double_t)throw( SError ){ m_logger << ERROR << "This should not happen: ExecuteEvent called for BaseHist class" << SLogger::endmsg; } ; |
68 |
+ |
|
69 |
+ |
|
70 |
|
protected: |
71 |
|
/// Function placing a ROOT object in the output file |
72 |
|
template< class T > T* Book( const T& histo ) throw( SError ); |