BOSS 7.0.4
BESIII Offline Software System
Loading...
Searching...
No Matches
Generator/GenAnalysisTools/TruthExamples/TruthExamples-00-00-07/TruthExamples/TruthDemo.h
Go to the documentation of this file.
1#include <math.h>
2#include "GaudiKernel/Algorithm.h"
4
5class IHistogram1D; //Forward declaration
6class IHistogram2D; //Forward declaration
7class StoreGateSvc;
8
9class TruthDemo:public Algorithm {
10public:
11 TruthDemo(const std::string& name, ISvcLocator* pSvcLocator);
12 StatusCode initialize();
13 StatusCode execute();
14 StatusCode finalize();
15
16private:
17 bool m_produceHistogram;
18
19//histograms, used if m_produceHistogram is true = 1
20 IHistogram1D* m_hgenerated;
21 IHistogram1D* m_pxBalance;
22 IHistogram1D* m_pyBalance;
23 IHistogram1D* m_totEnergy;
24 IHistogram1D* m_negStatus;
25 // StoreGateSvc* m_sgSvc;
26 GenAccessIO* m_tesIO;
27
28};
StatusCode finalize()
Definition: TruthDemo.cxx:96
StatusCode execute()
Definition: TruthDemo.cxx:67
StatusCode initialize()
Definition: TruthDemo.cxx:50