- Adding hits pattern in trigger chambers in AliMUONTrack (Diego)
[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;
20
21class AliMUONGeometryTransformer;
22
23class TClonesArray;
24
25class AliMUONTrackHitPattern : public TObject {
26public:
27 AliMUONTrackHitPattern(AliMUONData *MUONData); // Default Constructor
28 virtual ~AliMUONTrackHitPattern(); // Destructor
29
30 void GetHitPattern(TClonesArray *recTracksArray);
31
32 void FindPadMatchingTrack(AliMUONTrackParam *trackParam, Bool_t isMatch[2], Int_t iChamber);
33 Float_t MinDistanceFromPad(Float_t xPad, Float_t yPad, Float_t zPad,
34 Float_t dpx, Float_t dpy, AliMUONTrackParam *trackParam);
35 void GetPosUncertainty(AliMUONTrackParam *trackParm, Float_t zChamber,
36 Float_t &sigmaX, Float_t &sigmaY, Float_t &sigmaMS);
37
38 Bool_t TriggerDigits();
39
40private:
41 AliMUONData *fMUONData; ///< Data container for MUON subsystem
42 TList fTriggerDigitsList[4]; ///< List of trigger digits, one per chamber
43 AliMUONGeometryTransformer *fTransformer; //!< pointer to transformation
44 AliMUONTriggerCrateStore *fCrateManager; ///< pointer to crate manager
45
46 ClassDef(AliMUONTrackHitPattern, 0) // MUON track hit pattern
47};
48
49#endif