00001
00002
00003 #ifndef XAODBTAGGING_VERSIONS_BTAGVERTEX_V1_H
00004 #define XAODBTAGGING_VERSIONS_BTAGVERTEX_V1_H
00005
00006
00007 #include "AthContainers/AuxElement.h"
00008 #include "AthLinks/ElementLink.h"
00009
00010
00011
00012 #include "xAODBase/IParticle.h"
00013 #include "xAODBase/IParticleContainer.h"
00014 #include "xAODTracking/TrackParticleContainer.h"
00015 #include "xAODTracking/Vertex.h"
00016 #include "xAODTracking/VertexContainer.h"
00017
00018 #include <map>
00019 #include <vector>
00020 #include <string>
00021
00022 namespace xAOD {
00023
00026
00027
00028 class BTagVertex_v1 : public SG::AuxElement{
00029
00030 public :
00032 typedef std::vector< ElementLink< xAOD::TrackParticleContainer > >
00033 TPELinks_t;
00034
00035
00038
00040
00041 BTagVertex_v1();
00042
00043
00045
00047 float chi2() const;
00049 float NDF() const;
00051 float pv_compatibility() const;
00053 const std::vector<float>& compToOtherSV() const;
00055
00056
00058 void setChi2(float value);
00060 void setNDF(float value);
00062 void setPV_compatibility(float value);
00064 void setCompToOtherSV(const std::vector<float>& value);
00066
00067
00068
00071
00073 const std::vector<float>& track_chi2() const;
00075 const std::vector<float>& track_NDF() const;
00077 const std::vector<float>& track_refPx() const;
00079 const std::vector<float>& track_refPy() const;
00081 const std::vector<float>& track_refPz() const;
00083
00084 const TPELinks_t& track_links() const;
00085
00087 void setTrack_chi2(const std::vector<float>& values);
00089 void setTrack_NDF(const std::vector<float>& values);
00091 void setTrack_refPx(const std::vector<float>& values);
00093 void setTrack_refPy(const std::vector<float>& values);
00095 void setTrack_refPz(const std::vector<float>& values);
00097
00098 void setTrack_links(const TPELinks_t& links) ;
00099
00101
00102
00103 void toPersistent();
00104
00105 };
00106 }
00107
00108
00109
00110 #ifndef XAOD_STANDALONE
00111 #include "SGTools/CLASS_DEF.h"
00112 CLASS_DEF( xAOD::BTagVertex_v1, 96886315, 1 )
00113 #endif
00114
00115 #endif