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
winID h TVirtualViewer3D TVirtualGLPainter p
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t type
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