Skip to content

Commit 49a243c

Browse files
remove useless code
1 parent 74ca25c commit 49a243c

1 file changed

Lines changed: 3 additions & 24 deletions

File tree

PWGHF/HFC/Tasks/taskCharmHadronsFemtoDream.cxx

Lines changed: 3 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,6 @@ struct HfTaskCharmHadronsFemtoDream {
4747
NegativeCharge = -1
4848
};
4949

50-
enum PairSign {
51-
PairNotDefined = 0,
52-
LikeSignPair = 1,
53-
UnLikeSignPair = 2
54-
};
55-
5650
/// Binning configurables
5751
ConfigurableAxis bin4Dkstar{"bin4Dkstar", {1500, 0., 6.}, "binning kstar for the 4Dimensional plot: k* vs multiplicity vs multiplicity percentile vs mT (set <<Confuse4D>> to true in order to use)"};
5852
ConfigurableAxis bin4DMult{"bin4Dmult", {VARIABLE_WIDTH, 0.0f, 4.0f, 8.0f, 12.0f, 16.0f, 20.0f, 24.0f, 28.0f, 32.0f, 36.0f, 40.0f, 44.0f, 48.0f, 52.0f, 56.0f, 60.0f, 64.0f, 68.0f, 72.0f, 76.0f, 80.0f, 84.0f, 88.0f, 92.0f, 96.0f, 100.0f, 200.0f}, "multiplicity Binning for the 4Dimensional plot: k* vs multiplicity vs multiplicity percentile vs mT (set <<Confuse4D>> to true in order to use)"};
@@ -195,9 +189,9 @@ struct HfTaskCharmHadronsFemtoDream {
195189

196190
SliceCache cache;
197191
Preslice<aod::FDParticles> perCol = aod::femtodreamparticle::fdCollisionId;
198-
Produces<o2::aod::FDResultsHFCharm> fillFemtoResultCharm;
199-
Produces<o2::aod::FDResultsHFTrk> fillFemtoResultTrk;
200-
Produces<o2::aod::FDResultsHFColl> fillFemtoResultColl;
192+
Produces<o2::aod::FDResultsCharm> fillFemtoResultCharm;
193+
Produces<o2::aod::FDResultsTrk> fillFemtoResultTrk;
194+
Produces<o2::aod::FDResultsColl> fillFemtoResultColl;
201195

202196
void init(InitContext& /*context*/)
203197
{
@@ -273,12 +267,6 @@ struct HfTaskCharmHadronsFemtoDream {
273267
chargeTrack = NegativeCharge;
274268
}
275269

276-
int pairSign = 0;
277-
if (chargeTrack == p2.charge()) {
278-
pairSign = LikeSignPair;
279-
} else {
280-
pairSign = UnLikeSignPair;
281-
}
282270

283271
float kstar = FemtoDreamMath::getkstar(p1, massOne, p2, massTwo);
284272
if (kstar > highkstarCut) {
@@ -351,8 +339,6 @@ struct HfTaskCharmHadronsFemtoDream {
351339
{
352340

353341
// Mixed events that contain the pair of interest
354-
processType = 2; // for mixed event
355-
356342
Partition<CollisionType> PartitionMaskedCol1 = (aod::femtodreamcollision::bitmaskTrackOne & BitMask) == BitMask;
357343
PartitionMaskedCol1.bindTable(cols);
358344

@@ -388,13 +374,6 @@ struct HfTaskCharmHadronsFemtoDream {
388374
chargeTrack = NegativeCharge;
389375
}
390376

391-
int pairSign = 0;
392-
if (chargeTrack == p2.charge()) {
393-
pairSign = LikeSignPair;
394-
} else {
395-
pairSign = UnLikeSignPair;
396-
}
397-
398377
float kstar = FemtoDreamMath::getkstar(p1, massOne, p2, massTwo);
399378
if (kstar > highkstarCut) {
400379
continue;

0 commit comments

Comments
 (0)