AliRoot Core  v5-06-30 (35d6c57)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMUONQAMappingCheck Class Reference

Class to be called from AliMUONQADataMakerRec. More...

#include <AliMUONQAMappingCheck.h>

Inheritance diagram for AliMUONQAMappingCheck:

Public Member Functions

 AliMUONQAMappingCheck (Int_t runNumber)
 
virtual ~AliMUONQAMappingCheck ()
 
void NewEvent ()
 
AliMUONVTrackerDataCreateData (const char *name) const
 
void Store (AliMUONVCluster &cluster)
 

Private Member Functions

 AliMUONQAMappingCheck (const AliMUONQAMappingCheck &rhs)
 not defined on purpose More...
 
AliMUONQAMappingCheckoperator= (const AliMUONQAMappingCheck &rhs)
 not defined on purpose More...
 
void GetClusterLocation (AliMUONVCluster &cluster, Int_t &manuBending, Int_t &manuBendingChannel, Int_t &manuNonBending, Int_t &manuNonBendingChannel, Bool_t &monoCathode, Bool_t &legitimateMonoCathode)
 
void AddClusterLocation (Int_t detElemId, Int_t manuId, Int_t manuChannel, Bool_t monoCathode, Bool_t legitimateMonoCathode)
 
Bool_t IsChannelDead (Int_t detElemId, Int_t manuId, Int_t manuChannel) const
 
Bool_t IsManuDead (Int_t detElemId, Int_t manuId) const
 

Private Attributes

AliMUONVStorefStore
 ! store cluster informations at manu level More...
 
AliMUONGeometryTransformerfGeometryTransformer
 ! to go from global to local DE coordinates More...
 
AliMUONDigitCalibratorfDigitCalibrator
 ! to get statusmap More...
 
Int_t fNumberOfEvents
 ! number of events seen More...
 
Int_t fNumberOfClusters
 ! total number of clusters seen More...
 
Int_t fNumberOfMonoCathodeClusters
 ! total number of mono-cathode clusters seen More...
 
Int_t fNumberOfLegitimateMonoCathodeClusters
 ! number of mono-cathode that have a reason to be so More...
 

Detailed Description

Class to be called from AliMUONQADataMakerRec.

Helper class for AliMUONQADataMakerRec, which takes care of building an AliMUONVTrackerData to store the location of all the clusters encountered during a run, and all the clusters that have charge on only one cathode (aka mono-cathode clusters).

This is to easily spot mapping errors and/or region of complete inefficiencies.

Author
Laurent Aphecetche, Subatech

Definition at line 25 of file AliMUONQAMappingCheck.h.

Constructor & Destructor Documentation

AliMUONQAMappingCheck::AliMUONQAMappingCheck ( Int_t  runNumber)

Ctor

Definition at line 58 of file AliMUONQAMappingCheck.cxx.

AliMUONQAMappingCheck::~AliMUONQAMappingCheck ( )
virtual

Dtor. Report on the global number of clusters encountered

Definition at line 88 of file AliMUONQAMappingCheck.cxx.

AliMUONQAMappingCheck::AliMUONQAMappingCheck ( const AliMUONQAMappingCheck rhs)
private

not defined on purpose

Member Function Documentation

void AliMUONQAMappingCheck::AddClusterLocation ( Int_t  detElemId,
Int_t  manuId,
Int_t  manuChannel,
Bool_t  monoCathode,
Bool_t  legitimateMonoCathode 
)
private

Add one cluster location to our internal store

Definition at line 102 of file AliMUONQAMappingCheck.cxx.

Referenced by Store().

AliMUONVTrackerData * AliMUONQAMappingCheck::CreateData ( const char *  name) const

Make a trackerData from our internal store

Definition at line 140 of file AliMUONQAMappingCheck.cxx.

void AliMUONQAMappingCheck::GetClusterLocation ( AliMUONVCluster cluster,
Int_t &  manuBending,
Int_t &  manuBendingChannel,
Int_t &  manuNonBending,
Int_t &  manuNonBendingChannel,
Bool_t &  monoCathode,
Bool_t &  legitimateMonoCathode 
)
private

Get the pad under the center of the cluster, and whether or not this cluster has charge on both cathodes

Definition at line 173 of file AliMUONQAMappingCheck.cxx.

Referenced by Store().

Bool_t AliMUONQAMappingCheck::IsChannelDead ( Int_t  detElemId,
Int_t  manuId,
Int_t  manuChannel 
) const
private

Using the statusmaker, tells if a given channel is dead

Definition at line 268 of file AliMUONQAMappingCheck.cxx.

Referenced by IsManuDead().

Bool_t AliMUONQAMappingCheck::IsManuDead ( Int_t  detElemId,
Int_t  manuId 
) const
private

Using the statusmaker, tells if a given manu is to be considered as dead (here dead means at least one manas dead)

Definition at line 251 of file AliMUONQAMappingCheck.cxx.

Referenced by GetClusterLocation().

void AliMUONQAMappingCheck::NewEvent ( )

Increment number of events seen

Definition at line 132 of file AliMUONQAMappingCheck.cxx.

Referenced by AliMUONTrackerQADataMakerRec::MakeRecPoints().

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

not defined on purpose

void AliMUONQAMappingCheck::Store ( AliMUONVCluster cluster)

Store information about a single cluster

Definition at line 277 of file AliMUONQAMappingCheck.cxx.

Referenced by AliMUONTrackerQADataMakerRec::MakeRecPoints().

Member Data Documentation

AliMUONDigitCalibrator* AliMUONQAMappingCheck::fDigitCalibrator
private

! to get statusmap

Definition at line 63 of file AliMUONQAMappingCheck.h.

Referenced by IsChannelDead(), and ~AliMUONQAMappingCheck().

AliMUONGeometryTransformer* AliMUONQAMappingCheck::fGeometryTransformer
private

! to go from global to local DE coordinates

Definition at line 61 of file AliMUONQAMappingCheck.h.

Referenced by GetClusterLocation(), and ~AliMUONQAMappingCheck().

Int_t AliMUONQAMappingCheck::fNumberOfClusters
private

! total number of clusters seen

Definition at line 67 of file AliMUONQAMappingCheck.h.

Referenced by GetClusterLocation(), and ~AliMUONQAMappingCheck().

Int_t AliMUONQAMappingCheck::fNumberOfEvents
private

! number of events seen

Definition at line 65 of file AliMUONQAMappingCheck.h.

Referenced by CreateData(), NewEvent(), and ~AliMUONQAMappingCheck().

Int_t AliMUONQAMappingCheck::fNumberOfLegitimateMonoCathodeClusters
private

! number of mono-cathode that have a reason to be so

Definition at line 71 of file AliMUONQAMappingCheck.h.

Referenced by GetClusterLocation(), and ~AliMUONQAMappingCheck().

Int_t AliMUONQAMappingCheck::fNumberOfMonoCathodeClusters
private

! total number of mono-cathode clusters seen

Definition at line 69 of file AliMUONQAMappingCheck.h.

Referenced by GetClusterLocation(), and ~AliMUONQAMappingCheck().

AliMUONVStore* AliMUONQAMappingCheck::fStore
private

! store cluster informations at manu level

Definition at line 59 of file AliMUONQAMappingCheck.h.

Referenced by AddClusterLocation(), CreateData(), and ~AliMUONQAMappingCheck().


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