Skip to content

Commit ae93cc7

Browse files
authored
Add files via upload
Renamed the structure and switches
1 parent 0e5b9d9 commit ae93cc7

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

PWGCF/TwoParticleCorrelations/Tasks/flowDecorrelation.cxx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ using namespace o2::framework::expressions;
6666
// template for labelled array
6767
static constexpr float LongArrayFloat[3][20] = {{1.1, 1.2, 1.3, -1.1, -1.2, -1.3, 1.1, 1.2, 1.3, -1.1, -1.2, -1.3, 1.1, 1.2, 1.3, -1.1, -1.2, -1.3, 1.1, 1.2}, {2.1, 2.2, 2.3, -2.1, -2.2, -2.3, 1.1, 1.2, 1.3, -1.1, -1.2, -1.3, 1.1, 1.2, 1.3, -1.1, -1.2, -1.3, 1.1, 1.2}, {3.1, 3.2, 3.3, -3.1, -3.2, -3.3, 1.1, 1.2, 1.3, -1.1, -1.2, -1.3, 1.1, 1.2, 1.3, -1.1, -1.2, -1.3, 1.1, 1.2}};
6868

69-
struct flowDecorrelation {
69+
struct FlowDecorrelation {
7070
Service<ccdb::BasicCCDBManager> ccdb;
7171
o2::aod::ITSResponse itsResponse;
7272

@@ -905,7 +905,7 @@ struct flowDecorrelation {
905905
const auto& ft0 = collision.foundFT0();
906906
fillCorrelationsTPCFT0<CorrelationContainer::kCFStepReconstructed>(tracks, ft0, collision.posZ(), SameEvent, kFT0A, cent, weightCent);
907907
}
908-
PROCESS_SWITCH(LongRangeDihadronCor, processSameTpcFt0a, "Process same event for TPC-FT0 correlation", true);
908+
PROCESS_SWITCH(FlowDecorrelation, processSameTpcFt0a, "Process same event for TPC-FT0 correlation", true);
909909

910910
// the process for filling the mixed events
911911
void processMixedTpcFt0a(FilteredCollisions const& collisions, FilteredTracks const& tracks, aod::FT0s const&, aod::BCsWithTimestamps const&)
@@ -969,7 +969,7 @@ struct flowDecorrelation {
969969
fillCorrelationsTPCFT0<CorrelationContainer::kCFStepReconstructed>(tracks1, ft0, collision1.posZ(), MixedEvent, kFT0A, cent1, eventWeight * weightCent);
970970
}
971971
}
972-
PROCESS_SWITCH(LongRangeDihadronCor, processMixedTpcFt0a, "Process mixed events for TPC-FT0A correlation", true);
972+
PROCESS_SWITCH(FlowDecorrelation, processMixedTpcFt0a, "Process mixed events for TPC-FT0A correlation", true);
973973

974974
void processSameTpcFt0c(FilteredCollisions::iterator const& collision, FilteredTracks const& tracks, aod::FT0s const&, aod::BCsWithTimestamps const&)
975975
{
@@ -1010,7 +1010,7 @@ struct flowDecorrelation {
10101010
const auto& ft0 = collision.foundFT0();
10111011
fillCorrelationsTPCFT0<CorrelationContainer::kCFStepReconstructed>(tracks, ft0, collision.posZ(), SameEvent, kFT0C, cent, weightCent);
10121012
}
1013-
PROCESS_SWITCH(LongRangeDihadronCor, processSameTpcFt0c, "Process same event for TPC-FT0C correlation", false);
1013+
PROCESS_SWITCH(FlowDecorrelation, processSameTpcFt0c, "Process same event for TPC-FT0C correlation", false);
10141014

10151015
// the process for filling the mixed events
10161016
void processMixedTpcFt0c(FilteredCollisions const& collisions, FilteredTracks const& tracks, aod::FT0s const&, aod::BCsWithTimestamps const&)
@@ -1074,7 +1074,7 @@ struct flowDecorrelation {
10741074
fillCorrelationsTPCFT0<CorrelationContainer::kCFStepReconstructed>(tracks1, ft0, collision1.posZ(), MixedEvent, kFT0C, cent1, eventWeight * weightCent);
10751075
}
10761076
}
1077-
PROCESS_SWITCH(LongRangeDihadronCor, processMixedTpcFt0c, "Process mixed events for TPC-FT0C correlation", false);
1077+
PROCESS_SWITCH(FlowDecorrelation, processMixedTpcFt0c, "Process mixed events for TPC-FT0C correlation", false);
10781078

10791079
void processSameFt0aFt0c(FilteredCollisions::iterator const& collision, FilteredTracks const& tracks, aod::FT0s const&, aod::BCsWithTimestamps const&)
10801080
{
@@ -1106,7 +1106,7 @@ struct flowDecorrelation {
11061106
const auto& ft0 = collision.foundFT0();
11071107
fillCorrelationsFT0AFT0C<CorrelationContainer::kCFStepReconstructed>(ft0, ft0, collision.posZ(), SameEvent, weightCent);
11081108
}
1109-
PROCESS_SWITCH(LongRangeDihadronCor, processSameFt0aFt0c, "Process same event for FT0A-FT0C correlation", false);
1109+
PROCESS_SWITCH(FlowDecorrelation, processSameFt0aFt0c, "Process same event for FT0A-FT0C correlation", false);
11101110

11111111
// the process for filling the mixed events
11121112
void processMixedFt0aFt0c(FilteredCollisions const& collisions, FilteredTracks const& tracks, aod::FT0s const&, aod::BCsWithTimestamps const&)
@@ -1167,12 +1167,12 @@ struct flowDecorrelation {
11671167
fillCorrelationsFT0AFT0C<CorrelationContainer::kCFStepReconstructed>(ft0Col1, ft0Col2, collision1.posZ(), MixedEvent, eventWeight * weightCent);
11681168
}
11691169
}
1170-
PROCESS_SWITCH(LongRangeDihadronCor, processMixedFt0aFt0c, "Process mixed events for FT0A-FT0C correlation", false);
1170+
PROCESS_SWITCH(FlowDecorrelation, processMixedFt0aFt0c, "Process mixed events for FT0A-FT0C correlation", false);
11711171
};
11721172

11731173
WorkflowSpec defineDataProcessing(ConfigContext const& cfgc)
11741174
{
11751175
return WorkflowSpec{
1176-
adaptAnalysisTask<LongRangeDihadronCor>(cfgc),
1176+
adaptAnalysisTask<FlowDecorrelation>(cfgc),
11771177
};
11781178
}

0 commit comments

Comments
 (0)