Logo ROOT  
Reference Guide
REvePathMark.cxx
Go to the documentation of this file.
1// @(#)root/eve7:$Id$
2// Author: Matevz Tadel 2010
3
4/*************************************************************************
5 * Copyright (C) 1995-2019, 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 <ROOT/REvePathMark.hxx>
13
14namespace ROOT {
15namespace Experimental {
16
17/** \class REvePathMarkT
18\ingroup REve
19Special-point on track:
20
21 - kDaughter : daughter creation; fP is momentum of the daughter, it is subtracted from
22 momentum of the track
23 - kReference : position/momentum reference
24 - kDecay : decay point, fP not used
25 - kCluster2D : measurement with large error in one direction (like strip detectors):
26 - fP - normal to detector plane,
27 - fE - large error direction, must be normalized.
28 - Track is propagated to plane and correction in fE direction is discarded.
29 - kLineSegment : line segment with vertex fV and vector fE
30 - fV - first point of line segment
31 - fP - normal to detector plane,
32 - fE - vector from fV to the second vertex of line segment
33*/
34
35////////////////////////////////////////////////////////////////////////////////
36/// Return the name of path-mark type.
37
38template<typename TT> const char* REvePathMarkT<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
51template class REvePathMarkT<Float_t>;
52template class REvePathMarkT<Double_t>;
53
54} // namespace Experimental
55} // namespace ROOT
Special-point on track:
const char * TypeName()
Return the name of path-mark type.
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...