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
17namespace ROOT {
18namespace Experimental {
19
20//==============================================================================
21// REvePathMark
22//==============================================================================
23
24template <typename TT>
26public:
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
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
#define e(i)
Definition: RSha256.hxx:103
int type
Definition: TGX11.cxx:121
Special-point on track:
REvePathMarkT(EType_e type, const REveVectorT< TT > &v, const REveVectorT< TT > &p, TT time=0)
REvePathMarkT(const REvePathMarkT< OO > &pm)
REvePathMarkT(EType_e type, const REveVectorT< TT > &v, const REveVectorT< TT > &p, const REveVectorT< TT > &e, TT time=0)
REvePathMarkT(EType_e type=kReference)
const char * TypeName()
Return the name of path-mark type.
REvePathMarkT(EType_e type, const REveVectorT< TT > &v, TT time=0)
REveVectorT A three-vector template without TObject inheritance and virtual functions.
Definition: REveVector.hxx:29
REvePathMarkT< Float_t > REvePathMark
REvePathMarkT< Double_t > REvePathMarkD
REvePathMarkT< Float_t > REvePathMarkF
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...