AliRoot Core  edcc906 (edcc906)
AliMUONv1 Class Reference

AliDetector class for MUON subsystem which implements functions for simulation. More...

#include <AliMUONv1.h>

Inheritance diagram for AliMUONv1:

Public Member Functions

 AliMUONv1 ()
 
 AliMUONv1 (const char *name, const char *title="default")
 
virtual ~AliMUONv1 ()
 
virtual void CreateGeometry ()
 
virtual void CreateMaterials ()
 
virtual void UpdateInternalGeometry ()
 
virtual void AddAlignableVolumes () const
 
virtual void Init ()
 
virtual Int_t IsVersion () const
 Return the version number of this detector. More...
 
virtual void StepManager ()
 
void SetAngleEffect (Bool_t Opt)
 Set option to take into account angle effect. More...
 
void SetMagEffect (Bool_t Opt)
 Set option to take into account magnetic field effect. More...
 
void SetStepMaxInActiveGas (Float_t StepMax)
 Set max step max in active gas. More...
 
- Public Member Functions inherited from AliMUON
 AliMUON ()
 
 AliMUON (const char *name, const char *title)
 
virtual ~AliMUON ()
 
void AddGeometryBuilder (AliMUONVGeometryBuilder *geomBuilder)
 
void ResetGeometryBuilder ()
 
AliMUONGeometryBuilderGetGeometryBuilder () const
 Return geometry builder. More...
 
const AliMUONGeometryTransformerGetGeometryTransformer () const
 
virtual AliLoaderMakeLoader (const char *topfoldername)
 Return segmentation. More...
 
virtual void SetTreeAddress ()
 
virtual void SetSplitLevel (Int_t SplitLevel)
 Set split level for making branches in outfiles. More...
 
virtual AliDigitizerCreateDigitizer (AliDigitizationInput *digInput) const
 
virtual void SDigits2Digits ()
 
virtual void Hits2SDigits ()
 
virtual void Digits2Raw ()
 
virtual Bool_t Raw2SDigits (AliRawReader *rawReader)
 
virtual AliTriggerDetectorCreateTriggerDetector () const
 Create trigger. More...
 
virtual void SetSigmaIntegration (Int_t id, Float_t p1)
 
virtual void SetChargeSlope (Int_t id, Float_t p1)
 
virtual void SetChargeSpread (Int_t id, Float_t p1, Float_t p2)
 
virtual void SetMaxAdc (Int_t id, Int_t p1)
 
virtual void SetResponseModel (Int_t id, const AliMUONResponse &response)
 
virtual void SetMaxStepGas (Float_t p1)
 
virtual void SetMaxStepAlu (Float_t p1)
 
virtual void SetMaxDestepGas (Float_t p1)
 
virtual void SetMaxDestepAlu (Float_t p1)
 
virtual Float_t GetMaxStepGas () const
 
virtual Float_t GetMaxStepAlu () const
 
virtual Float_t GetMaxDestepGas () const
 
virtual Float_t GetMaxDestepAlu () const
 
virtual void SetAlign (Bool_t align=true)
 
virtual void SetAlign (const TString &fileName, Bool_t align=true)
 
virtual void SetIsMaxStep (Bool_t isMaxStep)
 Set flag to inactivate calls to TVirtualMC::GetMC()->SetMaxStep. More...
 
virtual void SetTriggerScalerEvent (Bool_t scaler=true)
 Set scaler event for trigger. More...
 
virtual void SetTriggerResponseV1 (Int_t trigResV1=0)
 Set trigger response version. More...
 
virtual Int_t GetTriggerResponseV1 () const
 
virtual void SetTriggerCoinc44 (Int_t trigCoinc44=0)
 Set trigger coinc44. More...
 
virtual Int_t GetTriggerCoinc44 () const
 
virtual void SetTriggerEffCells (Bool_t trigEffCells=true)
 Set trigger chamber efficiency by cells. More...
 
virtual Bool_t GetTriggerEffCells () const
 
virtual void SetDigitizerWithNoise (Int_t digitizerWithNoise, Double_t nsigmas=4.0)
 Set off generation of noisy digits. More...
 
virtual Int_t GetDigitizerWithNoise () const
 
virtual Double_t GetDigitizerNSigmas () const
 
virtual void SetTailEffect (Bool_t isTailEffect)
 Parametrised tail effect in resolution histogram. More...
 
