void AliAnalysisTaskToyModel::Run(Int_t nEvents) {\r
// Main loop\r
// Called for each event\r
- Double_t v_charge;\r
- Double_t v_y;\r
- Double_t v_eta;\r
- Double_t v_phi;\r
- Double_t v_p[3];\r
- Double_t v_pt;\r
- Double_t v_E;\r
+ Double_t v_charge = 0;\r
+ Double_t v_y = 0.0;\r
+ Double_t v_eta = 0.0;\r
+ Double_t v_phi = 0.0;\r
+ Double_t v_p[3] = {0.,0.,0.};\r
+ Double_t v_pt = 0.0;\r
+ Double_t v_E = 0.0;\r
Bool_t isPion = kFALSE, isKaon = kFALSE, isProton = kFALSE;\r
\r
if(fUseAllCharges) {\r
}//generated negative particle loop\r
\r
//Dynamical correlations\r
- Double_t v_chargePrime;\r
- Double_t v_yPrime;\r
- Double_t v_etaPrime;\r
- Double_t v_phiPrime;\r
- Double_t v_pPrime[3];\r
- Double_t v_ptPrime;\r
- Double_t v_EPrime;\r
+ Double_t v_chargePrime = 0;\r
+ Double_t v_yPrime = 0.0;\r
+ Double_t v_etaPrime = 0.0;\r
+ Double_t v_phiPrime = 0.0;\r
+ Double_t v_pPrime[3] = {0.,0.,0.};\r
+ Double_t v_ptPrime = 0.0;\r
+ Double_t v_EPrime = 0.0;\r
Int_t nGeneratedPositiveDynamicalCorrelations = 0;\r
Int_t nGeneratedNegativeDynamicalCorrelations = 0;\r
//Generate "correlated" particles \r