Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TEvePathMark.h
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#ifndef ROOT_TEvePathMark
13#define ROOT_TEvePathMark
14
15#include <TEveVector.h>
16
17//==============================================================================
18// TEvePathMark
19//==============================================================================
20
21template <typename TT>
23{
24public:
26
27 EType_e fType; // Mark-type.
28 TEveVectorT<TT> fV; // Vertex.
29 TEveVectorT<TT> fP; // Momentum.
30 TEveVectorT<TT> fE; // Extra, meaning depends on fType.
31 TT fTime; // Time.
32
34 fType(type), fV(), fP(), fE(), fTime(0) {}
35
37 fType(type), fV(v), fP(), fE(), fTime(time) {}
38
40 fType(type), fV(v), fP(p), fE(), fTime(time) {}
41
43 fType(type), fV(v), fP(p), fE(e), fTime(time) {}
44
45 template <typename OO>
47 fType((EType_e)pm.fType), fV(pm.fV), fP(pm.fP), fE(pm.fE), fTime(pm.fTime) {}
48
49 const char* TypeName();
50
51 ClassDefNV(TEvePathMarkT, 1); // Template for a special point on a track: position/momentum reference, daughter creation or decay.
52};
53
57
58#endif
#define e(i)
Definition RSha256.hxx:103
TEvePathMarkT< Float_t > TEvePathMark
TEvePathMarkT< Float_t > TEvePathMarkF
TEvePathMarkT< Double_t > TEvePathMarkD
int type
Definition TGX11.cxx:121
Special-point on track:
TEvePathMarkT(const TEvePathMarkT< OO > &pm)
TEvePathMarkT(EType_e type, const TEveVectorT< TT > &v, const TEveVectorT< TT > &p, TT time=0)
TEvePathMarkT(EType_e type, const TEveVectorT< TT > &v, TT time=0)
ClassDefNV(TEvePathMarkT, 1)
TEvePathMarkT(EType_e type=kReference)
TEvePathMarkT(EType_e type, const TEveVectorT< TT > &v, const TEveVectorT< TT > &p, const TEveVectorT< TT > &e, TT time=0)
TEveVectorT< TT > fP
TEveVectorT< TT > fV
TEveVectorT< TT > fE
const char * TypeName()
Return the name of path-mark type.
Minimal, templated three-vector.
Definition TEveVector.h:28