virtual void SetConvertTrigger (Bool_t convertTrigger=true)
 Enable trigger raw2sdigits conversion. More...
 
virtual AliMUONChamberChamber (Int_t id)
 Return reference to Chamber id. More...
 
virtual void MakeBranch (Option_t *opt=" ")
 
virtual void ResetHits ()
 
void SetDigitStoreClassName (const char *classname)
 Set digit store class name. More...
 
const TString DigitStoreClassName () const
 Return digit store class name. More...
 
- Public Member Functions inherited from AliDetector
 AliDetector (const char *name, const char *title)
 
 AliDetector ()
 
virtual ~AliDetector ()
 
virtual int GetNdigits () const
 
virtual int GetNhits () const
 
TClonesArray * Digits () const
 
TClonesArray * Hits () const
 
virtual Bool_t IsModule () const
 
virtual Bool_t IsDetector () const
 
Int_t GetIshunt () const
 
void SetIshunt (Int_t ishunt)
 
virtual void Publish (const char *dir, void *c, const char *name=0) const
 
virtual void Browse (TBrowser *b)
 
virtual void FinishRun ()
 
virtual void ResetDigits ()
 
virtual void SetTimeGate (Float_t gate)
 
virtual Float_t GetTimeGate () const
 
virtual void DrawModule () const
 
virtual AliHitFirstHit (Int_t track)
 
virtual AliHitNextHit ()
 
virtual void SetBufferSize (Int_t bufsize=8000)
 
virtual TBranch * MakeBranchInTree (TTree *tree, const char *cname, void *address, Int_t size=32000, const char *file=0)
 
virtual TBranch * MakeBranchInTree (TTree *tree, const char *cname, const char *name, void *address, Int_t size=32000, Int_t splitlevel=99, const char *file=0)
 
void MakeTree (Option_t *option)
 
virtual void RemapTrackHitIDs (Int_t *)
 
void SetLoader (AliLoader *loader)
 
AliLoaderGetLoader () const
 
- Public Member Functions inherited from AliModule
 AliModule (const char *name, const char *title)
 
 AliModule ()
 
virtual ~AliModule ()
 
virtual TArrayI * GetIdtmed () const
 
virtual TObjArrayPoints () const
 
virtual Bool_t IsActive () const
 
virtual void SetActive (Bool_t v=kTRUE)
 
virtual Bool_t IsFolder () const
 
virtual Int_t & LoMedium ()
 
virtual Int_t & HiMedium ()
 
virtual void AliMaterial (Int_t imat, const char *name, Float_t a, Float_t z, Float_t dens, Float_t radl, Float_t absl, Float_t *buf=0, Int_t nwbuf=0) const
 
virtual void AliGetMaterial (Int_t imat, char *name, Float_t &a, Float_t &z, Float_t &dens, Float_t &radl, Float_t &absl) const
 
virtual void AliMixture (Int_t imat, const char *name, Float_t *a, Float_t *z, Float_t dens, Int_t nlmat, Float_t *wmat) const
 
virtual void AliMedium (Int_t numed, const char *name, Int_t nmat, Int_t isvol, Int_t ifield, Float_t fieldm, Float_t tmaxfd, Float_t stemax, Float_t deemax, Float_t epsil, Float_t stmin, Float_t *ubuf=0, Int_t nbuf=0) const
 
void AliMatrix (Int_t &nmat, Double_t theta1, Double_t phi1, Double_t theta2, Double_t phi2, Double_t theta3, Double_t phi3) const
 
virtual void BuildGeometry ()
 
virtual void AddDigit (Int_t *, Int_t *)
 
virtual void AddHit (Int_t, Int_t *, Float_t *)
 
virtual void Hits2Digits ()
 
virtual void Digits2Reco ()
 
virtual void Raw2Digits ()
 
virtual void QADataMaker (const char *)
 
virtual void DefineOpticalProperties ()
 
virtual void PreTrack ()
 
virtual void PostTrack ()
 
virtual void FinishEvent ()
 
virtual void FinishPrimary ()
 
virtual void LoadPoints (Int_t)
 
virtual void Paint (Option_t *)
 
virtual void ResetSDigits ()
 
virtual void DisableStepManager ()
 
virtual Bool_t StepManagerIsEnabled () const
 
