62 analysis->
GetH1(timeHist+i)->reset();
86 G4cout <<
"********************************************" <<
G4endl
87 <<
"* o/p file ccal" <<
G4endl
88 <<
"********************************************" <<
G4endl
95 for (
int i=0;i<28;i++) {
96 G4String tupleidString =
"hcal" + std::to_string( i );
99 for (
int i=0; i<49; i++) {
100 G4String tupleidString =
"ecal" + std::to_string( i );
116 for (
int i = 0; i<28; i++) {
117 G4String idString =
"h" + std::to_string( i+100 );
118 G4String ntupletagString =
"Energy Deposit in Hcal Layer" + std::to_string( i ) +
" in GeV";
119 analysisManager->
CreateH1( idString.c_str(), ntupletagString.c_str(), 100, 0., 1.0 );
122 for (
int i = 0; i<49; i++) {
123 G4String idString =
"h" + std::to_string( i+200 );
124 G4String ntupletagString =
"Energy Deposit in Ecal Tower" + std::to_string( i ) +
" in GeV";
125 analysisManager->
CreateH1( idString.c_str(), ntupletagString.c_str(), 100, 0., 1.0 );
128 analysisManager->
CreateH1(
"h4000",
"Total energy deposited in GeV", 100, 0., 100.0 );
132 G4String idString =
"h" + std::to_string( i+300 );
133 G4String ntupletagString =
"Time slice " + std::to_string( i ) +
" nsec energy profile in GeV";
134 analysisManager->
CreateH1( idString.c_str(), ntupletagString.c_str(), 100, 0., 100.0 );
138 for (
int i = 0; i<70; i++) {
139 G4String idString =
"h" + std::to_string( i+500 );
140 G4String ntupletagString =
"Lateral energy profile at " + std::to_string( i ) +
" cm in GeV";
141 analysisManager->
CreateH1( idString.c_str(), ntupletagString.c_str(), 100, 0., 10.0 );
145 analysisManager->
CreateH1(
"h901",
"Time Profile in Sensitive Detector", 200, 0., 200. );
146 analysisManager->
CreateH1(
"h902",
"Time Profile in Sensitive+Passive", 200, 0., 200. );
virtual void EndOfRunAction(const G4Run *aRun)
G4int ApplyCommand(const char *aCommand)
G4bool SetFirstHistoId(G4int firstId)
G4bool OpenFile(const G4String &fileName="")
G4int GetH1Id(const G4String &name, G4bool warn=true) const
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 G4UImanager * GetUIpointer()
static G4VVisManager * GetConcreteInstance()
void SetVerboseLevel(G4int verboseLevel)
virtual void BeginOfRunAction(const G4Run *aRun)
G4GLOB_DLL std::ostream G4cout
G4int CreateNtuple(const G4String &name, const G4String &title)
G4int CreateNtupleFColumn(const G4String &name)
G4bool SetFirstNtupleId(G4int firstId)