@@ -126,10 +126,10 @@ struct OnTheFlyTofPid {
126126
127127 // for handling basic QA histograms if requested
128128 HistogramRegistry histos{" Histos" , {}, OutputObjHandlingPolicy::AnalysisObject};
129- static constexpr int kParticles = 5 ;
130- std::string particle_names1[kParticles ] = {" #it{e}" , " #it{#mu}" , " #it{#pi}" , " #it{K}" , " #it{p}" };
131- std::string particle_names2[kParticles ] = {" Elec" , " Muon" , " Pion" , " Kaon" , " Prot" };
132- static constexpr int kIdPion = 2 ;
129+ static constexpr int kParticles = 5 ;
130+ std::string particle_names1[kParticles ] = {" #it{e}" , " #it{#mu}" , " #it{#pi}" , " #it{K}" , " #it{p}" };
131+ std::string particle_names2[kParticles ] = {" Elec" , " Muon" , " Pion" , " Kaon" , " Prot" };
132+ static constexpr int kIdPion = 2 ;
133133
134134 void init (o2::framework::InitContext&)
135135 {
@@ -498,8 +498,9 @@ struct OnTheFlyTofPid {
498498
499499 float xPv = -100 , trackLengthInnerTOF = -1 , trackLengthOuterTOF = -1 ;
500500 static constexpr float xThreshold = -99 .f ; // Threshold to consider a good propagation of the track
501- if (o2track.propagateToDCA (mcPvVtx, simConfig.dBz )){
502- xPv = o2track.getX ();}
501+ if (o2track.propagateToDCA (mcPvVtx, simConfig.dBz )) {
502+ xPv = o2track.getX ();
503+ }
503504 if (xPv > xThreshold) {
504505 trackLengthInnerTOF = trackLength (o2track, simConfig.innerTOFRadius , simConfig.dBz );
505506 trackLengthOuterTOF = trackLength (o2track, simConfig.outerTOFRadius , simConfig.dBz );
@@ -523,8 +524,9 @@ struct OnTheFlyTofPid {
523524 // and the (imperfect!) reconstructed track parametrizations
524525 float trackLengthRecoInnerTOF = -1 , trackLengthRecoOuterTOF = -1 ;
525526 auto recoTrack = getTrackParCov (track);
526- if (recoTrack.propagateToDCA (pvVtx, simConfig.dBz )){
527- xPv = recoTrack.getX ();}
527+ if (recoTrack.propagateToDCA (pvVtx, simConfig.dBz )) {
528+ xPv = recoTrack.getX ();
529+ }
528530 if (xPv > xThreshold) {
529531 trackLengthRecoInnerTOF = trackLength (recoTrack, simConfig.innerTOFRadius , simConfig.dBz );
530532 trackLengthRecoOuterTOF = trackLength (recoTrack, simConfig.outerTOFRadius , simConfig.dBz );
0 commit comments