Skip to content

Commit

Permalink
Merge pull request #23673 from an15ms157/master
Browse files Browse the repository at this point in the history
ML4PCM: different configs for Added Signal
  • Loading branch information
alibuild authored Sep 26, 2024
2 parents 4659739 + 37a17e3 commit 5090dec
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion PWGGA/GammaConv/AliAnalysisTaskGammaConvV1.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -4004,7 +4004,7 @@ void AliAnalysisTaskGammaConvV1::CalculatePi0Candidates(){

if((fiMesonCut->MesonIsSelected(pi0cand,kTRUE,fiEventCut->GetEtaShift()))){

if (fDoTreeForMesonML){
if (fDoTreeForMesonML){ // MesonML fill

AliPIDResponse* pidResonse = ((AliConversionPhotonCuts*)fV0Reader->GetConversionCuts())->GetPIDResponse();

Expand Down
2 changes: 1 addition & 1 deletion PWGGA/GammaConv/AliAnalysisTaskGammaConvV1.h
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ class AliAnalysisTaskGammaConvV1 : public AliAnalysisTaskSE {

AliAnalysisTaskGammaConvV1(const AliAnalysisTaskGammaConvV1&); // Prevent copy-construction
AliAnalysisTaskGammaConvV1 &operator=(const AliAnalysisTaskGammaConvV1&); // Prevent assignment
ClassDef(AliAnalysisTaskGammaConvV1, 64);
ClassDef(AliAnalysisTaskGammaConvV1, 65);
};

#endif
40 changes: 20 additions & 20 deletions PWGGA/GammaConv/macros/AddTask_GammaConvV1_PbPb.C
Original file line number Diff line number Diff line change
Expand Up @@ -4129,35 +4129,35 @@ void AddTask_GammaConvV1_PbPb(
cuts.AddCutPCM("13530e03", "00200008100000001100400000", "0152103500000000"); // 30-50%
cuts.AddCutPCM("15910e03", "00200008100000001100400000", "0152103500000000"); // 50-90%

} else if (trainConfig == 3004){ // Open cuts with BG copy a3003
cuts.AddCutPCM("10130e03", "00200008100000001100400000", "0152103500000000"); // 0-10%
cuts.AddCutPCM("11310e03", "00200008100000001100400000", "0152103500000000"); // 10-30%
cuts.AddCutPCM("13530e03", "00200008100000001100400000", "0152103500000000"); // 30-50%
cuts.AddCutPCM("15910e03", "00200008100000001100400000", "0152103500000000"); // 50-90%
} else if (trainConfig == 3004){ // Open cuts with BG and Pion cut
cuts.AddCutPCM("10130e03", "002000081b7700001100400000", "0152103500000000"); // 0-10%
cuts.AddCutPCM("11310e03", "002000081b7700001100400000", "0152103500000000"); // 10-30%
cuts.AddCutPCM("13530e03", "002000081b7700001100400000", "0152103500000000"); // 30-50%
cuts.AddCutPCM("15910e03", "002000081b7700001100400000", "0152103500000000"); // 50-90%

} else if (trainConfig == 3005){ // Open cuts with BG + Added Sig
cuts.AddCutPCM("10130e23", "00200008100000001100400000", "0152103500000000"); // 0-10%
cuts.AddCutPCM("11310023", "00200008100000001100400000", "0152103500000000"); // 10-30%
cuts.AddCutPCM("13530023", "00200008100000001100400000", "0152103500000000"); // 30-50%
cuts.AddCutPCM("15910023", "00200008100000001100400000", "0152103500000000"); // 50-90%

} else if (trainConfig == 3006){ // Open cuts with BG + Added Sig copy of a3005
cuts.AddCutPCM("10130e23", "00200008100000001100400000", "0152103500000000"); // 0-10%
cuts.AddCutPCM("11310023", "00200008100000001100400000", "0152103500000000"); // 10-30%
cuts.AddCutPCM("13530023", "00200008100000001100400000", "0152103500000000"); // 30-50%
cuts.AddCutPCM("15910023", "00200008100000001100400000", "0152103500000000"); // 50-90%
cuts.AddCutPCM("11310e23", "00200008100000001100400000", "0152103500000000"); // 10-30%
cuts.AddCutPCM("13530e23", "00200008100000001100400000", "0152103500000000"); // 30-50%
cuts.AddCutPCM("15910e23", "00200008100000001100400000", "0152103500000000"); // 50-90%

} else if (trainConfig == 3007){ // Open cuts with BG + Added Sig copy a1
} else if (trainConfig == 3006){ // Open cuts with BG + Added Sig
cuts.AddCutPCM("10130023", "00200008100000001100400000", "0152103500000000"); // 0-10%
cuts.AddCutPCM("11310023", "00200008100000001100400000", "0152103500000000"); // 10-30%
cuts.AddCutPCM("13530023", "00200008100000001100400000", "0152103500000000"); // 30-50%
cuts.AddCutPCM("15910023", "00200008100000001100400000", "0152103500000000"); // 50-90%

} else if (trainConfig == 3008){ // Open cuts with BG + Added Sig copy a3007
cuts.AddCutPCM("10130023", "00200008100000001100400000", "0152103500000000"); // 0-10%
cuts.AddCutPCM("11310023", "00200008100000001100400000", "0152103500000000"); // 10-30%
cuts.AddCutPCM("13530023", "00200008100000001100400000", "0152103500000000"); // 30-50%
cuts.AddCutPCM("15910023", "00200008100000001100400000", "0152103500000000"); // 50-90%
} else if (trainConfig == 3007){ // Open cuts with BG + Addeed Sig
cuts.AddCutPCM("10130e53", "00200008100000001100400000", "0152103500000000"); // 0-10%
cuts.AddCutPCM("11310e53", "00200008100000001100400000", "0152103500000000"); // 10-30%
cuts.AddCutPCM("13530e53", "00200008100000001100400000", "0152103500000000"); // 30-50%
cuts.AddCutPCM("15910e53", "00200008100000001100400000", "0152103500000000"); // 50-90%
//
} else if (trainConfig == 3008){ // Open cuts with BG + Added Sig
cuts.AddCutPCM("10130053", "00200008100000001100400000", "0152103500000000"); // 0-10%
cuts.AddCutPCM("11310053", "00200008100000001100400000", "0152103500000000"); // 10-30%
cuts.AddCutPCM("13530053", "00200008100000001100400000", "0152103500000000"); // 30-50%
cuts.AddCutPCM("15910053", "00200008100000001100400000", "0152103500000000"); // 50-90%

} else {
Error(Form("GammaConvV1_%i",trainConfig), "wrong trainConfig variable no cuts have been specified for the configuration");
Expand Down

0 comments on commit 5090dec

Please sign in to comment.