virtual Float_t ZMin () const
 
virtual Float_t ZMax () const
 
virtual AliTrackReferenceAddTrackReference (Int_t label, Int_t id=-999)
 
TTree * TreeTR ()
 
void SetRunLoader (AliRunLoader *runLoader)
 
virtual void CheckQA ()
 
AliDigitizationInputGetDigitizationInput () const
 
void CacheVMCInstance (TVirtualMC *mc)
 

Protected Member Functions

 AliMUONv1 (const AliMUONv1 &right)
 Not implemented. More...
 
AliMUONv1operator= (const AliMUONv1 &right)
 Not implemented. More...
 
virtual Int_t GetGeomModuleId (Int_t volId) const
 
TString CurrentVolumePath () const
 
- Protected Member Functions inherited from AliMUON
 AliMUON (const AliMUON &rMUON)
 Not implemented. More...
 
AliMUONoperator= (const AliMUON &rhs)
 Not implemented. More...
 
const AliMUONGeometryGetGeometry () const
 
AliMUONRecoParamGetRecoParam () const
 

Protected Attributes

Bool_t fAngleEffect
 Angle Effect along wires, Default is true. More...
 
Bool_t fMagEffect
 Magnetic Field Effect along wires, Default is true. More...
 
Float_t fStepMaxInActiveGas
 Step max in active gas default 0.6cm. More...
 
Float_t * fStepSum
 ! Sum of track steps per chamber More...
 
Float_t * fDestepSum
 ! Sum of energy deposits per chamber More...
 
TLorentzVector fTrackMomentum
 Momentum of the particle entering in the active gas of chamber. More...
 
TLorentzVector fTrackPosition
 Position of the particle exiting the active gas of chamber. More...
 
TF1 * fElossRatio
 Ratio of particle mean eloss with respect MIP's. More...
 
TF1 * fAngleEffect10
 Angle effect in tracking chambers at theta =10 degres as a function of ElossRatio (Khalil BOUDJEMLINE sep 2003 Ph.D Thesis) (in micrometers) More...
 
TF1 * fAngleEffectNorma
 Angle effect: Normalisation form theta=10 degres to theta between 0 and 10 (Khalil BOUDJEMLINE sep 2003 Ph.D Thesis) More...
 
TF2 * fMagAngleEffectNorma
 Magnetic field effect: Normalisation from theta=16 degres to theta between -20 and 20 (Lamia Benhabib jun 2006 Master Thesis) More...
 
- Protected Attributes inherited from AliMUON
Int_t fNCh
 Number of chambers. More...
 
Int_t fNTrackingCh
 Number of tracking chambers*. More...
 
Int_t fSplitLevel
 Splitlevel when making branches in outfiles. More...
 
TObjArrayfChambers
 List of Tracking Chambers. More...
 
AliMUONGeometryBuilderfGeometryBuilder
 Geometry builder. More...
 
Bool_t fAccCut
 Transport acceptance cut. More...
 
Float_t fAccMin
 Minimum acceptance cut used during transport. More...
 
Float_t fAccMax
 Minimum acceptance cut used during transport. More...
 
Float_t fMaxStepGas
 Maximum step size inside the chamber gas. More...
 
Float_t fMaxStepAlu
 Maximum step size inside the chamber aluminum. More...
 
Float_t fMaxDestepGas
 Maximum relative energy loss in gas. More...
 
Float_t fMaxDestepAlu
 Maximum relative energy loss in aluminum. More...
 
Int_t fMaxIterPad
 Maximum pad index. More...
 
Int_t fCurIterPad
 Current pad index. More...
 
Bool_t fIsMaxStep
 Flag to inactivate calls to TVirtualMC::GetMC()->SetMaxStep. More...
 
Bool_t fTriggerScalerEvent
 Flag to generates scaler event. More...
 
Int_t fTriggerResponseV1
 Flag to select TriggerResponseV1 (for cluster size in MTR) More...
 
Int_t fTriggerCoinc44
 Flag to select TriggerCoinc44. More...
 
Bool_t fTriggerEffCells
 Flag to select TriggerEffCells. More...
 
Int_t fDigitizerWithNoise
 Flag to switch on/off generation of noisy digits. More...
 
Double_t fDigitizerNSigmas
 nsigma cut for noise generation More...
 
Bool_t fIsTailEffect
 Switch to turn on/off the tail effect. More...
 
