Skip to content

Commit 260e694

Browse files
authored
Please consider the following formatting changes (#456)
1 parent da7bb0b commit 260e694

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

Common/TableProducer/PID/pidTPCModule.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ class pidTPCModule
489489
}
490490
auto expSignal = response->GetExpectedSignal(trk, pid);
491491
auto expSigma = trk.has_collision() ? response->GetExpectedSigmaAtMultiplicity(multTPC, trk, pid) : 0.07 * expSignal; // use default sigma value of 7% if no collision information to estimate resolution
492-
if (expSignal < 0. || expSigma < 0.) { // skip if expected signal invalid
492+
if (expSignal < 0. || expSigma < 0.) { // skip if expected signal invalid
493493
if (flagFull)
494494
tableFull(-999.f, -999.f);
495495
if (flagTiny)
@@ -532,7 +532,7 @@ class pidTPCModule
532532
template <typename TCCDB, typename TCCDBApi, typename TBCs, typename TCollisions, typename TTracks, typename TTracksQA, typename TProducts>
533533
void process(TCCDB& ccdb, TCCDBApi& ccdbApi, TBCs const& bcs, TCollisions const& cols, TTracks const& tracks, TTracksQA const& tracksQA, TProducts& products)
534534
{
535-
if(tracks.size()==0){
535+
if (tracks.size() == 0) {
536536
return; // empty protection
537537
}
538538
auto trackiterator = tracks.begin();
@@ -612,8 +612,8 @@ class pidTPCModule
612612
// get the TPC signal to be used in the PID
613613
float tpcSignalToEvaluatePID = trk.tpcSignal();
614614

615-
int multTPC = 0;
616-
if(trk.has_collision()){
615+
int multTPC = 0;
616+
if (trk.has_collision()) {
617617
multTPC = pidmults[trk.collisionId()];
618618
}
619619

@@ -679,7 +679,7 @@ class pidTPCModule
679679
// bypass TPC signal in case TracksQA information present
680680
if constexpr (soa::is_table<TTracksQA>) {
681681
tpcSignalToEvaluatePID = -999.f;
682-
if(indexTrack2TrackQA[trk.globalIndex()]!=-1){
682+
if (indexTrack2TrackQA[trk.globalIndex()] != -1) {
683683
auto trackQA = tracksQA.rawIteratorAt(indexTrack2TrackQA[trk.globalIndex()]);
684684
tpcSignalToEvaluatePID = trackQA.tpcdEdxNorm();
685685
}

Common/TableProducer/PID/pidTPCService.cxx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ struct pidTpcService {
8888
pidTPC.process(ccdb, ccdbApi, bcs, collisions, tracks, tracksQA, products);
8989
}
9090

91-
9291
void processTracksMC(soa::Join<aod::Collisions, aod::EvSels> const& collisions, soa::Join<aod::Tracks, aod::TracksExtra, aod::McTrackLabels> const& tracks, aod::BCsWithTimestamps const& bcs, aod::McParticles const&)
9392
{
9493
pidTPC.process(ccdb, ccdbApi, bcs, collisions, tracks, static_cast<TObject*>(nullptr), products);

0 commit comments

Comments
 (0)