AliRoot Core  a565103 (a565103)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMUONTrackHitPattern Class Reference

Class for the MUON track hit pattern. More...

#include <AliMUONTrackHitPattern.h>

Inheritance diagram for AliMUONTrackHitPattern:

Public Member Functions

 AliMUONTrackHitPattern (const AliMUONRecoParam *recoParam, const AliMUONGeometryTransformer &transformer, const AliMUONVDigitStore &digitStore, const AliMUONTriggerUtilities *triggerUtilities)
 
virtual ~AliMUONTrackHitPattern ()
 
void ExecuteValidation (const AliMUONVTrackStore &trackStore, const AliMUONVTriggerTrackStore &triggerTrackStore, const AliMUONVTriggerStore &triggerStore) const
 
AliMUONTriggerTrackMatchTriggerTrack (AliMUONTrack *track, AliMUONTrackParam &trackParam, const AliMUONVTriggerTrackStore &triggerTrackStore, const AliMUONVTriggerStore &triggerStore) const
 
UInt_t GetHitPattern (const AliMUONTrackParam &trackParam, Bool_t isTriggerTrack) const
 
UInt_t GetHitPattern (const AliMUONTriggerTrack *matchedTriggerTrack) const
 
UInt_t GetHitPattern (AliMUONTrackParam *trackParam) const
 

Protected Member Functions

void ApplyMCSCorrections (AliMUONTrackParam &trackParam) const
 
Int_t GetTrackParamAtChamber (const AliMUONTrackParam &inputTrackParam, Int_t chamber, TObjArray &trackParamList, TArrayI &foundDetElemId, TObjArray &padsFromPos) const
 
Bool_t FindMatchingPads (const AliMUONTrackParam *trackParam, TArrayI &matchedDetElemId, TObjArray &pads, const AliMUONVDigitStore &digitStore, Bool_t isTriggerTrack) const
 
Bool_t PosInDetElemIdLocal (TVector3 &localCoor, const TVector3 &globalPoint1, const TVector3 &globalPoint2, Int_t detElemId) const
 
const AliMUONRecoParamGetRecoParam () const
 Return reco parameters. More...
 
void FindPadMatchingTrack (const AliMUONTrackParam &trackParam, Bool_t isMatch[2], Int_t iChamber) const
 
Float_t MinDistanceFromPad (Float_t xPad, Float_t yPad, Float_t zPad, Float_t dpx, Float_t dpy, const AliMUONTrackParam &trackParam) const
 
Bool_t PerformTrigTrackMatch (UInt_t &pattern, const AliMUONTriggerTrack *matchedTrigTrack) const
 
Bool_t FindPadMatchingTrig (const TVector3 &vec11, const TVector3 &vec21, Int_t matchedDetElemId[2], TObjArray &matchedPads) const
 
Float_t PadMatchTrack (const AliMpPad &pad, const TVector3 &trackPosAtPad) const
 
Int_t DetElemIdFromPos (Float_t x, Float_t y, Int_t chamber, Int_t foundDetElemId[2]) const
 
Bool_t PadsFromPos (const TVector3 &vec11, const TVector3 &vec21, Int_t detElemId, TObjArray &pads) const
 
Bool_t IsCloseToAccEdge (TObjArray &pads, Int_t detElemId, Float_t coor[2]) const
 
Bool_t IsMasked (const AliMpPad &pad, Int_t detElemId, Int_t cathode, const TVector3 &vec11, const TVector3 &vec21) const
 

Private Member Functions

 AliMUONTrackHitPattern (const AliMUONTrackHitPattern &rhs)
 Not implemented. More...
 
AliMUONTrackHitPatternoperator= (const AliMUONTrackHitPattern &rhs)
 Not implemented. More...
 

Private Attributes

const AliMUONRecoParamfkRecoParam
 ! pointer to reco parameters More...
 
const AliMUONGeometryTransformerfkTransformer
 ! geometry transformer More...
 
const AliMUONVDigitStorefkDigitStore
 ! digitStore More...
 
const AliMUONTriggerUtilitiesfkTriggerUtilities
 ! trigger utilities for mapping More...
 
const Float_t fkMaxDistance
 ! Maximum distance for reference // obsolete More...
 

Detailed Description

Class for the MUON track hit pattern.

This class propagates tracks to trigger chambers searching for matching trigger tracks and fired strips.

To each track, a hit pattern for trigger chambers is set.

The main method is:

  • ExecuteValidation

    Author
    Diego Stocco

Definition at line 31 of file AliMUONTrackHitPattern.h.

Constructor & Destructor Documentation