Bool_t fConvertTrigger
 Switch to enable trigger raw2sdigit conversion. More...
 
AliMUONRawWriterfRawWriter
 ! Raw data writer More...
 
AliMUONDigitMakerfDigitMaker
 ! pointer to the digit maker class More...
 
AliMUONVHitStorefHitStore
 ! container of hits More...
 
TString fDigitStoreConcreteClassName
 to be able to select what the sdigitizer uses More...
 
AliMUONCalibrationDatafCalibrationData
 pointer of calibration data More...
 
AliMUONDigitCalibratorfDigitCalibrator
 ! digit calibrator (for raw2sdigits) More...
 
- Protected Attributes inherited from AliDetector
Float_t fTimeGate
 
Int_t fIshunt
 
Int_t fNhits
 
Int_t fNdigits
 Number of hits. More...
 
Int_t fBufferSize
 Number of digits. More...
 
Int_t fMaxIterHit
 buffer size for Tree detector branches More...
 
Int_t fCurIterHit
 Limit for the hit iterator. More...
 
TClonesArray * fHits
 Counter for the hit iterator. More...
 
TClonesArray * fDigits
 List of hits for one track only. More...
 
AliLoaderfLoader
 List of digits for this detector. More...
 
- Protected Attributes inherited from AliModule
TVirtualMC * fMC
 
TArrayI * fIdtmed
 cached MC instance (to avoid calls to thread_local gMC=TVirtualMC::GetMC()) More...
 
TArrayI * fIdmate
 List of tracking medium numbers. More...
 
Int_t fLoMedium
 List of material numbers. More...
 
Int_t fHiMedium
 Minimum tracking medium ID for this Module. More...
 
Bool_t fActive
 Maximum tracking medium ID for this Module. More...
 
Bool_t fEnable
 
Int_t fMaxIterTrackRef
 
Int_t fCurrentIterTrackRef
 for track refernce iterator routines More...
 
AliRunLoaderfRunLoader
 for track refernce iterator routines More...
 
AliDigitizationInputfDigInput
 local pointer to run loader More...
 

Additional Inherited Members

- Static Public Member Functions inherited from AliModule
static void SetDensityFactor (Float_t density)
 
static Float_t GetDensityFactor ()
 
- Static Protected Attributes inherited from AliModule
static Float_t fgDensityFactor = 1.0
 input for sdigits -> digits More...
 

Detailed Description

AliDetector class for MUON subsystem which implements functions for simulation.

Definition at line 24 of file AliMUONv1.h.

Constructor & Destructor Documentation

AliMUONv1::AliMUONv1 ( )

Default constructor

Definition at line 69 of file AliMUONv1.cxx.

Referenced by SetStepMaxInActiveGas().

AliMUONv1::AliMUONv1 ( const char *  name,
const char *  title = "default" 
)

Standard onstructor

Definition at line 89 of file AliMUONv1.cxx.

AliMUONv1::~AliMUONv1 ( )
virtual

Destructor

Definition at line 148 of file AliMUONv1.cxx.

AliMUONv1::AliMUONv1 ( const AliMUONv1 right)
protected

Not implemented.

Member Function Documentation

void AliMUONv1::AddAlignableVolumes ( ) const
virtual

Construct materials using geometry builder

Reimplemented from AliDetector.

Definition at line 191 of file AliMUONv1.cxx.

void AliMUONv1::CreateGeometry ( )
virtual

Construct geometry using geometry builder

Reimplemented from AliModule.

Definition at line 162 of file AliMUONv1.cxx.

void AliMUONv1::CreateMaterials ( )
virtual

Construct materials using geometry builder

Reimplemented from AliModule.

Definition at line 170 of file AliMUONv1.cxx.

TString AliMUONv1::CurrentVolumePath ( ) const
protected

Return current volume path (Could be removed when this function is available via TVirtualMC::GetMC())

Definition at line 236 of file AliMUONv1.cxx.

Referenced by SetStepMaxInActiveGas(), and StepManager().

Int_t AliMUONv1::GetGeomModuleId ( Int_t  volId) const
protectedvirtual

Check if the volume with specified volId is a sensitive volume (gas) of some chamber and return the chamber number; if not sensitive volume - return 0.

Definition at line 221 of file AliMUONv1.cxx.

