Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:14:07

0001 /*
0002  * OrbStruct.h
0003  *
0004  *  Created on: 11.07.2016
0005  *      Author: rasehgal
0006  */
0007 
0008 #ifndef VECGEOM_VOLUMES_ORBSTRUCT_H_
0009 #define VECGEOM_VOLUMES_ORBSTRUCT_H_
0010 #include "VecGeom/base/Global.h"
0011 
0012 namespace vecgeom {
0013 
0014 inline namespace VECGEOM_IMPL_NAMESPACE {
0015 
0016 // An Orb struct without member functions to encapsulate just the parameters
0017 template <typename T = double>
0018 struct OrbStruct {
0019   T fR; //<the radius of Orb
0020 
0021   VECCORE_ATT_HOST_DEVICE
0022   OrbStruct() : fR(0.) {}
0023 
0024   VECCORE_ATT_HOST_DEVICE
0025   OrbStruct(const T r) : fR(r) {}
0026 };
0027 }
0028 } // end
0029 
0030 #endif