AliMUONTrackHitPattern::AliMUONTrackHitPattern ( const AliMUONRecoParam recoParam,
const AliMUONGeometryTransformer transformer,
const AliMUONVDigitStore digitStore,
const AliMUONTriggerUtilities triggerUtilities 
)

Default constructor

Definition at line 76 of file AliMUONTrackHitPattern.cxx.

AliMUONTrackHitPattern::~AliMUONTrackHitPattern ( void  )
virtual

Destructor

Definition at line 93 of file AliMUONTrackHitPattern.cxx.

AliMUONTrackHitPattern::AliMUONTrackHitPattern ( const AliMUONTrackHitPattern rhs)
private

Not implemented.

Member Function Documentation

void AliMUONTrackHitPattern::ApplyMCSCorrections ( AliMUONTrackParam trackParam) const
protected

Returns uncertainties on extrapolated position. Takes into account Branson plane corrections in the iron wall.

Definition at line 101 of file AliMUONTrackHitPattern.cxx.

Referenced by ExecuteValidation().

Int_t AliMUONTrackHitPattern::DetElemIdFromPos ( Float_t  x,
Float_t  y,
Int_t  chamber,
Int_t  foundDetElemId[2] 
) const
protected

Given the (x,y) position in the chamber, it returns the corresponding slats Caveat: at the border the result is not univoque

Definition at line 869 of file AliMUONTrackHitPattern.cxx.

Referenced by PerformTrigTrackMatch().

void AliMUONTrackHitPattern::ExecuteValidation ( const AliMUONVTrackStore trackStore,
const AliMUONVTriggerTrackStore triggerTrackStore,
const AliMUONVTriggerStore triggerStore 
) const

Main method: Loops on reco tracks, extrapolates them to trigger chambers and searches for matching trigger tracks and digits

Definition at line 118 of file AliMUONTrackHitPattern.cxx.

Referenced by AliMUONVTrackReconstructor::ValidateTracksWithTrigger().

Bool_t AliMUONTrackHitPattern::FindMatchingPads ( const AliMUONTrackParam trackParam,
TArrayI &  matchedDetElemId,
TObjArray pads,
const AliMUONVDigitStore digitStore,
Bool_t  isTriggerTrack 
) const
protected

Search for matching digits in trigger chamber

Definition at line 176 of file AliMUONTrackHitPattern.cxx.

Referenced by GetHitPattern().

void AliMUONTrackHitPattern::FindPadMatchingTrack ( const AliMUONTrackParam trackParam,
Bool_t  isMatch[2],
Int_t  iChamber 
) const
protected

Given the tracker track position, searches for matching digits.

Definition at line 683 of file AliMUONTrackHitPattern.cxx.

Referenced by GetHitPattern().

Bool_t AliMUONTrackHitPattern::FindPadMatchingTrig ( const TVector3 &  vec11,
const TVector3 &  vec21,
Int_t  matchedDetElemId[2],
TObjArray matchedPads 
) const
protected

Check slat and board number of digit matching trigger track

Definition at line 766 of file AliMUONTrackHitPattern.cxx.

Referenced by PerformTrigTrackMatch().

UInt_t AliMUONTrackHitPattern::GetHitPattern ( const AliMUONTrackParam trackParam,
Bool_t  isTriggerTrack 
) const

Searches for matching digits around the track.

Definition at line 292 of file AliMUONTrackHitPattern.cxx.

Referenced by ExecuteValidation().

UInt_t AliMUONTrackHitPattern::GetHitPattern ( const AliMUONTriggerTrack matchedTriggerTrack) const

Get hit pattern on trigger chambers for the current trigger track

Definition at line 641 of file AliMUONTrackHitPattern.cxx.

UInt_t AliMUONTrackHitPattern::GetHitPattern ( AliMUONTrackParam trackParam) const

Get hit pattern on trigger chambers for the current tracker track

Definition at line 653 of file AliMUONTrackHitPattern.cxx.

const AliMUONRecoParam* AliMUONTrackHitPattern::GetRecoParam ( ) const
inlineprotected

Return reco parameters.

Definition at line 68 of file AliMUONTrackHitPattern.h.

Referenced by FindMatchingPads(), MatchTriggerTrack(), MinDistanceFromPad(), and PadMatchTrack().

Int_t AliMUONTrackHitPattern::GetTrackParamAtChamber ( const AliMUONTrackParam inputTrackParam,
Int_t  chamber,
TObjArray trackParamList,
TArrayI &  foundDetElemId,
TObjArray padsFromPos 
) const
protected

