/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Generator/GenAnalysisTools/TruthHelper/TruthHelper-00-00-01/TruthHelper/IsGenType.h

Go to the documentation of this file.
00001 //*************************************************************************
00002 //*                                                                       *
00003 //*  class IsGenType                                                   **
00004 //*                                                                       *
00005 //* this predicate returns true was on particles of specified pdg ID         *
00006 //*                                                                        *
00007 //*************************************************************************
00008 #ifndef TRUTHHELPER_ISGENTYPE_H
00009 #define TRUTHHELPER_ISGENTYPE_H
00010 
00011 #ifndef TRUTHHELPER_IMCSELECTOR_H
00012 #include "TruthHelper/GenIMCselector.h"
00013 #endif
00014 #ifndef STD_VECTOR_H
00015 #include <vector>
00016 #define  STD_VECTOR_H
00017 #endif
00018 class IsGenType: public GenIMCselector {
00019     
00020  public:
00021   IsGenType(int ParticleType);
00022   IsGenType(std::vector<int> ParticleTypeList);
00023   IsGenType(const IsGenType& src);
00024   GenIMCselector* create() const;
00025   virtual bool operator()( const Particle* const p )const;
00026   virtual bool operator()( const Particle& p ) const;
00027   private:
00028   std::vector<int> m_TypeList;
00029   };
00030 #endif
00031 

Generated on Tue Nov 29 23:12:39 2016 for BOSS_7.0.2 by  doxygen 1.4.7