3 #ifndef G4VERTEX_GLOBALVERTEX_H
4 #define G4VERTEX_GLOBALVERTEX_H
27 typedef std::map<GlobalVertex::VTXTYPE, VertexVector>::const_iterator
ConstVertexIter;
28 typedef std::map<GlobalVertex::VTXTYPE, VertexVector>::iterator
VertexIter;
31 typedef std::map<GlobalVertex::VTXTYPE, unsigned int>::const_iterator
ConstVtxIter;
32 typedef std::map<GlobalVertex::VTXTYPE, unsigned int>::iterator
VtxIter;
40 void identify(std::ostream&
os = std::cout)
const override
42 os <<
"GlobalVertex base class" << std::endl;
44 int isValid()
const override {
return 0; }
49 virtual unsigned int get_id()
const {
return 0xFFFFFFFF; }
52 virtual float get_t()
const {
return NAN; }
58 virtual float get_x()
const {
return NAN; }
61 virtual float get_y()
const {
return NAN; }
64 virtual float get_z()
const {
return NAN; }
70 virtual unsigned int get_ndof()
const {
return 0xFFFFFFFF; }
76 virtual float get_error(
unsigned int ,
unsigned int )
const {
return NAN; }
77 virtual void set_error(
unsigned int ,
unsigned int ,
float ) {}
79 virtual unsigned int get_beam_crossing()
const {
return std::numeric_limits<unsigned int>::max(); }