Skip to content

Commit 9bdb48d

Browse files
committed
Cleanup comments and unused variables
1 parent cb13ef9 commit 9bdb48d

1 file changed

Lines changed: 0 additions & 33 deletions

File tree

PWGDQ/Tasks/taskJPsiMu.cxx

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,6 @@ DECLARE_SOA_TABLE(MuonTrackCuts, "AOD", "DQANAMUONCUTSA", dqanalysisflags::IsMuo
6464
// Declarations of various short names
6565
using MyEvents = soa::Join<aod::ReducedEvents, aod::ReducedEventsExtended>;
6666
using MyEventsSelected = soa::Join<aod::ReducedEvents, aod::ReducedEventsExtended, aod::EventCuts>;
67-
using MyEventsVtxCov = soa::Join<aod::ReducedEvents, aod::ReducedEventsExtended, aod::ReducedEventsVtxCov>;
68-
using MyEventsVtxCovSelected = soa::Join<aod::ReducedEvents, aod::ReducedEventsExtended, aod::ReducedEventsVtxCov, aod::EventCuts>;
6967

7068
using MyPairCandidatesSelected = soa::Join<aod::Dimuons, aod::DimuonsExtra>;
7169
using MyMuonTracks = soa::Join<aod::ReducedMuons, aod::ReducedMuonsExtra>;
@@ -106,9 +104,6 @@ struct DqJPsiMuonCorrelations {
106104
float* fValuesMuon;
107105

108106
HistogramRegistry registry{"registry"};
109-
110-
// int nMuons;
111-
// int nEvents;
112107

113108
void init(o2::framework::InitContext&)
114109
{
@@ -120,9 +115,6 @@ struct DqJPsiMuonCorrelations {
120115
fValuesMuon = new float[VarManager::kNVars];
121116
VarManager::SetDefaultVarNames();
122117

123-
// nMuons = 0;
124-
// nEvents = 0;
125-
126118
registry.add("h2dDimuonPtInvVsInvMass", "h2dDimuonPtInvVsInvMass", kTH2D, {axisInvMass, axisPt});
127119
registry.add("h2dDimuonMuonDeltaEtaVsMuonPtSignal", "h2dDimuonMuonDeltaEtaVsMuonPtSignal", kTH2D, {axisDeltaEta, axisPt});
128120
registry.add("h2dDimuonMuonDeltaPhiVsMuonPtSignal", "h2dDimuonMuonDeltaPhiVsMuonPtSignal", kTH2D, {axisDeltaPhi, axisPt});
@@ -144,31 +136,6 @@ struct DqJPsiMuonCorrelations {
144136
return;
145137
}
146138

147-
// if (dileptons.size() > 0) {
148-
// LOG(info) << "Processing event " << event.globalIndex() << " with " << muons.size() << " muons and " << dileptons.size() << " dileptons" << std::endl;
149-
// LOG(info) << "Dilepton leg indexes: ";
150-
// for (auto& dilepton : dileptons) {
151-
// LOG(info) << dilepton.index0Id() << " and " << dilepton.index1Id() << " ";
152-
// }
153-
// LOG(info) << std::endl;
154-
// LOG(info) << "Muon indexes: ";
155-
// for (auto& muon : muons) {
156-
// LOG(info) << muon.reducedmuonId() << " ";
157-
// }
158-
// LOG(info) << std::endl;
159-
// }
160-
161-
// for (auto& muon : muons) {
162-
// // VarManager::FillTrack<TMuonFillMap>(muon, fValuesMuon);
163-
// if (!muon.isMuonSelected_raw()) {
164-
// continue;
165-
// }
166-
// nMuons++;
167-
// LOG(info) << "Total number of muons processed: " << nMuons << std::endl;
168-
// }
169-
// nEvents++;
170-
// LOG(info) << "Total number of events processed: " << nEvents << std::endl;
171-
172139
if (dileptons.size() > 0) {
173140

174141
for (auto& dilepton : dileptons) {

0 commit comments

Comments
 (0)