AliFMDv1 Class Reference
[Simulation]

#include <AliFMDv1.h>

Inheritance diagram for AliFMDv1:

Inheritance graph
[legend]
Collaboration diagram for AliFMDv1:

Collaboration graph
[legend]
List of all members.

Detailed Description

Forward Multiplicity Detector based on Silicon wafers. This class contains the base procedures for the Forward Multiplicity detector Detector consists of 3 sub-detectors FMD1, FMD2, and FMD3, each of which has 1 or 2 rings of silicon sensors.

This class contains the detailed version of the FMD - that is, hits are produced during simulation.

Definition at line 34 of file AliFMDv1.h.

Public Member Functions

 AliFMDv1 ()
 AliFMDv1 (const char *name, const char *title="Detailed geometry")
virtual ~AliFMDv1 ()
virtual Int_t IsVersion () const
virtual void StepManager ()

Protected Member Functions

Bool_t VMC2FMD (TLorentzVector &v, UShort_t &detector, Char_t &ring, UShort_t &sector, UShort_t &strip) const
Bool_t VMC2FMD (Int_t copy, TLorentzVector &v, UShort_t &detector, Char_t &ring, UShort_t &sector, UShort_t &strip) const
Bool_t CheckHit (Int_t trackno, Int_t pdg, Float_t absQ, const TLorentzVector &p, Float_t edep) const

Protected Attributes

Double_t fCurrentDeltaE
TLorentzVector fCurrentV
TLorentzVector fCurrentP
Int_t fCurrentPdg


Constructor & Destructor Documentation

AliFMDv1::AliFMDv1  )  [inline]
 

CTOR

Definition at line 38 of file AliFMDv1.h.

AliFMDv1::AliFMDv1 const char *  name,
const char *  title = "Detailed geometry"
[inline]
 

CTOR

Parameters:
name Name
title Title

Definition at line 47 of file AliFMDv1.h.

virtual AliFMDv1::~AliFMDv1  )  [inline, virtual]
 

DTOR

Definition at line 54 of file AliFMDv1.h.


Member Function Documentation

Bool_t AliFMDv1::CheckHit Int_t  trackno,
Int_t  pdg,
Float_t  absQ,
const TLorentzVector &  p,
Float_t  edep
const [protected]
 

Check if hit is bad. A hit is bad if

\[ \Delta E > |Q|^2 p / m > 1 \]

holds, where $ \Delta E$ is the energy loss in this step, $ Q$ is the particle charge, $ p$ is the track momentum, and $ m$ is the particle mass. If a track is marked as bad, it's kept in a cache, and can be printed at the end of the event.

Parameters:
trackno Track number
pdg PDG particle type ID
absQ Absolute value of particle charge
p Track momentum
edep Energy loss in this step.
Returns:
true if hit is `bad'

virtual Int_t AliFMDv1::IsVersion  )  const [inline, virtual]
 

Get version number

Returns:
always 1

Definition at line 59 of file AliFMDv1.h.

virtual void AliFMDv1::StepManager  )  [virtual]
 

Member function that is executed each time a hit is made in the FMD. None-charged particles are ignored. Dead tracks are ignored.

The procedure is as follows:

  • IF NOT track is alive THEN RETURN ENDIF
  • IF NOT particle is charged THEN RETURN ENDIF
  • IF NOT volume name is "STRI" or "STRO" THEN RETURN ENDIF
  • Get strip number (volume copy # minus 1)
  • Get phi division number (mother volume copy #)
  • Get module number (grand-mother volume copy #)
  • section # = 2 * module # + phi division # - 1
  • Get ring Id from volume name
  • Get detector # from grand-grand-grand-mother volume name
  • Get pointer to sub-detector object.
  • Get track position
  • IF track is entering volume AND track is inside real shape THEN
  • Reset energy deposited
  • Get track momentum
  • Get particle ID #
  • ENDIF
  • IF track is inside volume AND inside real shape THEN
  • Update energy deposited
  • ENDIF
  • IF track is inside real shape AND (track is leaving volume, or it died, or it is stopped THEN
  • Create a hit
  • ENDIF

Implements AliFMD.

Bool_t AliFMDv1::VMC2FMD Int_t  copy,
TLorentzVector &  v,
UShort_t &  detector,
Char_t &  ring,
UShort_t &  sector,
UShort_t &  strip
const [protected]
 

Translate VMC coordinates to detector coordinates

Parameters:
copy Volume copy number
v On output, Current position
detector On output, detector #
ring On output, ring id
sector On output, sector #
strip On output, strip #
Returns:
true on success

Bool_t AliFMDv1::VMC2FMD TLorentzVector &  v,
UShort_t &  detector,
Char_t &  ring,
UShort_t &  sector,
UShort_t &  strip
const [protected]
 

Translate VMC coordinates to detector coordinates

Parameters:
v On output, Current position
detector On output, detector #
ring On output, ring id
sector On output, sector #
strip On output, strip #
Returns:
true on success


Member Data Documentation

Double_t AliFMDv1::fCurrentDeltaE [protected]
 

Definition at line 129 of file AliFMDv1.h.

TLorentzVector AliFMDv1::fCurrentP [protected]
 

Definition at line 131 of file AliFMDv1.h.

Int_t AliFMDv1::fCurrentPdg [protected]
 

Definition at line 132 of file AliFMDv1.h.

TLorentzVector AliFMDv1::fCurrentV [protected]
 

Definition at line 130 of file AliFMDv1.h.


The documentation for this class was generated from the following file:
Generated on Fri Mar 24 17:11:23 2006 for ALICE FMD Off-line by  doxygen 1.4.6