Commit 984f5273 authored by J.Dudouet [IPNL/CSNSM]'s avatar J.Dudouet [IPNL/CSNSM]
Browse files

correct the initialization


git-svn-id: svn+ssh://anonsvn.in2p3.fr/agata/gammaware/trunk@2260 c3abf467-7ff2-0310-b516-c5fb849bdde0
parent 8416fd34
......@@ -345,9 +345,7 @@ void ADHitTree::Exec(Option_t * /*option*/)
// be sure the frame has been set properly
if ( fFrame == 0x0 || !fFrame->IsValid() ) {
SetLastExecStatus(1u);
return;
}
if ( !fFrame->IsValid() ){ //For empty event:data:psa purpose
nbHits =0;
nbCores =0;
for(int i=0; i<MaxCore ; i++) {//empty array coreE0 coreE1
......@@ -358,7 +356,9 @@ void ADHitTree::Exec(Option_t * /*option*/)
velDop[i]=-1;
coreDE0[i]=-1;
coreDE1[i]=-1;
coreTS[i]=0;
}
return;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment