MarlinTPC  1.2.0
RelativePosition.h
1 #ifndef RELATIVEPOSITION_H_
2 #define RELATIVEPOSITION_H_
3 
4 #include "UTIL/LCFixedObject.h"
5 
6 namespace EVENT {
7 
8  class LCCollection;
9 }
10 
11 namespace CLHEP {
12 
13  class Hep3Vector;
14 }
15 
16 
17 namespace marlintpc {
18 
24 class RelativePosition : public UTIL::LCFixedObject< 0, 0, 5 > {
25 
26 public:
30 
31  RelativePosition( EVENT::LCObject* );
32 
35  virtual ~RelativePosition();
36 
37 
38  double get_x_position( void ) const;
39 
40  void set_x_position( double );
41 
42  double get_y_position( void ) const;
43 
44  void set_y_position( double );
45 
46  double get_z_position( void ) const;
47 
48  void set_z_position( double );
49 
50  double get_x_rotation( void ) const;
51 
52  CLHEP::Hep3Vector get_position( void ) const;
53 
54  void set_position( CLHEP::Hep3Vector );
55 
56  void set_x_rotation( double );
57 
58  double get_y_rotation( void ) const;
59 
60  void set_y_rotation( double );
61 
62 
65  const std::string getTypeName( void ) const;
66 
69  const std::string getDataDescription( void ) const;
70 
71 };
72 
73 }
74 
75 #endif /* RELATIVEPOSITION_H_ */
virtual ~RelativePosition()
destructor
Definition: RelativePosition.cc:49
RelativePosition()
constructor
Definition: RelativePosition.cc:12
const std::string getDataDescription(void) const
returns the type of data in the generic object
Definition: RelativePosition.cc:108
const std::string getTypeName(void) const
returns the typename of the class
Definition: RelativePosition.cc:103
RelativePosition: An LCObject to hold a translation and two possible angles.
Definition: RelativePosition.h:24