00001 00011 #ifndef XAODFORWARD_VERSIONS_AFPTRACK_V1_H 00012 #define XAODFORWARD_VERSIONS_AFPTRACK_V1_H 00013 00014 // general includes 00015 #include<vector> 00016 00017 // EDM include(s): 00018 #include "AthContainers/AuxElement.h" 00019 #include "AthLinks/ElementLink.h" 00020 00021 // needed for forward declaration 00022 #include "AthContainers/DataVector.h" 00023 00024 namespace xAOD { 00025 // forward declaration 00026 class AFPSiHit_v1; 00027 typedef AFPSiHit_v1 AFPSiHit; 00028 typedef DataVector< AFPSiHit > AFPSiHitContainer; 00029 00036 class AFPTrack_v1 : public SG::AuxElement 00037 { 00038 public: 00040 typedef ElementLink< AFPSiHitContainer > AFPHitLink_t; 00041 00047 int stationID() const; 00048 00058 void setStationID (int stationID); 00059 00066 float xLocal() const; 00067 00075 void setXLocal (float newXLocal); 00076 00082 float yLocal() const; 00083 00091 void setYLocal (float newYLocal); 00092 00098 float zLocal() const; 00099 00107 void setZLocal (float newZLocal); 00108 00119 float xSlope() const; 00120 00128 void setXSlope (float newXSlope); 00129 00130 00141 float ySlope() const; 00142 00150 void setYSlope (float newYSlope); 00151 00152 // float zSlope() const; 00153 // void setZSlope (float newZSlope); 00154 00163 int nHoles() const; 00164 00165 00173 void setNHoles (int nHoles); 00174 00175 00181 int nHits() const; 00182 00188 void setNHits (int nHits); 00189 00205 const std::vector<AFPHitLink_t>& hits() const; 00206 00212 void setHits( const std::vector<AFPHitLink_t>& newHitsVector ); 00213 00222 void addHit( const AFPHitLink_t& newHit); 00223 00232 float chi2() const; 00233 00239 void setChi2 (float newFChi2); 00240 00252 int algID() const; 00253 00261 void setAlgID (int newIAlgID); 00262 00264 void toPersistent(); 00265 }; 00266 00267 } 00268 00269 // Declare the inheritance of the type to StoreGate: 00270 #include "xAODCore/BaseInfo.h" 00271 SG_BASE( xAOD::AFPTrack_v1, SG::AuxElement ); 00272 00273 00274 #endif 00275