![]() |
AliRoot Core
edcc906 (edcc906)
|
Example to analyze calorimeter AODs. More...
#include <Riostream.h>
#include <TFile.h>
#include <TH1F.h>
#include <TParticle.h>
#include <TRefArray.h>
#include "AliRunLoader.h"
#include "AliStack.h"
#include "AliAODEvent.h"
#include "AliAODVertex.h"
#include "AliAODCaloCluster.h"
#include "AliAODCaloCells.h"
#include "AliAODCaloTrigger.h"
#include "AliAODTrack.h"
#include "AliPID.h"
#include "AliEMCALGeometry.h"
#include "AliAODMCParticle.h"
Go to the source code of this file.
Functions | |
void | TestAOD () |
Variables | |
Bool_t | kPrintKine = kFALSE |
Print MC related information. Do not use for raw data. More... | |
Bool_t | kPrintCaloCells = kFALSE |
Print cells parameters. More... | |
Bool_t | kPrintCaloTrigger = kFALSE |
Print trigger patches information. More... | |
Bool_t | kPrintTrackMatches = kFALSE |
Print cluster-track matching information. More... | |
Bool_t | kPrintCaloCluster = kTRUE |
Print cluster parameters. More... | |
Bool_t | kPrintClusterCells = kFALSE |
Print cells in clusters information. More... | |
Bool_t | kPrintClusterPID = kFALSE |
Print clusters PID (bayesian) weights. More... | |
Example to analyze calorimeter AODs.
Example macro to extract calorimeter related information from AODs. Almost identical for ESDs (see TestESD.C). It mostly prints clusters/cells information but it can also plot some example histograms with clusters energy, position, and track matching.
Different global bools can be set to inspect different parameters: cells, trigger, track-cluster matching, cells in clusters, PID or MC origin of the clusters.
Definition in file TestAOD.C.
void TestAOD | ( | ) |
Main method to read information stored in AliAODCaloClusters and AliAODCaloCells
Bool_t kPrintCaloCells = kFALSE |
Bool_t kPrintCaloCluster = kTRUE |
Bool_t kPrintCaloTrigger = kFALSE |
Bool_t kPrintClusterCells = kFALSE |
Bool_t kPrintClusterPID = kFALSE |
Bool_t kPrintKine = kFALSE |