Skip to content

Commit 42f72b8

Browse files
authored
Merge pull request #20 from alibuild/alibot-cleanup-16307
Please consider the following formatting changes to #16307
2 parents 6a40261 + 7a5ff14 commit 42f72b8

1 file changed

Lines changed: 11 additions & 10 deletions

File tree

PWGUD/Tasks/FwdMuonsUPC.cxx

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,19 @@
1616

1717
/// \author Andrea Giovanni Riffero <andrea.giovanni.riffero@cern.ch>
1818

19-
#include <vector>
20-
#include <unordered_map>
19+
#include "PWGUD/DataModel/UDTables.h"
2120

22-
#include "Framework/runDataProcessing.h"
23-
#include "Framework/O2DatabasePDGPlugin.h"
24-
#include "Framework/AnalysisTask.h"
2521
#include "Framework/AnalysisDataModel.h"
26-
#include "PWGUD/DataModel/UDTables.h"
22+
#include "Framework/AnalysisTask.h"
23+
#include "Framework/O2DatabasePDGPlugin.h"
24+
#include "Framework/runDataProcessing.h"
2725

2826
#include "TLorentzVector.h"
2927
#include "TRandom3.h"
3028

29+
#include <unordered_map>
30+
#include <vector>
31+
3132
// table for saving tree with info on data
3233
namespace dimu
3334
{
@@ -410,14 +411,14 @@ struct FwdMuonsUPC {
410411
}
411412
}
412413

413-
//select events with exactly 2 forward tracks
414+
// select events with exactly 2 forward tracks
414415
if (cand.numContrib() != 2) {
415416
return;
416417
}
417418

418419
// select opposite charge events only
419420
if (cand.netCharge() != 0) {
420-
//registry.fill(HIST("hSameSign"), cand.numContrib());
421+
// registry.fill(HIST("hSameSign"), cand.numContrib());
421422
return;
422423
}
423424

@@ -539,7 +540,7 @@ struct FwdMuonsUPC {
539540
{
540541

541542
// check that all pairs are mu+mu-
542-
if (std::abs(McPart1.pdgCode()) != kMuonPDG || std::abs(McPart2.pdgCode()) != kMuonPDG){
543+
if (std::abs(McPart1.pdgCode()) != kMuonPDG || std::abs(McPart2.pdgCode()) != kMuonPDG) {
543544
LOGF(debug, "PDG codes: %d | %d", McPart1.pdgCode(), McPart2.pdgCode());
544545
return;
545546
}
@@ -619,7 +620,7 @@ struct FwdMuonsUPC {
619620

620621
// select opposite charge events only
621622
if (cand.netCharge() != 0) {
622-
//registry.fill(HIST("hSameSign"), cand.numContrib());
623+
// registry.fill(HIST("hSameSign"), cand.numContrib());
623624
return;
624625
}
625626

0 commit comments

Comments
 (0)