AliRoot Core  v5-06-15 (45dab64)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMUONCheck Class Reference

Class for data quality control. More...

#include <AliMUONCheck.h>

Inheritance diagram for AliMUONCheck:

Public Member Functions

 AliMUONCheck (const char *galiceFile, const char *esdFile, Int_t firstEvent=0, Int_t lastEvent=-1, const char *outDir="")
 
 AliMUONCheck (const char *galiceFile, const char *galiceFileSim, const char *esdFile, Int_t firstEvent=0, Int_t lastEvent=-1, const char *outDir="")
 
virtual ~AliMUONCheck ()
 
void CheckESD (Bool_t pdc06TriggerResponse=false)
 
void CheckKine ()
 
void CheckTrackRef ()
 
void CheckOccupancy (Bool_t perDetEle=kFALSE) const
 
void SetEventsToCheck (Int_t firstEvent, Int_t lastEvent)
 
void SetOutFileName (const TString &outFileName)
 

Private Member Functions

 AliMUONCheck (const AliMUONCheck &rhs)
 Not implemented. More...
 
AliMUONCheckoperator= (const AliMUONCheck &rhs)
 Not implemented. More...
 

Static Private Member Functions

static const TString & GetDefaultOutFileName ()
 

Private Attributes

TString fFileName
 ! File (galice.root) to read from fro reconstructed data More...
 
TString fFileNameSim
 ! File (galiceSim.root) for simulated data More...
 
TString fesdFileName
 ! File (AliESDs.root) to read from More...
 
const char * fkOutDir
 ! output data directory More...
 
TString fOutFileName
 ! output file name More...
 
Int_t fFirstEvent
 ! First event to consider More...
 
Int_t fLastEvent
 ! Last event to consider More...
 

Detailed Description

Class for data quality control.

This class check the ESD tree, providing the matching with the trigger response and designing useful plots (Pt, Y, ITS vertex, multiplicity). Note that there is a special flag to turn on for pdc06 production. It also checks the TR tree giving hit densities on the two first and last planes of the spectrometer as well as the time of flight on these planes. MUONkine() provides event stack and check if the event are generated with at least one muon and two muons (for PDC06). DumpDigit() as a replacement of the function from MUONCheck.C macro.

Author
Frederic Yermia, INFN Torino

Definition at line 26 of file AliMUONCheck.h.

Constructor & Destructor Documentation

AliMUONCheck::AliMUONCheck ( const char *  galiceFile,
const char *  esdFile,
Int_t  firstEvent = 0,
Int_t  lastEvent = -1,
const char *  outDir = "" 
)

ctor

Definition at line 75 of file AliMUONCheck.cxx.

AliMUONCheck::AliMUONCheck ( const char *  galiceFile,
const char *  galiceFileSim,
const char *  esdFile,
Int_t  firstEvent = 0,
Int_t  lastEvent = -1,
const char *  outDir = "" 
)

ctor

Definition at line 89 of file AliMUONCheck.cxx.

AliMUONCheck::~AliMUONCheck ( )
virtual

Destructor

Definition at line 105 of file AliMUONCheck.cxx.

AliMUONCheck::AliMUONCheck ( const AliMUONCheck rhs)
private

Not implemented.

Member Function Documentation

void AliMUONCheck::CheckESD ( Bool_t  pdc06TriggerResponse = false)

Check ESD files

Definition at line 112 of file AliMUONCheck.cxx.

Referenced by MUONCheck().

void AliMUONCheck::CheckKine ( )

Check Stack

Definition at line 427 of file AliMUONCheck.cxx.

Referenced by MUONCheck().

void AliMUONCheck::CheckOccupancy ( Bool_t  perDetEle = kFALSE) const

Check occupancy for the first event selected

Definition at line 706 of file AliMUONCheck.cxx.

Referenced by MUONCheck().

void AliMUONCheck::CheckTrackRef ( )

Check TrackRef files

Definition at line 567 of file AliMUONCheck.cxx.

Referenced by MUONCheck().

const TString & AliMUONCheck::GetDefaultOutFileName ( )
staticprivate

Default output file name

Definition at line 67 of file AliMUONCheck.cxx.

AliMUONCheck& AliMUONCheck::operator= ( const AliMUONCheck rhs)
private

Not implemented.

void AliMUONCheck::SetEventsToCheck ( Int_t  firstEvent,
Int_t  lastEvent 
)

Set first and last event number to check

Definition at line 836 of file AliMUONCheck.cxx.

void AliMUONCheck::SetOutFileName ( const TString &  outFileName)
inline

Definition at line 41 of file AliMUONCheck.h.

Member Data Documentation

TString AliMUONCheck::fesdFileName
private

! File (AliESDs.root) to read from

Definition at line 54 of file AliMUONCheck.h.

Referenced by CheckESD().

TString AliMUONCheck::fFileName
private

! File (galice.root) to read from fro reconstructed data

Definition at line 52 of file AliMUONCheck.h.

TString AliMUONCheck::fFileNameSim
private

! File (galiceSim.root) for simulated data

Definition at line 53 of file AliMUONCheck.h.

Referenced by CheckKine(), CheckOccupancy(), and CheckTrackRef().

Int_t AliMUONCheck::fFirstEvent
private

! First event to consider

Definition at line 59 of file AliMUONCheck.h.

Referenced by CheckESD(), CheckKine(), CheckOccupancy(), CheckTrackRef(), and SetEventsToCheck().

const char* AliMUONCheck::fkOutDir
private

! output data directory

Definition at line 56 of file AliMUONCheck.h.

Referenced by CheckESD(), CheckKine(), and CheckTrackRef().

Int_t AliMUONCheck::fLastEvent
private

! Last event to consider

Definition at line 60 of file AliMUONCheck.h.

Referenced by CheckESD(), CheckKine(), CheckTrackRef(), and SetEventsToCheck().

TString AliMUONCheck::fOutFileName
private

! output file name

Definition at line 57 of file AliMUONCheck.h.

Referenced by CheckESD(), CheckKine(), and SetOutFileName().


The documentation for this class was generated from the following files: