<commit_before>//#include "AliDielectron.h"
//#include "PWGDQ/dielectron/macrosLMEE/LMEECutLib.C"
#include<string>

void      InitHistograms(AliDielectron *die, Bool_t doPairing);
void      InitCF(AliDielectron* die, Int_t cutDefinition);
TVectorD *BinsToVector(Int_t nbins, Double_t min, Double_t max);
TVectorD *GetVector(Int_t var);
enum {kMee=0, kMee500, kPtee, kP2D, kRuns, kPhiV, kOpAng, kOpAng2, kEta2D, kEta3D, kSigmaEle, kSigmaOther, kTPCdEdx, kCent, kPhi2D};

//TString names=("all");
TString names=("TTreeCuts");
//TString names=("all;electrons");
TObjArray *arrNames = names.Tokenize(";");
const Int_t nDie = arrNames->GetEntries();
Bool_t MCenabled = kTRUE; //Needed for LMEEcutlib
Bool_t isQAtask =  kTRUE;
Int_t selectedPID = -1;
Bool_t pairCuts = kTRUE;

AliDielectron* Config_acapon(TString cutDefinition, Bool_t hasMC=kFALSE, Bool_t isESD=kFALSE, Bool_t SDDstatus =kFALSE, Bool_t doPairing = kTRUE, Bool_t doMixing = kTRUE)
{

    //Setup the instance of AliDielectron
    LMEECutLib*  LMcutlib = new LMEECutLib(SDDstatus);

    //Task name
    TString name = cutDefinition;<commit_msg>Switched to QA cuts<commit_after>//#include "AliDielectron.h"
//#include "PWGDQ/dielectron/macrosLMEE/LMEECutLib.C"
#include<string>

void      InitHistograms(AliDielectron *die, Bool_t doPairing);
void      InitCF(AliDielectron* die, Int_t cutDefinition);
TVectorD *BinsToVector(Int_t nbins, Double_t min, Double_t max);
TVectorD *GetVector(Int_t var);
enum {kMee=0, kMee500, kPtee, kP2D, kRuns, kPhiV, kOpAng, kOpAng2, kEta2D, kEta3D, kSigmaEle, kSigmaOther, kTPCdEdx, kCent, kPhi2D};

//TString names=("all");
//TString names=("TTreeCuts");
TString names=("all;electrons");
TObjArray *arrNames = names.Tokenize(";");
const Int_t nDie = arrNames->GetEntries();
Bool_t MCenabled = kTRUE; //Needed for LMEEcutlib
Bool_t isQAtask =  kTRUE;
Int_t selectedPID = -1;
Bool_t pairCuts = kTRUE;

AliDielectron* Config_acapon(TString cutDefinition, Bool_t hasMC=kFALSE, Bool_t isESD=kFALSE, Bool_t SDDstatus =kFALSE, Bool_t doPairing = kTRUE, Bool_t doMixing = kTRUE)
{

    //Setup the instance of AliDielectron
    LMEECutLib*  LMcutlib = new LMEECutLib(SDDstatus);

    //Task name
    TString name = cutDefinition;
{'fraction_non_alphanumeric': 0.12014453477868112, 'fraction_numerical': 0.009033423667570008, 'mean_word_length': 5.671686746987952, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3214499', 'n_tokens_mistral': 916, 'n_tokens_neox': 882, 'n_words': 200}