Skip to content
Snippets Groups Projects
Commit 1764c896 authored by Audrey Chatillon's avatar Audrey Chatillon
Browse files

[GaseousDetector] small debugging

parent e6050335
No related branches found
No related tags found
1 merge request!27Draft: [Epic] Preparation of the environement for the new GaseousDetectorScorers...
Pipeline #380626 passed
...@@ -88,6 +88,8 @@ G4bool PS_GaseousDetector::ProcessHits(G4Step* aStep, G4TouchableHistory*) { ...@@ -88,6 +88,8 @@ G4bool PS_GaseousDetector::ProcessHits(G4Step* aStep, G4TouchableHistory*) {
cout << "t_ParticleName : " << particlename << endl; cout << "t_ParticleName : " << particlename << endl;
cout << "t_Energy : " << t_Energy << endl; cout << "t_Energy : " << t_Energy << endl;
cout << "slice_posZ : " << slice_posZ << endl; // it seems that step_size is not uniform cout << "slice_posZ : " << slice_posZ << endl; // it seems that step_size is not uniform
cout << "t_ParticleName.size() = " << t_ParticleName.size() << endl;
cout << "t_SlicePosZ.size() = " << t_SlicePosZ.size() << endl;
cout << "t_EnergyLossPerSlice.size() = " << t_EnergyLossPerSlice.size() << endl; cout << "t_EnergyLossPerSlice.size() = " << t_EnergyLossPerSlice.size() << endl;
t_Level.clear(); t_Level.clear();
for (unsigned int i = 0; i < mysize; i++) { for (unsigned int i = 0; i < mysize; i++) {
...@@ -122,6 +124,7 @@ void PS_GaseousDetector::EndOfEvent(G4HCofThisEvent*) {} ...@@ -122,6 +124,7 @@ void PS_GaseousDetector::EndOfEvent(G4HCofThisEvent*) {}
void PS_GaseousDetector::clear() { void PS_GaseousDetector::clear() {
m_Data.clear(); m_Data.clear();
t_Level.clear(); t_Level.clear();
t_ParticleName.clear();
//t_SliceNbr.clear(); //t_SliceNbr.clear();
t_SlicePosZ.clear(); t_SlicePosZ.clear();
t_EnergyLossPerSlice.clear(); t_EnergyLossPerSlice.clear();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment