AliRoot Core  v5-06-30 (35d6c57)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMUONRecoCheck.h
Go to the documentation of this file.
1 #ifndef ALIMUONRECOCHECK_H
2 #define ALIMUONRECOCHECK_H
3 
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5  * See cxx source for full Copyright notice */
6 
7 /* $Id$ */
8 
12 
13 #include <TObject.h>
14 
15 class TClonesArray;
16 class TFile;
17 class TTree;
18 class AliESDEvent;
19 class AliMCEventHandler;
20 class AliMUONVTrackStore;
22 class AliMUONTrack;
23 class AliMUONTrackParam;
30 
31 class AliMUONRecoCheck : public TObject
32 {
33 public:
34  AliMUONRecoCheck(const Char_t *chLoader, const Char_t *pathSim = "./");
35  AliMUONRecoCheck(AliESDEvent *esdEvent, AliMCEventHandler *mcEventHandler);
36  virtual ~AliMUONRecoCheck();
37 
39  AliMUONVTrackStore* ReconstructedTracks(Int_t event, Bool_t refit = kTRUE);
40 
43 
44  Bool_t TriggerToTrack(const AliMUONLocalTrigger& locTrg, AliMUONTriggerTrack& triggerTrack);
45 
47  AliMUONVTrackStore* TrackRefs(Int_t event);
48 
51 
54  Bool_t request2ChInSameSt45 = kTRUE,
55  Bool_t hitInFrontOfPad = kFALSE);
56 
57 
59  Int_t GetRunNumber();
60 
62  Int_t NumberOfEvents() const;
63 
65  const AliESDEvent* GetESDEvent() const { return fESDEvent; }
66 
68  const AliMCEventHandler* GetMCEventHandler() const { return fMCEventHandler; }
69 
72  Int_t &nMatchClusters, Bool_t useLabel = kFALSE,
73  Double_t sigmaCut = 10.);
74 
77  const AliMUONVTriggerTrackStore &triggerTrackStore,
78  Double_t sigmaCut = 10.);
79 
80 private:
85 
86  void ResetStores();
87 
88  void MakeReconstructedTracks(Bool_t refit);
89 
90  void MakeTriggeredTracks();
91 
92  void MakeTrackRefs();
93 
94  void CleanMuonTrackRef(const AliMUONVTrackStore *tmpTrackRefStore);
95 
97  Bool_t hitInFrontOfPad = kFALSE);
98 
99  void MakeTriggerableTracks();
100 
101  Bool_t InitCircuit();
102  Bool_t InitTriggerResponse();
103  Bool_t InitCalibrationData();
104  Bool_t InitGeometryTransformer();
105 
106  Bool_t IsHitInFrontOfPad(AliMUONTrackParam *param) const;
107 
108 private:
109  AliMCEventHandler* fMCEventHandler;
110  AliESDEvent* fESDEvent;
111  TTree* fESDTree;
112  TFile* fESDFile;
113 
115 
121 
126 
127  Bool_t fESDEventOwner;
128 
129  ClassDef(AliMUONRecoCheck, 0) //Utility class to check reconstruction
130 };
131 
132 #endif
133 
TTree * fESDTree
ESD tree to access MUON data.
Base class of a track container.
const AliMCEventHandler * GetMCEventHandler() const
Return the interface to the Monte Carlo data of current event.
AliMUONVTrackStore * ReconstructibleTracks(Int_t event, UInt_t requestedStationMask=0x1F, Bool_t request2ChInSameSt45=kTRUE, Bool_t hitInFrontOfPad=kFALSE)
Return reconstructible reference tracks.
Int_t NumberOfEvents() const
Return the total number of events.
Top container class for geometry transformations.
AliMUONGeometryTransformer * fGeometryTransformer
geometry transformer
AliMUONRecoCheck & operator=(const AliMUONRecoCheck &rhs)
Not implemented.
Int_t GetRunNumber()
Return the run number of the current ESD event.
Int_t fCurrentEvent
current event number
Track parameters in ALICE dimuon spectrometer.
AliTPCfastTrack * track
Reconstructed trigger track in ALICE dimuon spectrometer.
AliMUONVTriggerTrackStore * TriggeredTracks(Int_t event)
Return the list of reconstructed trigger tracks.
Bool_t request2ChInSameSt45
Definition: MUONFakes.C:38
Utility class to check reconstruction.
Manager class for muon trigger electronics.
AliMUONVTrackStore * TrackRefs(Int_t event)
Return reference muon tracks.
AliMUONRecoCheck(const Char_t *chLoader, const Char_t *pathSim="./")
Double_t sigmaCut
Definition: DIMUONFakes.C:36
AliMUONVTriggerTrackStore * fRecoTriggerRefStore
current triggerable tracks (owner)
Bool_t fESDEventOwner
using constructor from the analysis task
AliMUONVTrackStore * fRecoTrackStore
current reconstructed tracks (owner)
AliMUONVTrackStore * fTrackRefStore
current simulated tracks (owner)
Reconstructed Local Trigger object.
MUON Trigger circuit.
Bool_t InitGeometryTransformer()
AliMUONTriggerElectronics * fTriggerElectronics
object to re-compute the trigger info
void MakeReconstructedTracks(Bool_t refit)
Bool_t TriggerToTrack(const AliMUONLocalTrigger &locTrg, AliMUONTriggerTrack &triggerTrack)
AliESDEvent * fESDEvent
ESD event to access MUON data.
Base class of a trigger track store.
AliMUONCalibrationData * fCalibrationData
! Used to load Local, Regional and Global masks
static AliMUONTrack * FindCompatibleTrack(AliMUONTrack &track, AliMUONVTrackStore &trackStore, Int_t &nMatchClusters, Bool_t useLabel=kFALSE, Double_t sigmaCut=10.)
Return the track from the store matched with the given track (or 0x0) and the fraction of matched clu...
AliMUONVTriggerTrackStore * fRecoTriggerTrackStore
current reconstructed trigger tracks (owner)
AliMUONVTrackStore * ReconstructedTracks(Int_t event, Bool_t refit=kTRUE)
Return the list of reconstructed tracks.
TFile * fESDFile
ESD file to access MUON data.
Single entry point to access MUON calibration data.
UInt_t requestedStationMask
Definition: MUONFakes.C:37
void CleanMuonTrackRef(const AliMUONVTrackStore *tmpTrackRefStore)
AliMUONVTriggerTrackStore * TriggerableTracks(Int_t event)
Return triggerable reference tracks.
Reconstructed track in ALICE dimuon spectrometer.
Definition: AliMUONTrack.h:24
AliMUONVTrackStore * fRecoTrackRefStore
current reconstructible tracks (owner)
AliMCEventHandler * fMCEventHandler
to access MC truth information
Bool_t IsHitInFrontOfPad(AliMUONTrackParam *param) const
AliMUONTriggerCircuit * fTriggerCircuit
trigger circuit
const AliESDEvent * GetESDEvent() const
Return the reconstructed data of current event.
void MakeReconstructibleTracks(UInt_t requestedStationMask, Bool_t request2ChInSameSt45=kTRUE, Bool_t hitInFrontOfPad=kFALSE)