BOSS 7.1.2
BESIII Offline Software System
Loading...
Searching...
No Matches
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:97
StatusCode execute()
Definition TruthDemo.cxx:68
StatusCode initialize()
Definition TruthDemo.cxx:51
TruthDemo(const std::string &name, ISvcLocator *pSvcLocator)
Definition TruthDemo.cxx:43