Skip to content

Commit

Permalink
Do not init Grid in AODtrainRawAndMC if unneeded
Browse files Browse the repository at this point in the history
  • Loading branch information
Dario Berzano committed Jun 5, 2018
1 parent 5a62d85 commit a76e163
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AOD/main_AODtrainRawAndMC.C
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ void main_AODtrainRawAndMC(Int_t merge=0, Bool_t isMC=kFALSE)

Bool_t needGrid=kFALSE;
if(merge || doCDBconnect) needGrid=kTRUE;
if(isMC && gSystem->Getenv("OCDB_PATH")) needGrid=kFALSE;
if(gSystem->Getenv("OCDB_PATH")) needGrid=kFALSE;

if (needGrid) {
TGrid::Connect("alien://");
Expand Down

0 comments on commit a76e163

Please sign in to comment.