1 #ifndef ALIMUONQAMAPPINGCHECK_H
2 #define ALIMUONQAMAPPINGCHECK_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
10 /// \class AliMUONQAMappingCheck
11 /// \brief Class to be called from AliMUONQADataMakerRec
13 // author Laurent Aphecetche
19 class AliMUONDigitCalibrator;
20 class AliMUONGeometryTransformer;
21 class AliMUONVCluster;
23 class AliMUONVTrackerData;
25 class AliMUONQAMappingCheck : public TObject
28 AliMUONQAMappingCheck(Int_t runNumber);
29 virtual ~AliMUONQAMappingCheck();
33 AliMUONVTrackerData* CreateData(const char* name) const;
35 void Store(AliMUONVCluster& cluster);
39 /// not defined on purpose
40 AliMUONQAMappingCheck(const AliMUONQAMappingCheck& rhs);
41 /// not defined on purpose
42 AliMUONQAMappingCheck& operator=(const AliMUONQAMappingCheck& rhs);
44 void GetClusterLocation(AliMUONVCluster& cluster,
45 Int_t& manuBending, Int_t& manuBendingChannel,
46 Int_t& manuNonBending, Int_t& manuNonBendingChannel,
47 Bool_t& monoCathode, Bool_t& legitimateMonoCathode);
49 void AddClusterLocation(Int_t detElemId,
50 Int_t manuId, Int_t manuChannel,
51 Bool_t monoCathode, Bool_t legitimateMonoCathode);
53 Bool_t IsChannelDead(Int_t detElemId, Int_t manuId, Int_t manuChannel) const;
55 Bool_t IsManuDead(Int_t detElemId, Int_t manuId) const;
59 AliMUONVStore* fStore; //!< store cluster informations at manu level
61 AliMUONGeometryTransformer* fGeometryTransformer; //!< to go from global to local DE coordinates
63 AliMUONDigitCalibrator* fDigitCalibrator; //!< to get statusmap
65 Int_t fNumberOfEvents; //!< number of events seen
67 Int_t fNumberOfClusters; //!< total number of clusters seen
69 Int_t fNumberOfMonoCathodeClusters; //!< total number of mono-cathode clusters seen
71 Int_t fNumberOfLegitimateMonoCathodeClusters; //!< number of mono-cathode that have a reason to be so
73 ClassDef(AliMUONQAMappingCheck,1) // QADataMaker helper class