1 /* This file is property of and copyright by the ALICE HLT Project *
2 * ALICE Experiment at CERN, All rights reserved. *
3 * See cxx source for full Copyright notice */
5 /// @file AliHLTEveCalo.h
6 /// @author Svein Lindal
7 /// @brief HLT Instance of Eve display processor
8 // Author: Svein Lindal <slindal@fys.uio.no>
10 #ifndef ALIHLTEVEHLT_H
11 #define ALIHLTEVEHLT_H
13 #include "AliHLTEveBase.h"
18 class TEveTrackPropagator;
20 class AliExternalTrackParam;
23 class AliHLTEveHLT : public AliHLTEveBase {
33 /** Inherited from AliHLTEveBase */
34 void ProcessBlock(AliHLTHOMERBlockDesc * block);
36 /** inherited from AliHLTEveBase */
37 void UpdateElements();
39 /** inherited from AliHLTEveBase */
44 /** copy constructor prohibited */
45 AliHLTEveHLT(const AliHLTEveHLT&);
46 /** assignment operator prohibited */
47 AliHLTEveHLT& operator = (const AliHLTEveHLT );
49 /*Create the pointset for the display */
50 void CreateTrackList();
52 // Make a standard track representation and put it into given container.
53 // Choose which parameters to use a track's starting point.
54 // If gkFixFailedITSExtr is TRUE (FALSE by default) and
55 // if ITS refit failed, take track parameters at inner TPC radius.
56 AliEveTrack * MakeEsdTrack(AliESDtrack *at, TEveTrackList* cont);
58 // Process the ESD block and call the functions necessary to fill the tracklist
59 void ProcessEsdBlock( AliHLTHOMERBlockDesc * block, TEveTrackList * cont );
61 //Set up the track propagator
62 void SetUpTrackPropagator(TEveTrackPropagator* trkProp, Float_t magF, Float_t maxR);
64 //Create a title for the track
65 TString CreateTrackTitle(AliESDtrack* t);
67 ///Create the pointset to display primary vertex
68 void CreateVertexPointSet();
70 //Add track param to AliEveTrack
71 void AddTrackParamToTrack(AliEveTrack* track, const AliExternalTrackParam* tp);
73 //Process histogram block
74 void ProcessHistograms(AliHLTHOMERBlockDesc * block, TCanvas * canvas);
76 //Create tpc qa histograms
77 void CreateHistograms();
79 //Draw tpc qa histograms
80 void DrawHistograms();
83 Bool_t fTrueField; //Use true field?
84 Bool_t fUseIpOnFailedITS; // Use IP as origin if ITS refit fails?
85 Bool_t fUseRkStepper; // Use Runge Kutta for something something?
87 TEveTrackList * fTrackList; //Eve tracklist
88 TEvePointSet * fPointSetVertex; //Display primary vertex
90 TCanvas * fTrCanvas; //Canvas for track qa histos
92 TH1F * fHistPt; //Pt histo
93 TH1F * fHistP; //p histo
94 TH1F * fHistEta; //Eta histo
95 TH1F * fHistTheta; //Theta histo
96 TH1F * fHistPhi; //Phi histo
97 TH1F * fHistnClusters;//nClusters histo
98 TH1F * fHistMult; //Mult histo
100 ClassDef(AliHLTEveHLT, 0);