69 :GammaRayTelDetector(0),histo2DMode(
"strip")
84 delete G4AnalysisManager::Instance();
167 int N = Nstrip*Ntile;
174 man->
CreateH1(
"1",
"Edep in the last X plane (keV)", 100, 50, 200);
177 man->
CreateH1(
"2",
"Hits dist in TKR X planes",Nplane, 0, Nplane-1);
186 man->
CreateH2(
"1",
"Tracker Hits XZ (strip,plane)",
188 2*Nplane, 0, Nplane-1);
192 man->
CreateH2(
"1",
"Tracker Hits XZ (x,z) in mm",
193 int(sizexy/5), -sizexy/2, sizexy/2,
194 int(sizez/5), -sizez/2, sizez/2);
200 man->
CreateH2(
"2",
"Tracker Hits YZ (strip,plane)",
202 2*Nplane, 0, Nplane-1);
206 man->
CreateH2(
"2",
"Tracker Hits YZ (x,z) in mm",
207 int(sizexy/5), -sizexy/2, sizexy/2,
208 int(sizez/5), -sizez/2, sizez/2);
G4int GetNbOfTKRLayers() const
static G4RunManager * GetRunManager()
G4int GetNbOfTKRTiles() const
G4bool FillH2(G4int id, G4double xvalue, G4double yvalue, G4double weight=1.0)
G4double GetTKRSizeZ() const
void EndOfEvent(G4int flag)
void InsertPositionXZ(double x, double z)
GammaRayTelAnalysisMessenger * analysisMessenger
void InsertHits(int nplane)
G4bool SetFirstHistoId(G4int firstId)
G4int CreateH2(const G4String &name, const G4String &title, G4int nxbins, G4double xmin, G4double xmax, G4int nybins, G4double ymin, G4double ymax, const G4String &xunitName="none", const G4String &yunitName="none", const G4String &xfcnName="none", const G4String &yfcnName="none", const G4String &xbinSchemeName="linear", const G4String &ybinSchemeName="linear")
G4bool OpenFile(const G4String &fileName="")
void InsertPositionYZ(double y, double z)
G4int CreateH1(const G4String &name, const G4String &title, G4int nbins, G4double xmin, G4double xmax, const G4String &unitName="none", const G4String &fcnName="none", const G4String &binSchemeName="linear")
static GammaRayTelAnalysis * getInstance()
G4bool FillNtupleDColumn(G4int id, G4double value)
void InsertEnergy(double en)
void setNtuple(float E, float p, float x, float y, float z)
G4int CreateNtupleDColumn(const G4String &name)
static GammaRayTelAnalysis * instance
G4int GetNbOfTKRStrips() const
G4GLOB_DLL std::ostream G4cout
G4int CreateNtuple(const G4String &name, const G4String &title)
G4bool FillH1(G4int id, G4double value, G4double weight=1.0)
virtual ~GammaRayTelAnalysis()
const G4VUserDetectorConstruction * GetUserDetectorConstruction() const
const GammaRayTelDetectorConstruction * GammaRayTelDetector
G4double GetTKRSizeXY() const