fESDTreeName("esdTree"),
fAmgr(0)
{
+ //ctor
+ // connects to alien and creates an analysis manager
+
fTimer.Reset() ;
TString token = gSystem->Getenv("GRID_TOKEN") ;
fESDTreeName(""),
fAmgr(0x0)
{
-
+ //copy ctor
+ // connects to alien and creates an analysis manager
+
fESDTreeName = ag.fESDTreeName ;
TString token = gSystem->Getenv("GRID_TOKEN") ;
//______________________________________________________________________________
void AliAnalysisGoodies::Help() const
{
+ // helper
+ // display all available utilities
AliInfo("Analysis utilities:\n") ;
printf(" *** Alien2Local : copy files ESD files listed in an xml collection from AliEn catalog to local storage and creates a local xml collection \n") ;
printf(" usage: Alien2Local(in, out)\n") ;
char filename[20] ;
if (opt == "AOD" ) {
- if ( fAmgr->GetEventHandler() == 0x0) {
+ if ( fAmgr->GetOutputEventHandler() == 0x0) {
AliAODHandler * aodHandler = new AliAODHandler() ;
aodHandler->SetOutputFileName(Form("%s_0.root",task->GetName())) ;
- fAmgr->SetEventHandler(aodHandler) ;
+ fAmgr->SetOutputEventHandler(aodHandler) ;
}
sprintf(filename, "default") ;
}