AliRoot Core  a565103 (a565103)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MUONClusterInfo.C File Reference

Macro to fill AliMUONClusterInfo objects. More...

#include <TStopwatch.h>
#include <TFile.h>
#include <TObjArray.h>
#include <TTree.h>
#include <TString.h>
#include <Riostream.h>
#include <TRandom.h>
#include <TROOT.h>
#include <TMath.h>
#include "AliESDEvent.h"
#include "AliRecoParam.h"
#include "AliCDBManager.h"
#include "AliRunLoader.h"
#include "AliLoader.h"
#include "AliHeader.h"
#include "AliMpConstants.h"
#include "AliMpSegmentation.h"
#include "AliMpVSegmentation.h"
#include "AliMpPad.h"
#include "AliMUONCDB.h"
#include "AliMUONCalibrationData.h"
#include "AliMUONVCalibParam.h"
#include "AliMUONPadInfo.h"
#include "AliMUONClusterInfo.h"
#include "AliMUONRecoParam.h"
#include "AliMUONESDInterface.h"
#include "AliMUONVDigit.h"
#include "AliMUONVDigitStore.h"
#include "AliMUONVCluster.h"
#include "AliMUONVClusterStore.h"
#include "AliMUONTrack.h"
#include "AliMUONTrackParam.h"
Include dependency graph for MUONClusterInfo.C:

Go to the source code of this file.

Functions

TTree * GetESDTree (TFile *esdFile)
 
UInt_t buildClusterMap (AliMUONTrack &track)
 
void MUONClusterInfo (Int_t nevents=-1, const char *esdFileName="AliESDs.root", const char *inFileName="galice.root", const TString ocdbPath="local://$ALICE_ROOT/OCDB", const char *outFileName="clusterInfo.root")
 

Variables

const Int_t printLevel = 1
 

Detailed Description

Macro to fill AliMUONClusterInfo objects.

Author
Philippe Pillot, SUBATECH

Definition in file MUONClusterInfo.C.

Function Documentation

UInt_t buildClusterMap ( AliMUONTrack track)

Build the map of clusters in tracking chambers

Definition at line 417 of file MUONClusterInfo.C.

Referenced by MUONClusterInfo().

TTree * GetESDTree ( TFile *  esdFile)

Check that the file is properly open Return pointer to the ESD Tree

Definition at line 395 of file MUONClusterInfo.C.

Referenced by MUONClusterInfo().

void MUONClusterInfo ( Int_t  nevents = -1,
const char *  esdFileName = "AliESDs.root",
const char *  inFileName = "galice.root",
const TString  ocdbPath = "local://$ALICE_ROOT/OCDB",
const char *  outFileName = "clusterInfo.root" 
)

1) if (esdFileName != "") loop over ESD event and fill AliMUONClusterInfo object with cluster + corresponding track parameters; 2) if (inFileName != "") loop over RecPoints and fill AliMUONClusterInfo object with cluster not attached to a track; 3) write results in a new root file.

******************************************* WARNING ******************************************* /// track parameters at each cluster are recomputed by the interface using Kalman filter + Smoother /// (It can be changed by resetting the tracker in the interface with a new recoParam object) /// and the magnetic field set in the function prepare() /// ******************************************* WARNING ******************************************* ///

Definition at line 69 of file MUONClusterInfo.C.

Variable Documentation

const Int_t printLevel = 1

Definition at line 63 of file MUONClusterInfo.C.