Logo ROOT  
Reference Guide
REvePathMark.hxx
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 #ifndef ROOT7_REvePathMark
13 #define ROOT7_REvePathMark
14 
15 #include <ROOT/REveVector.hxx>
16 
17 namespace ROOT {
18 namespace Experimental {
19 
20 //==============================================================================
21 // REvePathMark
22 //==============================================================================
23 
24 template <typename TT>
26 public:
28 
29  EType_e fType; // Mark-type.
30  REveVectorT<TT> fV; // Vertex.
31  REveVectorT<TT> fP; // Momentum.
32  REveVectorT<TT> fE; // Extra, meaning depends on fType.
33  TT fTime; // Time.
34 
36 
37  REvePathMarkT(EType_e type, const REveVectorT<TT> &v, TT time = 0) : fType(type), fV(v), fP(), fE(), fTime(time) {}
38 
39  REvePathMarkT(EType_e type, const REveVectorT<TT> &v, const REveVectorT<TT> &p, TT time = 0)
40  : fType(type), fV(v), fP(p), fE(), fTime(time)
41  {
42  }
43 
45  TT time = 0)
46  : fType(type), fV(v), fP(p), fE(e), fTime(time)
47  {
48  }
49 
50  template <typename OO>
52  : fType((EType_e)pm.fType), fV(pm.fV), fP(pm.fP), fE(pm.fE), fTime(pm.fTime)
53  {
54  }
55 
56  const char *TypeName();
57 };
58 
62 
63 } // namespace Experimental
64 } // namespace ROOT
65 
66 #endif
ROOT::Experimental::REvePathMarkT::fV
REveVectorT< TT > fV
Definition: REvePathMark.hxx:30
ROOT::Experimental::REvePathMarkT
Special-point on track:
Definition: REvePathMark.hxx:25
e
#define e(i)
Definition: RSha256.hxx:103
ROOT::Experimental::REvePathMarkT::EType_e
EType_e
Definition: REvePathMark.hxx:27
ROOT::Experimental::REvePathMark
REvePathMarkT< Float_t > REvePathMark
Definition: REvePathMark.hxx:59
ROOT::Experimental::REvePathMarkT::REvePathMarkT
REvePathMarkT(EType_e type, const REveVectorT< TT > &v, TT time=0)
Definition: REvePathMark.hxx:37
ROOT::Experimental::REvePathMarkT::REvePathMarkT
REvePathMarkT(EType_e type, const REveVectorT< TT > &v, const REveVectorT< TT > &p, const REveVectorT< TT > &e, TT time=0)
Definition: REvePathMark.hxx:44
ROOT::Experimental::REvePathMarkT::REvePathMarkT
REvePathMarkT(const REvePathMarkT< OO > &pm)
Definition: REvePathMark.hxx:51
ROOT::Experimental::REvePathMarkF
REvePathMarkT< Float_t > REvePathMarkF
Definition: REvePathMark.hxx:60
ROOT::Experimental::REveVectorT
REveVectorT A three-vector template without TObject inheritance and virtual functions.
Definition: REveVector.hxx:29
v
@ v
Definition: rootcling_impl.cxx:3635
ROOT::Experimental::REvePathMarkT::kDecay
@ kDecay
Definition: REvePathMark.hxx:27
ROOT::Experimental::REvePathMarkT::TypeName
const char * TypeName()
Return the name of path-mark type.
Definition: REvePathMark.cxx:38
ROOT::Experimental::REvePathMarkT::kCluster2D
@ kCluster2D
Definition: REvePathMark.hxx:27
ROOT::Experimental::REvePathMarkT::REvePathMarkT
REvePathMarkT(EType_e type, const REveVectorT< TT > &v, const REveVectorT< TT > &p, TT time=0)
Definition: REvePathMark.hxx:39
ROOT::Experimental::REvePathMarkT::fTime
TT fTime
Definition: REvePathMark.hxx:33
ROOT::Experimental::REvePathMarkD
REvePathMarkT< Double_t > REvePathMarkD
Definition: REvePathMark.hxx:61
ROOT::Experimental::REvePathMarkT::kLineSegment
@ kLineSegment
Definition: REvePathMark.hxx:27
ROOT::Experimental::REvePathMarkT::fP
REveVectorT< TT > fP
Definition: REvePathMark.hxx:31
ROOT::Experimental::REvePathMarkT::fType
EType_e fType
Definition: REvePathMark.hxx:29
ROOT::Experimental::REvePathMarkT::fE
REveVectorT< TT > fE
Definition: REvePathMark.hxx:32
ROOT::Experimental::REvePathMarkT::kReference
@ kReference
Definition: REvePathMark.hxx:27
REveVector.hxx
ROOT::Experimental::REvePathMarkT::REvePathMarkT
REvePathMarkT(EType_e type=kReference)
Definition: REvePathMark.hxx:35
type
int type
Definition: TGX11.cxx:121
ROOT
VSD Structures.
Definition: StringConv.hxx:21
ROOT::Experimental::REvePathMarkT::kDaughter
@ kDaughter
Definition: REvePathMark.hxx:27