Class Reference for E1039 Core & Analysis Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
mTrkEveDisplay Class Reference

#include </dev/shm/kenichi/update-github-e1039-doc/e1039-core/packages/Display/modules/mTrkEveDisplay.h>

+ Inheritance diagram for mTrkEveDisplay:
+ Collaboration diagram for mTrkEveDisplay:

Public Member Functions

 mTrkEveDisplay (boost::shared_ptr< PHEveDisplay >)
 
 ~mTrkEveDisplay ()
 
void init (PHCompositeNode *topNode)
 
void init_run (PHCompositeNode *topNode)
 
bool event (PHCompositeNode *topNode)
 
void end (PHCompositeNode *topNode)
 
void get_nodes (PHCompositeNode *topNode)
 
int hit_to_wire (const int det, const int elm, double &x, double &y, double &dx, double &dy)
 
void draw_hits ()
 
void draw_tracks ()
 
bool pid_cut (int pid)
 
void clear ()
 
- Public Member Functions inherited from mPHEveModuleBase
virtual ~mPHEveModuleBase ()
 
virtual void draw_event ()
 
void add_elements ()
 
void buffer_element (TEveElement *el, TEveElement *parent_elmt)
 
void clear_element_buffer ()
 

Additional Inherited Members

- Protected Types inherited from mPHEveModuleBase
typedef std::multimap
< TEveElement *, TEveElement * > 
elmtmap
 
typedef
elmtmap::iterator::value_type 
mvt
 
- Protected Attributes inherited from mPHEveModuleBase
TEveManager * _evemanager
 
elmtmap _elmt_buffer
 

Detailed Description

Definition at line 32 of file mTrkEveDisplay.h.

Constructor & Destructor Documentation

mTrkEveDisplay::mTrkEveDisplay ( boost::shared_ptr< PHEveDisplay dispin)
mTrkEveDisplay::~mTrkEveDisplay ( )

Definition at line 79 of file mTrkEveDisplay.cxx.

Member Function Documentation

void mTrkEveDisplay::clear ( )
virtual

Implements mPHEveModuleBase.

Definition at line 381 of file mTrkEveDisplay.cxx.

References GeomSvc::getPlaneCenterZ(), and NDETPLANES.

Referenced by event().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void mTrkEveDisplay::draw_hits ( )

Definition at line 179 of file mTrkEveDisplay.cxx.

References SQHitVector::begin(), SQHitVector::end(), SQHit::get_detector_id(), SQHit::get_element_id(), hit_to_wire(), LogInfo, and NDETPLANES.

Referenced by event().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void mTrkEveDisplay::draw_tracks ( )

Definition at line 250 of file mTrkEveDisplay.cxx.

References SQHitVector::at(), SQHit::get_hit_id(), SRecTrack::getCharge(), GeomSvc::getDetectorID(), SRecTrack::getExpPositionFast(), SRecTrack::getMomentumSt1(), SRecEvent::getNTracks(), GeomSvc::getPlaneCenterZ(), SRecTrack::getPositionSt1(), SRecTrack::getTargetMom(), SRecTrack::getTargetPos(), SRecEvent::getTrack(), GeomSvc::instance(), LogInfo, and SQHitVector::size().

Referenced by event().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void mTrkEveDisplay::end ( PHCompositeNode topNode)
virtual

Implements mPHEveModuleBase.

Definition at line 122 of file mTrkEveDisplay.cxx.

bool mTrkEveDisplay::event ( PHCompositeNode topNode)
virtual

Implements mPHEveModuleBase.

Definition at line 95 of file mTrkEveDisplay.cxx.

References clear(), draw_hits(), draw_tracks(), get_nodes(), and LogInfo.

+ Here is the call graph for this function:

void mTrkEveDisplay::get_nodes ( PHCompositeNode topNode)

Definition at line 127 of file mTrkEveDisplay.cxx.

Referenced by event().

+ Here is the caller graph for this function:

int mTrkEveDisplay::hit_to_wire ( const int  det,
const int  elm,
double &  x,
double &  y,
double &  dx,
double &  dy 
)

Get a wire param from detector id and element id

Parameters
[in]det,elminput
[out]x,y1 end point of the wire
[out]dx,dywire span in x and y

Definition at line 138 of file mTrkEveDisplay.cxx.

References GeomSvc::getCostheta(), GeomSvc::getMeasurement(), GeomSvc::getPlane(), GeomSvc::getSintheta(), Plane::x1, Plane::x2, Plane::y1, and Plane::y2.

Referenced by draw_hits().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void mTrkEveDisplay::init ( PHCompositeNode topNode)
virtual

Implements mPHEveModuleBase.

Definition at line 84 of file mTrkEveDisplay.cxx.

void mTrkEveDisplay::init_run ( PHCompositeNode topNode)
virtual

Implements mPHEveModuleBase.

Definition at line 89 of file mTrkEveDisplay.cxx.

bool mTrkEveDisplay::pid_cut ( int  pid)

Definition at line 371 of file mTrkEveDisplay.cxx.


The documentation for this class was generated from the following files: