Skip to content
Snippets Groups Projects
Commit cf7ad721 authored by de Séréville Nicolas's avatar de Séréville Nicolas
Browse files

+ remove compilation warning

parent 67bc1983
No related branches found
No related tags found
No related merge requests found
...@@ -43,13 +43,13 @@ G4bool PS_Calorimeter::ProcessHits(G4Step* aStep, G4TouchableHistory*){ ...@@ -43,13 +43,13 @@ G4bool PS_Calorimeter::ProcessHits(G4Step* aStep, G4TouchableHistory*){
Infos[0] = aStep->GetTotalEnergyDeposit(); Infos[0] = aStep->GetTotalEnergyDeposit();
Infos[1] = aStep->GetPreStepPoint()->GetGlobalTime(); Infos[1] = aStep->GetPreStepPoint()->GetGlobalTime();
for(G4int i = 0 ; i < mysize ; i++){ for(unsigned int i = 0 ; i < mysize ; i++){
Infos[i+2] = aStep->GetPreStepPoint()->GetTouchableHandle()->GetCopyNumber(m_NestingLevel[i]); Infos[i+2] = aStep->GetPreStepPoint()->GetTouchableHandle()->GetCopyNumber(m_NestingLevel[i]);
} }
m_Index = 0 ; m_Index = 0 ;
G4int multiplier = 1; G4int multiplier = 1;
for(G4int i = 0 ; i < mysize ; i++){ for(unsigned int i = 0 ; i < mysize ; i++){
m_Index+= aStep->GetPreStepPoint()->GetTouchableHandle()->GetCopyNumber(m_NestingLevel[i])*multiplier; m_Index+= aStep->GetPreStepPoint()->GetTouchableHandle()->GetCopyNumber(m_NestingLevel[i])*multiplier;
multiplier*=10; multiplier*=10;
} }
......
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