![]() |
AliRoot Core
edcc906 (edcc906)
|
Read ESDs files and dump cluster and cell info. More...
#include <Riostream.h>
#include <TFile.h>
#include <TChain.h>
#include <TParticle.h>
#include <TNtuple.h>
#include <TCanvas.h>
#include <TObjArray.h>
#include <TSystem.h>
#include <TString.h>
#include <TH1F.h>
#include <TVector.h>
#include <TRefArray.h>
#include <TArrayS.h>
#include "AliRunLoader.h"
#include "AliStack.h"
#include "AliESDEvent.h"
#include "AliESDVertex.h"
#include "AliESDCaloCluster.h"
#include "AliESDCaloCells.h"
#include "AliPID.h"
#include "AliLog.h"
Go to the source code of this file.
Functions | |
TChain * | AliReadESDfromdisk (const UInt_t eventsToRead, const TString dirName, const TString esdTreeName, const char *pattern) |
TChain * | AliReadESD (const UInt_t eventsToRead, const TString dirName, const TString esdTreeName, const char *pattern) |
Read AliESDs files and return a Chain of events. More... | |
void | TestESDCaloClusterAndCell (TString det="EMCAL", const UInt_t eventsToProcess=5, TString dirName="./", const TString esdTreeName="esdTree", const char *pattern=".") |
Read ESDs files and dump cluster and cell info.
Read ESDs files and dump cluster and cell info. Note: TestESD.C is more complete and up to date but only reads a single file.
Definition in file TestESDCaloClusterAndCell.C.
TChain* AliReadESD | ( | const UInt_t | eventsToRead, |
const TString | dirName, | ||
const TString | esdTreeName, | ||
const char * | pattern | ||
) |
Read AliESDs files and return a Chain of events.
Definition at line 85 of file TestESDCaloClusterAndCell.C.
Referenced by TestESDCaloClusterAndCell().
TChain* AliReadESDfromdisk | ( | const UInt_t | eventsToRead, |
const TString | dirName, | ||
const TString | esdTreeName, | ||
const char * | pattern | ||
) |
Reads ESDs from Disk Access the ESD tree from files and put them in a chain for analysis. Files are in a directory with a given pattern in name
Definition at line 46 of file TestESDCaloClusterAndCell.C.
Referenced by AliReadESD().
void TestESDCaloClusterAndCell | ( | TString | det = "EMCAL" , |
const UInt_t | eventsToProcess = 5 , |
||
TString | dirName = "./" , |
||
const TString | esdTreeName = "esdTree" , |
||
const char * | pattern = "." |
||
) |
Main method, do: .L TestESDCaloClusterAndCell.C++ TestESDCaloClusterAndCell(calo, number of events to process)
det | "EMCAL" or "PHOS" |
eventsToProcess | number of events to analyze, independently of the real total |
dirName | name of main folder with files |
esdTreeName | name of ESD tree |
pattern | pattern of the name of directories containing ESD files |
Definition at line 113 of file TestESDCaloClusterAndCell.C.
Referenced by AliReadESD().