00001 #include "ForIA/AnalysisTools/FourVectorSelection.hh" 00002 00003 #include "ForIA/Event.hh" 00004 00005 namespace ForIA{ 00006 00007 FourVectorSelection::FourVectorSelection(): m_freshEvent(false), m_event(0), m_canSetCuts(true){ 00008 00009 } 00010 00011 void FourVectorSelection::setEvent(const Event &evt){ 00012 m_canSetCuts = false; 00013 m_freshEvent = true; 00014 m_event = &evt; 00015 return; 00016 } 00017 00018 const MomentumVector &FourVectorSelection::fourVectors()const{ 00019 if(m_freshEvent) fillVectors(); 00020 return m_passedFourVectors; 00021 } 00022 00023 const MomentumVector &FourVectorSelection::rejectedFourVectors()const{ 00024 if(m_freshEvent) fillVectors(); 00025 return m_rejectedFourVectors; 00026 } 00027 00028 00029 } 00030