7#ifndef RECMDCKALHELIXSEG_H
8#define RECMDCKALHELIXSEG_H
9#include "GaudiKernel/ContainedObject.h"
10#include "GaudiKernel/SmartRef.h"
11#include "GaudiKernel/ObjectVector.h"
12#include "Identifier/Identifier.h"
13#include "Identifier/MdcID.h"
14#include "EventModel/EventModel.h"
15#include "CLHEP/Matrix/Vector.h"
16#include "CLHEP/Matrix/SymMatrix.h"
17#include "CLHEP/Vector/ThreeVector.h"
18#include "CLHEP/Geometry/Point3D.h"
20#ifndef ENABLE_BACKWARDS_COMPATIBILITY
34 virtual const CLID&
clID()
const {
50 double getTdc(
void)
const {
return m_tdc; }
51 double getAdc(
void)
const {
return m_adc; }
52 double getZhit(
void)
const {
return m_zhit; }
53 double getTof(
void)
const{
return m_tof; }
56 double getDD(
void)
const {
return m_dd; };
57 double getEntra(
void)
const {
return m_entra; }
58 double getDT(
void)
const {
return m_dt; }
62 double getDrIncl (
void )
const {
return m_helix_incl[0]; }
63 double getFi0Incl (
void )
const {
return m_helix_incl[1]; }
64 double getCpaIncl (
void )
const {
return m_helix_incl[2]; }
65 double getDzIncl (
void )
const {
return m_helix_incl[3]; }
68 double getDrExcl (
void )
const {
return m_helix_excl[0]; }
69 double getFi0Excl (
void )
const {
return m_helix_excl[1]; }
70 double getCpaExcl (
void )
const {
return m_helix_excl[2]; }
71 double getDzExcl (
void )
const {
return m_helix_excl[3]; }
87 void setTdc(
double tdc) { m_tdc = tdc; }
88 void setAdc(
double adc) { m_adc = adc; }
89 void setZhit(
double zhit) { m_zhit = zhit; }
90 void setTof(
double tof) { m_tof = tof; }
94 void setDD(
double dd) { m_dd = dd; }
95 void setEntra(
double entra) { m_entra = entra; }
115 m_helix_incl = helix;
118 m_error_incl = error;
121 m_helix_excl = helix;
124 m_error_excl = error;
128 for(
int i=0; i<5; i++) {
129 m_helix_incl[i] = helix[i];
134 for(
int i=0; i<5 ; i++) {
135 for(
int j=0; j<=i; j++,k++) {
136 m_error_incl[i][j] = error[k];
137 m_error_incl[j][i] = error[k];
143 for(
int i=0; i<5; i++) {
144 m_helix_excl[i] = helix[i];
150 for(
int i=0; i<5 ; i++) {
151 for(
int j=0; j<=i; j++,k++) {
152 m_error_excl[i][j] = error[k];
153 m_error_excl[j][i] = error[k];
175 HepVector m_helix_incl;
176 HepVector m_helix_excl;
178 HepSymMatrix m_error_incl;
179 HepSymMatrix m_error_excl;
HepGeom::Point3D< double > HepPoint3D
const CLID & CLID_RecMdcKalHelixSeg
ObjectVector< RecMdcKalHelixSeg > RecMdcKalHelixSegCol
void setTrackId(int trackid)
void setResIncl(double res)
void setDocaExcl(double doca)
HepVector & getHelixExcl(void)
void setHelixIncl(const HepVector &helix)
Identifier getMdcId(void) const
void setLayerId(int layerId)
int getFlagLR(void) const
void setDrIncl(double dr)
HepVector & getHelixIncl(void)
void setTanlIncl(double tanl)
double getDzIncl(void) const
void setDzIncl(double dz)
void setHelixIncl(double *helix)
int getLayerId(void) const
void setEntra(double entra)
int getTrackId(void) const
void setDzExcl(double dz)
void setFi0Excl(double fi0)
void setFi0Incl(double fi0)
double getTof(void) const
void setFlagLR(int flagLR)
HepSymMatrix & getErrorExcl(void)
double getEntra(void) const
void setErrorIncl(double *error)
double getDocaIncl(void) const
void setCpaIncl(double cpa)
void setErrorExcl(double *error)
virtual const CLID & clID() const
double getDocaExcl(void) const
void setResExcl(double res)
void setCpaExcl(double cpa)
double getCpaExcl(void) const
double getDrExcl(void) const
void setDrExcl(double dr)
void setHelixExcl(const HepVector &helix)
void setHelixExcl(double *helix)
double getTdc(void) const
void setZhit(double zhit)
double getFi0Excl(void) const
double getZhit(void) const
HepSymMatrix & getErrorIncl(void)
void setErrorExcl(const HepSymMatrix &error)
double getTanlIncl(void) const
static const CLID & classID()
double getFi0Incl(void) const
void setTanlExcl(double tanl)
RecMdcKalHelixSeg(RecMdcKalHelixSeg &seg)
void setMdcId(Identifier mdcid)
double getDrIncl(void) const
get every component of helix parameter
double getTanlExcl(void) const
double getDzExcl(void) const
void setDocaIncl(double doca)
double getAdc(void) const
double getCpaIncl(void) const
void setErrorIncl(const HepSymMatrix &error)