7#ifndef RECCGEMKALHELIXSEG_H
8#define RECCGEMKALHELIXSEG_H
9#include "GaudiKernel/ContainedObject.h"
10#include "GaudiKernel/SmartRef.h"
11#include "GaudiKernel/ObjectVector.h"
12#include "Identifier/Identifier.h"
13#include "Identifier/CgemID.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 {
49 double getTdc(
void)
const {
return m_tdc; }
50 double getAdc(
void)
const {
return m_adc; }
51 double getZhit(
void)
const {
return m_zhit; }
52 double getTof(
void)
const{
return m_tof; }
55 double getEntra(
void)
const {
return m_entra; }
59 double getDrIncl (
void )
const {
return m_helix_incl[0]; }
60 double getFi0Incl (
void )
const {
return m_helix_incl[1]; }
61 double getCpaIncl (
void )
const {
return m_helix_incl[2]; }
62 double getDzIncl (
void )
const {
return m_helix_incl[3]; }
65 double getDrExcl (
void )
const {
return m_helix_excl[0]; }
66 double getFi0Excl (
void )
const {
return m_helix_excl[1]; }
67 double getCpaExcl (
void )
const {
return m_helix_excl[2]; }
68 double getDzExcl (
void )
const {
return m_helix_excl[3]; }
83 void setTdc(
double tdc) { m_tdc = tdc; }
84 void setAdc(
double adc) { m_adc = adc; }
85 void setZhit(
double zhit) { m_zhit = zhit; }
86 void setTof(
double tof) { m_tof = tof; }
90 void setEntra(
double entra) { m_entra = entra; }
109 m_helix_incl = helix;
112 m_error_incl = error;
115 m_helix_excl = helix;
118 m_error_excl = error;
122 for(
int i=0; i<5; i++) {
123 m_helix_incl[i] = helix[i];
128 for(
int i=0; i<5 ; i++) {
129 for(
int j=0; j<=i; j++,k++) {
130 m_error_incl[i][j] = error[k];
131 m_error_incl[j][i] = error[k];
137 for(
int i=0; i<5; i++) {
138 m_helix_excl[i] = helix[i];
144 for(
int i=0; i<5 ; i++) {
145 for(
int j=0; j<=i; j++,k++) {
146 m_error_excl[i][j] = error[k];
147 m_error_excl[j][i] = error[k];
166 HepVector m_helix_incl;
167 HepVector m_helix_excl;
169 HepSymMatrix m_error_incl;
170 HepSymMatrix m_error_excl;
HepGeom::Point3D< double > HepPoint3D
ObjectVector< RecCgemKalHelixSeg > RecCgemKalHelixSegCol
const CLID & CLID_RecCgemKalHelixSeg
const CLID & CLID_RecCgemKalHelixSeg
double getTanlIncl(void) const
void setErrorIncl(const HepSymMatrix &error)
HepVector & getHelixExcl(void)
Identifier getCgemId(void) const
double getFi0Incl(void) const
void setCpaIncl(double cpa)
double getDocaIncl(void) const
void setTanlIncl(double tanl)
void setFi0Incl(double fi0)
static const CLID & classID()
void setErrorIncl(double *error)
double getEntra(void) const
double getDzIncl(void) const
HepVector & getHelixIncl(void)
void setCpaExcl(double cpa)
void setHelixExcl(double *helix)
void setCgemId(Identifier cgemid)
void setDrExcl(double dr)
void setTrackId(int trackid)
double getDrExcl(void) const
void setDzIncl(double dz)
double getCpaExcl(void) const
double getDrIncl(void) const
get every component of helix parameter
double getTdc(void) const
double getCpaIncl(void) const
void setResIncl(double res)
double getZhit(void) const
double getAdc(void) const
double getDocaExcl(void) const
void setDzExcl(double dz)
void setHelixExcl(const HepVector &helix)
double getDzExcl(void) const
void setErrorExcl(const HepSymMatrix &error)
void setHelixIncl(double *helix)
HepSymMatrix & getErrorExcl(void)
void setFi0Excl(double fi0)
void setLayerId(int layerId)
virtual const CLID & clID() const
void setResExcl(double res)
void setErrorExcl(double *error)
HepSymMatrix & getErrorIncl(void)
double getTanlExcl(void) const
void setDocaIncl(double doca)
double getFi0Excl(void) const
int getLayerId(void) const
void setDrIncl(double dr)
void setTanlExcl(double tanl)
int getTrackId(void) const
void setDocaExcl(double doca)
void setZhit(double zhit)
double getTof(void) const
void setEntra(double entra)
void setHelixIncl(const HepVector &helix)