New trigger library
[u/mrichter/AliRoot.git] / MUON / AliMUONTrackHitPattern.h
CommitLineData
7771752e 1#ifndef ALIMUONTRACKHITPATTERN_H
2#define ALIMUONTRACKHITPATTERN_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6/// \ingroup rec
7/// \class AliMUONTrackHitPattern
8/// \brief Class for the MUON track hit pattern
9///
10// Author: Diego Stocco
11
12#include <TObject.h>
13#include <TList.h>
14
15class AliMUONData;
16class AliMUONLocalStruct;
17class AliMUONLocalTriggerBoard;
18class AliMUONTrackParam;
19class AliMUONTriggerCrateStore;
a721d89c 20class AliMUONDigitMaker;
7771752e 21
22class AliMUONGeometryTransformer;
23
24class TClonesArray;
25
26class AliMUONTrackHitPattern : public TObject {
27public:
28 AliMUONTrackHitPattern(AliMUONData *MUONData); // Default Constructor
29 virtual ~AliMUONTrackHitPattern(); // Destructor
30
31 void GetHitPattern(TClonesArray *recTracksArray);
32
33 void FindPadMatchingTrack(AliMUONTrackParam *trackParam, Bool_t isMatch[2], Int_t iChamber);
34 Float_t MinDistanceFromPad(Float_t xPad, Float_t yPad, Float_t zPad,
35 Float_t dpx, Float_t dpy, AliMUONTrackParam *trackParam);
36 void GetPosUncertainty(AliMUONTrackParam *trackParm, Float_t zChamber,
37 Float_t &sigmaX, Float_t &sigmaY, Float_t &sigmaMS);
38
39 Bool_t TriggerDigits();
40
41private:
42 AliMUONData *fMUONData; ///< Data container for MUON subsystem
43 TList fTriggerDigitsList[4]; ///< List of trigger digits, one per chamber
44 AliMUONGeometryTransformer *fTransformer; //!< pointer to transformation
45 AliMUONTriggerCrateStore *fCrateManager; ///< pointer to crate manager
a721d89c 46 AliMUONDigitMaker *fDigitMaker; ///< pointer to digit maker
7771752e 47
48 ClassDef(AliMUONTrackHitPattern, 0) // MUON track hit pattern
49};
50
51#endif