Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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
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
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.
REvePathMarkT< Float_t > REvePathMark
REvePathMarkT< Double_t > REvePathMarkD
REvePathMarkT< Float_t > REvePathMarkF
This file contains a specialised ROOT message handler to test for diagnostic in unit tests.