//-*- Mode: C++ -*- // $Id: AliHLTTPCCASliceLinksPerformance.h,v 1.2 2010/08/17 15:47:14 ikulakov Exp $ // ************************************************************************ // This file is property of and copyright by the ALICE HLT Project * // ALICE Experiment at CERN, All rights reserved. * // See cxx source for full Copyright notice * // * //************************************************************************* #ifdef DO_TPCCATRACKER_EFF_PERFORMANCE #ifndef ALIHLTTPCCASLICELINKSPERFORMANCE_H #define ALIHLTTPCCASLICELINKSPERFORMANCE_H #include "AliHLTTPCCASlicePerformance.h" #include "AliHLTTPCCADef.h" #include "AliHLTArray.h" #include "AliHLTTPCCAMCTrack.h" #include "AliHLTTPCCAMCPoint.h" #include #include #include class TObject; class TParticle; class AliHLTTPCCAMCPoint; class AliHLTTPCCAGBTracker; class TDirectory; class TH1D; class TH2D; class TProfile; class TFile; class AliHLTTPCCATracker; struct PerfoTrack { vector hits; // index of hit in global array }; /** * @class AliHLTTPCCASliceLinksPerformance */ class AliHLTTPCCASliceLinksPerformance: public AliHLTTPCCASlicePerformance { public: AliHLTTPCCASliceLinksPerformance(int iSlice):AliHLTTPCCASlicePerformance(iSlice){}; virtual ~AliHLTTPCCASliceLinksPerformance(){}; virtual void SetNewEvent(const AliHLTTPCCAGBTracker * const Tracker, AliHLTResizableArray *hitLabels, AliHLTResizableArray *mcTracks, AliHLTResizableArray *localMCPoints); /// Execute standart chain of procedures virtual void Exec(bool print = false); /// Efficiency // Find reco-MCTracks correspondence virtual void MatchTracks(); // fill recoData. /// Histograms // virtual void CreateHistos(string histoDir = "", TFile* outFile = 0); protected: virtual void FillHistos(); // /// Histos // enum{ // NGhostsHisto = 2, // NGhosts2DHisto = 1, // NRecoTracksHisto = 2, // NRecoTracks2DHisto = 1 // }; friend class AliHLTTPCCASlicesLinksPerformance; private: /// create tracks from linked hits chains void CollectTracks(); vector fRecoTracks; }; #endif #endif //DO_TPCCATRACKER_EFF_PERFORMANCE