CGEM BOSS 6.6.5.g
BESIII Offline Software System
Loading...
Searching...
No Matches
DstCgemSegment.h
Go to the documentation of this file.
1#ifndef DSTCGEMSEGMENT_H
2#define DSTCGEMSEGMENT_H
3#include "GaudiKernel/ObjectVector.h"
4#include "GaudiKernel/ContainedObject.h"
6#include <vector>
7#include "CLHEP/Matrix/Vector.h"
8#include "CLHEP/Matrix/SymMatrix.h"
9#include "CLHEP/Vector/ThreeVector.h"
10#include "CLHEP/Geometry/Point3D.h"
11#include "CLHEP/Vector/LorentzVector.h"
12
13#ifndef ENABLE_BACKWARDS_COMPATIBILITY
14// backwards compatibility will be enabled ONLY in CLHEP 1.9
16#endif
17using namespace CLHEP;
18
19using namespace std;
20using namespace EventModel;
21extern const CLID &CLID_DstCgemSegment;
22
23
24class DstCgemSegment : virtual public ContainedObject
25{
26 public:
30 virtual ~DstCgemSegment() {}
31 virtual const CLID& clID() const { return DstCgemSegment::classID();}
32 static const CLID& classID() { return CLID_DstCgemSegment; }
33
34 /// ......
35
36 const int getclusterid_1() const { return m_clusterId_1;}
37 const int getclusterid_2() const { return m_clusterId_2;}
38 const int getclusterid_3() const { return m_clusterId_3;}
39 const int getsegmentid() const { return m_segmentId; }
40 const int geteventid() const { return m_eventId; }
41 const int getmatch() const { return m_match; }
42 const double gethelix(const int i) const { return m_helix[i]; }
43 const double gethelix_err(const int i) const { return m_helix_err[i]; }
44
45
46 // set functions
47 void setclusterid_1(const int clusterId_1 ) { m_clusterId_1 = clusterId_1; }
48 void setclusterid_2(const int clusterId_2 ) { m_clusterId_2 = clusterId_2; }
49 void setclusterid_3(const int clusterId_3 ) { m_clusterId_3 = clusterId_3; }
50 void setsegmentid(const int segmentId ) { m_segmentId = segmentId; }
51 void seteventid(const int eventId ) { m_eventId = eventId; }
52 void setmatch(const int match ) { m_match = match; }
53 void sethelix(double helix[5]);
54 void sethelix_err(double helix_err[15]);
55
56 protected:
62 int m_match ;
63 double m_helix[5];
64 double m_helix_err[15];
65};
66
67typedef ObjectVector<DstCgemSegment> DstCgemSegmentCol;
68
69#endif //DST_CGEMSEGMENT_H
70
ObjectVector< DstCgemSegment > DstCgemSegmentCol
HepGeom::Point3D< double > HepPoint3D
const CLID & CLID_DstCgemSegment
Definition: EventModel.cxx:308
const int getclusterid_3() const
const int getmatch() const
static const CLID & classID()
void setclusterid_2(const int clusterId_2)
DstCgemSegment & operator=(const DstCgemSegment &)
const int getsegmentid() const
void setmatch(const int match)
double m_helix[5]
const int geteventid() const
void setsegmentid(const int segmentId)
void setclusterid_1(const int clusterId_1)
void seteventid(const int eventId)
virtual ~DstCgemSegment()
void setclusterid_3(const int clusterId_3)
const int getclusterid_2() const
virtual const CLID & clID() const
const int getclusterid_1() const
......
const double gethelix_err(const int i) const
double m_helix_err[15]
const double gethelix(const int i) const
void sethelix(double helix[5])
void sethelix_err(double helix_err[15])