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

class to refit the ESD clusters/tracks More...

#include <AliMUONRefitter.h>

Inheritance diagram for AliMUONRefitter:

Public Member Functions

 AliMUONRefitter (const AliMUONRecoParam *recoParam)
 
virtual ~AliMUONRefitter ()
 
void Connect (const AliMUONESDInterface *esdInterface)
 connect to the ESD interface containing MUON data to refit More...
 
AliMUONVTrackStoreReconstructFromDigits ()
 
AliMUONVTrackStoreReconstructFromClusters ()
 
AliMUONTrackRetrackFromDigits (UInt_t trackId)
 
AliMUONTrackRetrackFromClusters (UInt_t trackId)
 
AliMUONVClusterStoreReClusterize (UInt_t trackId, UInt_t clusterId)
 
AliMUONVClusterStoreReClusterize (UInt_t clusterId)
 
void SetFirstClusterIndex (Int_t index)
 

Protected Member Functions

 AliMUONRefitter (const AliMUONRefitter &)
 copy constructor More...
 
AliMUONRefitteroperator= (const AliMUONRefitter &)
 assignment operator More...
 

Private Member Functions

void CreateGeometryTransformer ()
 
void CreateClusterServer (AliMUONGeometryTransformer &transformer)
 
AliMUONTrackRetrackFromDigits (const AliMUONTrack &track)
 
Bool_t AddClusterToTracks (const AliMUONVClusterStore &localClusterStore, AliMUONVTrackStore &trackStore)
 

Private Attributes

const AliMUONRecoParamfkRecoParam
 pointer to reco param (not owner) More...
 
const AliMUONESDInterfacefkESDInterface
 container of MUON tracks/clusters/digits (not owner) More...
 
AliMUONGeometryTransformerfGeometryTransformer
 geometry transformer (owner) More...
 
AliMUONVClusterServerfClusterServer
 clusterizer (owner) More...
 
AliMUONVTrackReconstructorfTracker
 tracker (owner) More...
 
Int_t nextClusterIndex
 Index of the next cluster produced by this refitter (to build its uniqueID) More...
 

Detailed Description

class to refit the ESD clusters/tracks

This class has been developped to simplify the re-reconstruction of the MUON tracks stored into ESD with different recoParams and/or after having re-calibrated the digits. It creates new MUON object from ESD objects given as input (through the ESDInterface) then:

  • re-clusterize the ESD clusters using the attached ESD pads (several new clusters can be reconstructed per ESD cluster)
  • re-fit the ESD tracks using the attached ESD clusters
  • reconstruct the ESD tracks from ESD pads (i.e. re-clusterized the attached clusters)

note:

  • connexion between an ESD cluster and corresponding MUON clusters from re-clustering can be made through the detection element ID
  • connexion between an ESD track and the corresponding refitted MUON track can be made through their unique ID
Author
Philippe Pillot

Definition at line 27 of file AliMUONRefitter.h.

Constructor & Destructor Documentation

AliMUONRefitter::AliMUONRefitter ( const AliMUONRecoParam recoParam)

Default constructor

Definition at line 66 of file AliMUONRefitter.cxx.

AliMUONRefitter::~AliMUONRefitter ( )
virtual

Destructor

Definition at line 86 of file AliMUONRefitter.cxx.

AliMUONRefitter::AliMUONRefitter ( const AliMUONRefitter )
protected

copy constructor

Member Function Documentation

Bool_t AliMUONRefitter::AddClusterToTracks ( const AliMUONVClusterStore localClusterStore,
AliMUONVTrackStore trackStore 
)
private

add clusters to each of the given tracks duplicate the tracks if there are several clusters and add one cluster per copy

Definition at line 388 of file AliMUONRefitter.cxx.

Referenced by RetrackFromDigits().

void AliMUONRefitter::Connect ( const AliMUONESDInterface esdInterface)
inline

connect to the ESD interface containing MUON data to refit

Definition at line 35 of file AliMUONRefitter.h.

Referenced by MUONRefit().

void AliMUONRefitter::CreateClusterServer ( AliMUONGeometryTransformer transformer)
private

Create cluster server

Definition at line 279 of file AliMUONRefitter.cxx.

void AliMUONRefitter::CreateGeometryTransformer ( )
private

Create geometry transformer (local<->global) and load geometry data