Return the extrapolated the track parameter at the given chamber and returns the matching DetElemId CAVEAT: at the border the result is not univoque

Definition at line 433 of file AliMUONTrackHitPattern.cxx.

Referenced by GetHitPattern().

Bool_t AliMUONTrackHitPattern::IsCloseToAccEdge ( TObjArray pads,
Int_t  detElemId,
Float_t  coor[2] 
) const
protected

Definition at line 927 of file AliMUONTrackHitPattern.cxx.

Referenced by PerformTrigTrackMatch().

Bool_t AliMUONTrackHitPattern::IsMasked ( const AliMpPad pad,
Int_t  detElemId,
Int_t  cathode,
const TVector3 &  vec11,
const TVector3 &  vec21 
) const
protected

Check if pad or its neighbours are masked

Definition at line 948 of file AliMUONTrackHitPattern.cxx.

Referenced by PerformTrigTrackMatch().

AliMUONTriggerTrack * AliMUONTrackHitPattern::MatchTriggerTrack ( AliMUONTrack track,
AliMUONTrackParam trackParam,
const AliMUONVTriggerTrackStore triggerTrackStore,
const AliMUONVTriggerStore triggerStore 
) const

Match track with trigger track

Definition at line 492 of file AliMUONTrackHitPattern.cxx.

Referenced by ExecuteValidation().

Float_t AliMUONTrackHitPattern::MinDistanceFromPad ( Float_t  xPad,
Float_t  yPad,
Float_t  zPad,
Float_t  dpx,
Float_t  dpy,
const AliMUONTrackParam trackParam 
) const
protected

Decides if the digit belongs to the tracker track.

Definition at line 731 of file AliMUONTrackHitPattern.cxx.

Referenced by FindPadMatchingTrack().

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

Not implemented.

Float_t AliMUONTrackHitPattern::PadMatchTrack ( const AliMpPad pad,
const TVector3 &  trackPosAtPad 
) const
protected

Decides if the digit belongs to the trigger track.

Definition at line 839 of file AliMUONTrackHitPattern.cxx.

Referenced by FindPadMatchingTrig().

Bool_t AliMUONTrackHitPattern::PadsFromPos ( const TVector3 &  vec11,
const TVector3 &  vec21,
Int_t  detElemId,
TObjArray pads 
) const
protected

Given the (x,y) position in the chamber, it returns the corresponding local board

Definition at line 900 of file AliMUONTrackHitPattern.cxx.

Referenced by IsMasked(), and PerformTrigTrackMatch().

Bool_t AliMUONTrackHitPattern::PerformTrigTrackMatch ( UInt_t &  pattern,
const AliMUONTriggerTrack matchedTrigTrack 
) const
protected

It searches for matching digits around the trigger track.

Definition at line 1009 of file AliMUONTrackHitPattern.cxx.

Referenced by GetHitPattern().

Bool_t AliMUONTrackHitPattern::PosInDetElemIdLocal ( TVector3 &  localCoor,
const TVector3 &  globalPoint1,
const TVector3 &  globalPoint2,
Int_t  detElemId 
) const
protected

Given two points belonging to a line (global coordinates) it returns the intersection point with the detElemId (local coordinates)

Definition at line 621 of file AliMUONTrackHitPattern.cxx.

Referenced by FindPadMatchingTrig(), GetTrackParamAtChamber(), IsMasked(), and PadsFromPos().

Member Data Documentation

const AliMUONVDigitStore& AliMUONTrackHitPattern::fkDigitStore
private

! digitStore

Definition at line 104 of file AliMUONTrackHitPattern.h.

Referenced by FindPadMatchingTrack(), FindPadMatchingTrig(), and GetHitPattern().

const Float_t AliMUONTrackHitPattern::fkMaxDistance
private

! Maximum distance for reference // obsolete

Definition at line 107 of file AliMUONTrackHitPattern.h.

Referenced by FindPadMatchingTrack(), FindPadMatchingTrig(), MinDistanceFromPad(), and PadMatchTrack().

const AliMUONRecoParam* AliMUONTrackHitPattern::fkRecoParam
private

! pointer to reco parameters

Definition at line 102 of file AliMUONTrackHitPattern.h.

Referenced by GetRecoParam().

const AliMUONGeometryTransformer& AliMUONTrackHitPattern::fkTransformer
private
const AliMUONTriggerUtilities* AliMUONTrackHitPattern::fkTriggerUtilities
private

! trigger utilities for mapping

Definition at line 105 of file AliMUONTrackHitPattern.h.

Referenced by GetHitPattern(), and IsMasked().


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