AliPhysics  5b5fbb3 (5b5fbb3)
AliAnalysisTaskDummy.cxx
Go to the documentation of this file.
1 /**************************************************************************
2  * Copyright(c) 1998-2015, ALICE Experiment at CERN, All rights reserved. *
3  * *
4  * Author: The ALICE Off-line Project. *
5  * Contributors are mentioned in the code where appropriate. *
6  * *
7  * Permission to use, copy, modify and distribute this software and its *
8  * documentation strictly for non-commercial purposes is hereby granted *
9  * without fee, provided that the above copyright notice appears in all *
10  * copies and that both the copyright notice and this permission notice *
11  * appear in the supporting documentation. The authors make no claims *
12  * about the suitability of this software for any purpose. It is *
13  * provided "as is" without express or implied warranty. *
14  **************************************************************************/
15 #include <iostream>
16 #include <TString.h>
17 
18 #include "AliESDInputHandler.h"
19 #include "AliAnalysisTaskDummy.h"
20 
21 ClassImp(AliAnalysisTaskDummy)
22 
24  fDebugLevel(0)
25 {
26 
27 }
28 
30 }
31 
33  TString filename = "";
34  AliESDInputHandler *inh = dynamic_cast<AliESDInputHandler *>(fInputHandler);
35  if(inh) filename = inh->GetInputFileName();
36  if(fDebugLevel){
37  std::cout << "Running User exec from task AliAnalysisTaskDummy on ESDtree from file" << filename << std::endl;
38  }
39 }
const char * filename
Definition: TestFCM.C:1
Int_t fDebugLevel
Debug level.
Dummy analysis task, only trying to read data - no memory allocation. For file corruption checks...
Int_t fDebugLevel
const char Option_t
Definition: External.C:48
virtual void UserExec(Option_t *)