/data3/calcul/jacquem/working_dir/Micromegas/micromegasFrameWork/lcio/src/cpp/src/IMPL/ParticleIDImpl.cc

Go to the documentation of this file.
00001 #include "IMPL/ParticleIDImpl.h"
00002 
00003 namespace IMPL{
00004 
00005   ParticleIDImpl::ParticleIDImpl() :
00006     _type(0) ,
00007     _pdg(0) ,
00008     _likelihood(0) {
00009   }
00010 
00011   ParticleIDImpl::~ParticleIDImpl(){
00012   }
00013 
00014   int ParticleIDImpl::getType() const{
00015     return _type ; 
00016   }
00017   int ParticleIDImpl::getPDG() const{
00018     return _pdg ; 
00019   }
00020   float ParticleIDImpl::getLikelihood() const{
00021     return _likelihood ;
00022   }
00023   int ParticleIDImpl::getAlgorithmType() const{
00024     return _algorithmType ;
00025   }
00026   const EVENT::FloatVec & ParticleIDImpl::getParameters() const{
00027     return _parameters ;
00028   }
00029 
00030   EVENT::FloatVec& ParticleIDImpl::parameters() {
00031     return _parameters ;
00032   }
00033 
00034   void ParticleIDImpl::setType( int type ){
00035     checkAccess("ParticleIDImpl::setType") ;
00036     _type = type ;
00037   }
00038   void ParticleIDImpl::setPDG( int pdg ){
00039     checkAccess("ParticleIDImpl::setPDG") ;
00040     _pdg = pdg ;
00041   }
00042 
00043   void ParticleIDImpl::setLikelihood( float logL ){
00044     checkAccess("ParticleIDImpl::setLikelihood") ;
00045     _likelihood = logL ; 
00046   }
00047   
00048   void ParticleIDImpl::setAlgorithmType(int algorithmType ) {
00049     checkAccess("ParticleIDImpl::setAlgorithmType") ;
00050     _algorithmType = algorithmType ;
00051   }
00052   
00053   void ParticleIDImpl::addParameter( float p ){
00054     checkAccess("ParticleIDImpl::addParameter") ;
00055     _parameters.push_back( p ) ;
00056   }
00057   
00058 }

Generated on Mon Jan 7 13:15:21 2013 for MicromegasFramework by  doxygen 1.4.7