Class Reference for E1039 Core & Analysis Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
mTrkEveDisplay.h
Go to the documentation of this file.
1 /*
2  \file mTrkEveDisplay.h
3  \author Sookhyun Lee
4  \brief reconstructed charged tracks and their clusters
5  \version $Revision: 1.1 $
6  \date $Date: 07/26/2016
7 */
8 
9 #ifndef __MTRKEVEDISPLAY_H__
10 #define __MTRKEVEDISPLAY_H__
11 
12 #include "mPHEveModuleBase.h"
13 #include <boost/shared_ptr.hpp>
14 #include <set>
15 
16 class TEveManager;
17 class TEveTrackPropagator;
18 class TEveElementList;
19 class TEveTrackList;
20 class PHEveDisplay;
21 class TH2F;
22 
23 class SQHit;
24 class SQHitVector;
25 class SRecEvent;
26 
27 class TEveQuadSet;
28 class GeomSvc;
29 
30 #define NDETPLANES 63
31 
33 {
34 
35  public:
36 
39 
40  void init(PHCompositeNode* topNode);
41  void init_run(PHCompositeNode* topNode);
42  bool event(PHCompositeNode* topNode);
43  void end(PHCompositeNode* topNode);
44 
45  void get_nodes(PHCompositeNode* topNode);
51  int hit_to_wire(const int det, const int elm, double & x, double & y, double &dx, double &dy);
52  void draw_hits();
53  void draw_tracks();
54  bool pid_cut(int pid);
55  void clear();
56 
57  private:
58 
60  SQHitVector *_sqhit_col;
61  SRecEvent *_recEvent;
62 
63  TEveTrackPropagator* _prop;
64  TEveTrackList* _reco_tracks;
65  TEveQuadSet* _hit_wires[NDETPLANES];
66 
67  GeomSvc* _geom_svc;
68 
69  int verbosity;
70 };
71 
72 #endif // __MTRKEVEDISPLAY_H__
void get_nodes(PHCompositeNode *topNode)
#define NDETPLANES
bool event(PHCompositeNode *topNode)
An SQ interface class to hold one detector hit.
Definition: SQHit.h:20
mTrkEveDisplay(boost::shared_ptr< PHEveDisplay >)
void end(PHCompositeNode *topNode)
void init(PHCompositeNode *topNode)
int hit_to_wire(const int det, const int elm, double &x, double &y, double &dx, double &dy)
bool pid_cut(int pid)
An SQ interface class to hold a list of SQHit objects.
Definition: SQHitVector.h:32
void init_run(PHCompositeNode *topNode)