Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

NCExtractionkNN.cxx

Go to the documentation of this file.
00001 
00002 //$Id: NCExtractionkNN.cxx,v 1.4 2009/09/12 16:26:51 rodriges Exp $
00003 //
00004 //NCExtractionkNN.cxx
00005 //
00006 //class to hold pdfs for doing nccc separation
00007 //
00008 //B. Rebel 3/2007
00010 
00011 #include "NCUtils/Extraction/NCExtractionkNN.h"
00012 #include "MessageService/MsgService.h"
00013 
00014 ClassImp(NCExtractionkNN)
00015 
00016 CVSID("$Id: NCExtractionkNN.cxx,v 1.4 2009/09/12 16:26:51 rodriges Exp $");
00017 
00018 #include "NCUtils/Extraction/MicroDSTMaker.h"
00019 REGISTER_NCEXTRACTION(NCExtractionkNN, kNN)
00020 
00021 // Need this constructor to chain up to the base class non-default
00022 // constructor, otherwise it won't compile (because it tries to call
00023 // the base class default constructor, which doesn't exist)
00024 NCExtractionkNN::NCExtractionkNN(NCAnalysisCuts* cuts, const Registry& r)
00025 : NCExtraction(cuts, r)
00026 {
00027   // No-op
00028 }
00029 
00030 double NCExtractionkNN::GetIdProbability(NCEventInfo& evtInfo, int /*beamType*/)
00031 {
00032   return evtInfo.track->kNN < 0 ? 1e-3 : evtInfo.track->kNN;
00033 }
00034 

Generated on Mon Feb 15 11:07:03 2010 for loon by  doxygen 1.3.9.1