Definition at line 270 of file AliMUONRefitter.cxx.

AliMUONRefitter& AliMUONRefitter::operator= ( const AliMUONRefitter )
protected

assignment operator

AliMUONVClusterStore * AliMUONRefitter::ReClusterize ( UInt_t  trackId,
UInt_t  clusterId 
)

re-clusterize cluster numbered "clusterId" in track "trackId" several new clusters may be reconstructed it is the responsability of the user to delete the returned store

Definition at line 190 of file AliMUONRefitter.cxx.

AliMUONVClusterStore * AliMUONRefitter::ReClusterize ( UInt_t  clusterId)

re-clusterize cluster "clusterId" several new clusters may be reconstructed it is the responsability of the user to delete the returned store

Definition at line 230 of file AliMUONRefitter.cxx.

AliMUONVTrackStore * AliMUONRefitter::ReconstructFromClusters ( )

refit all tracks from the attached clusters it is the responsability of the user to delete the returned store

Definition at line 122 of file AliMUONRefitter.cxx.

Referenced by MUONRefit().

AliMUONVTrackStore * AliMUONRefitter::ReconstructFromDigits ( )

re-reconstruct all tracks and attached clusters from the digits it is the responsability of the user to delete the returned store

Definition at line 95 of file AliMUONRefitter.cxx.

Referenced by MUONRefit().

AliMUONTrack * AliMUONRefitter::RetrackFromClusters ( UInt_t  trackId)

refit track "trackId" from the clusters (i.e. do not re-clusterize) it is the responsability of the user to delete the returned track

Definition at line 165 of file AliMUONRefitter.cxx.

AliMUONTrack * AliMUONRefitter::RetrackFromDigits ( UInt_t  trackId)

refit track "trackId" from the digits (i.e. re-clusterized the attached clusters) it is the responsability of the user to delete the returned track

Definition at line 148 of file AliMUONRefitter.cxx.

Referenced by ReconstructFromDigits().

AliMUONTrack * AliMUONRefitter::RetrackFromDigits ( const AliMUONTrack track)
private

refit the given track from the digits (i.e. re-clusterized the attached clusters): several new clusters may be reconstructed per initial ESD cluster: -> all the combinations of clusters are considered to build the new tracks -> return the best track (largest number of clusters or best chi2 in case of equality)

Definition at line 287 of file AliMUONRefitter.cxx.

void AliMUONRefitter::SetFirstClusterIndex ( Int_t  index)
inline

Definition at line 50 of file AliMUONRefitter.h.

Referenced by MUONRefit().

Member Data Documentation

AliMUONVClusterServer* AliMUONRefitter::fClusterServer
private

clusterizer (owner)

Definition at line 72 of file AliMUONRefitter.h.

Referenced by CreateClusterServer(), ReClusterize(), RetrackFromDigits(), and ~AliMUONRefitter().

AliMUONGeometryTransformer* AliMUONRefitter::fGeometryTransformer
private

geometry transformer (owner)

Definition at line 71 of file AliMUONRefitter.h.

Referenced by CreateGeometryTransformer(), and ~AliMUONRefitter().

const AliMUONESDInterface* AliMUONRefitter::fkESDInterface
private

container of MUON tracks/clusters/digits (not owner)

Definition at line 70 of file AliMUONRefitter.h.

Referenced by Connect(), ReClusterize(), ReconstructFromClusters(), ReconstructFromDigits(), RetrackFromClusters(), and RetrackFromDigits().

const AliMUONRecoParam* AliMUONRefitter::fkRecoParam
private

pointer to reco param (not owner)

Definition at line 69 of file AliMUONRefitter.h.

Referenced by AddClusterToTracks(), CreateClusterServer(), ReClusterize(), and RetrackFromDigits().

AliMUONVTrackReconstructor* AliMUONRefitter::fTracker
private

tracker (owner)

Definition at line 73 of file AliMUONRefitter.h.

Referenced by ReconstructFromClusters(), RetrackFromClusters(), RetrackFromDigits(), and ~AliMUONRefitter().

Int_t AliMUONRefitter::nextClusterIndex
private

Index of the next cluster produced by this refitter (to build its uniqueID)

Definition at line 75 of file AliMUONRefitter.h.

Referenced by ReClusterize(), RetrackFromDigits(), and SetFirstClusterIndex().


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