StRoot
1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
StPxlSimMaker
DIGMAPS
digaction.h
1
#ifndef MAPS_DIGACTION_H
2
#define MAPS_DIGACTION_H
3
4
#include <TNamed.h>
5
#include <TList.h>
6
#include <TGraph.h>
7
#include "Riostream.h"
8
#include "vector"
9
10
// ROOT classes
11
#include "TString.h"
12
#include "TObject.h"
13
#include "TVector.h"
14
#include "TFile.h"
15
#include "TSystem.h"
16
#include "TRandom.h"
17
#include "TH1.h"
18
#include "TH2.h"
19
#include "TObjArray.h"
20
#include "TTree.h"
21
#include "TBranch.h"
22
#include "TClonesArray.h"
23
using namespace
std;
24
25
//Int_t GlobalSeed = 1;
26
27
class
DIGInitialize
;
28
class
DIGPlane
;
29
class
DIGADC
;
30
class
DIGBeam
;
31
class
DIGTransport
;
32
class
DIGParticle
;
33
class
DIGAction
;
34
class
DIGEvent
;
35
class
DIGMAPS
;
36
//==============================================================================
37
38
class
DIGAction
:
public
TObject {
39
public
:
40
DIGAction
();
41
DIGAction
(Char_t *Doit, Char_t *Model);
42
// DIGPlane(char *name,char *title);
43
virtual
~
DIGAction
();
44
void
SetDoit(Char_t *Doit);
45
void
SetModel(Char_t *Model);
46
void
PrintInfo();
47
Char_t *GetDoit(){
return
fDoit;}
48
Char_t *GetModel(){
return
fModel;}
49
50
protected
:
51
enum
{tpsz = 200};
52
Char_t fDoit[tpsz];
// "foresee" , "train" , "plot"
53
Char_t fModel[tpsz];
// "basic"
54
/*
55
Char_t tWeightFileName[200];
56
Int_t tRunIndex = GetRunPar().Number;
57
sprintf(tWeightFileName,"config/inf%d.root",tRunIndex); //was DTDIR
58
59
fWeightFileName = tWeightFileName;
60
61
const char* GetWeightFileName() {return fWeightFileName;}
62
63
struct ActionParameter_t {
64
enum {actionnum = 200};
65
Char_t Doit[actionnum];
66
Char_t Model[actionnum];
67
68
} ActionParameter;
69
ActionParameter_t& GetActionPar() {return ActionParameter;}
70
71
*/
72
ClassDef(
DIGAction
,1);
73
};
74
75
76
77
78
79
//==============================================================================
80
81
#endif
82
83
DIGADC
Definition:
digadc.h:36
DIGAction
Definition:
digaction.h:38
DIGEvent
Definition:
digevent.h:43
DIGParticle
Definition:
digparticle.h:37
DIGPlane
Definition:
digplane.h:36
DIGBeam
Definition:
digbeam.h:38
DIGTransport
Definition:
digtransport.h:35
DIGMAPS
Definition:
digmaps.h:61
DIGInitialize
Definition:
diginitialize.h:35
Generated by
1.8.5