Logo ROOT   6.14/05
Reference Guide
TEvePathMark.cxx
Go to the documentation of this file.
1 // @(#)root/eve:$Id$
2 // Author: Matevz Tadel 2010
3 
4 /*************************************************************************
5  * Copyright (C) 1995-2007, Rene Brun and Fons Rademakers. *
6  * All rights reserved. *
7  * *
8  * For the licensing terms see $ROOTSYS/LICENSE. *
9  * For the list of contributors see $ROOTSYS/README/CREDITS. *
10  *************************************************************************/
11 
12 #include "TEvePathMark.h"
13 
14 /** \class TEvePathMarkT
15 \ingroup TEve
16 Special-point on track:
17 
18  - kDaughter : daughter creation; fP is momentum of the daughter, it is subtracted from
19  momentum of the track
20  - kReference : position/momentum reference
21  - kDecay : decay point, fP not used
22  - kCluster2D : measurement with large error in one direction (like strip detectors):
23  - fP - normal to detector plane,
24  - fE - large error direction, must be normalized.
25  - Track is propagated to plane and correction in fE direction is discarded.
26  - kLineSegment : line segment with vertex fV and vector fE
27  - fV - first point of line segment
28  - fP - normal to detector plane,
29  - fE - vector from fV to the second vertex of line segment
30 */
31 
34 
35 ////////////////////////////////////////////////////////////////////////////////
36 /// Return the name of path-mark type.
37 
38 template<typename TT> const char* TEvePathMarkT<TT>::TypeName()
39 {
40  switch (fType)
41  {
42  case kDaughter: return "Daughter";
43  case kReference: return "Reference";
44  case kDecay: return "Decay";
45  case kCluster2D: return "Cluster2D";
46  case kLineSegment: return "LineSegment";
47  default: return "Unknown";
48  }
49 }
50 
51 template class TEvePathMarkT<Float_t>;
52 template class TEvePathMarkT<Double_t>;
const char * TypeName()
Return the name of path-mark type.
Special-point on track:
Definition: TEvePathMark.h:22
PyObject * fType
#define ClassImp(name)
Definition: Rtypes.h:359