10 #include "gear/GearConfig.h"
17 #include "gearimpl/Vectors.h"
23 typedef Vector2D Point2D ;
24 typedef Vector3D Point3D ;
26 typedef std::vector<int> IntVec ;
27 typedef std::vector<double> DoubleVec ;
28 typedef std::vector<std::string> StringVec ;
45 std::string message{} ;
53 message =
"gear::Exception: " + text ;
56 virtual const char* what()
const noexcept {
return message.c_str() ; }
73 message =
"gear::ParseException: " + text ;
88 message =
"gear::NotImplementedException: " + text ;
106 message =
"gear::UnknownParameterException: " + text ;
125 message =
"gear::OutsideGeometryException: " + text ;
134 SensorID() : layer(0), side(0), module(0), sensor(0) {}
158 static const char* GEARPARAMETERS ;
159 static const char* TPCPARAMETERS ;
160 static const char* CALORIMETERPARAMETERS ;
161 static const char* ZPLANARPARAMETERS ;
162 static const char* FTDPARAMETERS ;
163 static const char* SIPLANESPARAMETERS ;
164 static const char* TRACKERPLANESPARAMETERS ;
Base exception class for GEAR - all other exceptions extend this.
NotImplementedException used for features that are not implemented.
long long long64
64 bit integer,e.g.to be used for cellids
UnknownParameterException call Processor::end().
ParseException used for parse errors, e.g.
OutsideGeometryException used if user asks for info from geometry tree where no node is defined...
virtual ~GEAR()
Destructor.
Helper struct for decoding a sensor ID.
Global constants used in GEAR.