00001 #ifndef FORIA_MATCHTOTRUTH_HH 00002 #define FORIA_MATCHTOTRUTH_HH 00003 00004 #include "ForIA/AnalysisTools/SimpleTruthSelection.hh" 00005 00006 #include <vector> 00007 #include <iostream> 00008 00009 00010 namespace ForIA{ 00011 00012 using std::vector; 00013 00014 class MatchToTruth{ 00015 00016 public: 00017 MatchToTruth(); 00018 void init(); 00019 float MinEta(); 00020 bool Match(const MomentumVector& fourVectors); 00021 float MatchDR(IFourMomentumConstPtr p1); 00022 IFourMomentumConstPtr MatchedParticle(IFourMomentumConstPtr p1); 00023 bool setEvent(const Event& evt); 00024 00025 private: 00026 SimpleTruthSelection m_truthSelection; 00027 00028 00029 00030 }; 00031 } 00032 #endif