00001 #include "DataFormats/PatCandidates/interface/Conversion.h" 00002 #include "FWCore/Utilities/interface/Exception.h" 00003 00004 using namespace pat; 00005 00006 Conversion::Conversion( int index): 00007 vtxProb_(0.0), 00008 lxy_(0.0), 00009 nHitsMax_(0) 00010 { 00011 index_ = index; 00012 } 00013 00014 void Conversion::setVtxProb( double vtxProb ){ 00015 vtxProb_ = vtxProb; 00016 } 00017 00018 void Conversion::setLxy( double lxy ){ 00019 lxy_ = lxy; 00020 } 00021 00022 void Conversion::setNHitsMax( int nHitsMax ){ 00023 nHitsMax_ = nHitsMax; 00024 } 00025