Referenced by SetStepMaxInActiveGas(), and StepManager().

void AliMUONv1::Init ( void  )
virtual

Initialize geometry

Reimplemented from AliModule.

Definition at line 200 of file AliMUONv1.cxx.

virtual Int_t AliMUONv1::IsVersion ( void  ) const
inlinevirtual

Return the version number of this detector.

Implements AliModule.

Definition at line 37 of file AliMUONv1.h.

AliMUONv1& AliMUONv1::operator= ( const AliMUONv1 right)
protected

Not implemented.

Referenced by SetStepMaxInActiveGas().

void AliMUONv1::SetAngleEffect ( Bool_t  Opt)
inline

Set option to take into account angle effect.

Definition at line 42 of file AliMUONv1.h.

void AliMUONv1::SetMagEffect ( Bool_t  Opt)
inline

Set option to take into account magnetic field effect.

Definition at line 46 of file AliMUONv1.h.

void AliMUONv1::SetStepMaxInActiveGas ( Float_t  StepMax)
inline

Set max step max in active gas.

Definition at line 50 of file AliMUONv1.h.

void AliMUONv1::StepManager ( void  )
virtual

Step manager for the chambers

Reimplemented from AliDetector.

Definition at line 260 of file AliMUONv1.cxx.

Referenced by IsVersion().

void AliMUONv1::UpdateInternalGeometry ( )
virtual

Update geometry after applying mis-alignment

Reimplemented from AliModule.

Definition at line 178 of file AliMUONv1.cxx.

Member Data Documentation

Bool_t AliMUONv1::fAngleEffect
protected

Angle Effect along wires, Default is true.

Definition at line 62 of file AliMUONv1.h.

Referenced by SetAngleEffect(), and StepManager().

TF1* AliMUONv1::fAngleEffect10
protected

Angle effect in tracking chambers at theta =10 degres as a function of ElossRatio (Khalil BOUDJEMLINE sep 2003 Ph.D Thesis) (in micrometers)

Definition at line 73 of file AliMUONv1.h.

Referenced by AliMUONv1(), StepManager(), and ~AliMUONv1().

TF1* AliMUONv1::fAngleEffectNorma
protected

Angle effect: Normalisation form theta=10 degres to theta between 0 and 10 (Khalil BOUDJEMLINE sep 2003 Ph.D Thesis)

Definition at line 74 of file AliMUONv1.h.

Referenced by AliMUONv1(), StepManager(), and ~AliMUONv1().

Float_t* AliMUONv1::fDestepSum
protected

! Sum of energy deposits per chamber

Definition at line 68 of file AliMUONv1.h.

Referenced by AliMUONv1(), StepManager(), and ~AliMUONv1().

TF1* AliMUONv1::fElossRatio
protected

Ratio of particle mean eloss with respect MIP's.

Definition at line 72 of file AliMUONv1.h.

Referenced by AliMUONv1(), StepManager(), and ~AliMUONv1().

TF2* AliMUONv1::fMagAngleEffectNorma
protected

Magnetic field effect: Normalisation from theta=16 degres to theta between -20 and 20 (Lamia Benhabib jun 2006 Master Thesis)

Definition at line 75 of file AliMUONv1.h.

Referenced by AliMUONv1(), StepManager(), and ~AliMUONv1().

Bool_t AliMUONv1::fMagEffect
protected

Magnetic Field Effect along wires, Default is true.

Definition at line 63 of file AliMUONv1.h.

Referenced by SetMagEffect(), and StepManager().

Float_t AliMUONv1::fStepMaxInActiveGas
protected

Step max in active gas default 0.6cm.

Definition at line 64 of file AliMUONv1.h.

Referenced by SetStepMaxInActiveGas(), and StepManager().

Float_t* AliMUONv1::fStepSum
protected

! Sum of track steps per chamber

Definition at line 67 of file AliMUONv1.h.

Referenced by AliMUONv1(), StepManager(), and ~AliMUONv1().

TLorentzVector AliMUONv1::fTrackMomentum
protected

Momentum of the particle entering in the active gas of chamber.

Definition at line 70 of file AliMUONv1.h.

Referenced by StepManager().

TLorentzVector AliMUONv1::fTrackPosition
protected

Position of the particle exiting the active gas of chamber.

Definition at line 71 of file AliMUONv1.h.

Referenced by StepManager().


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