A PID for muons. More...
Classes | |
class | MuonID |
class | MuonIDProd |
Functions | |
unsigned int | HighestPIDTrack (const std::vector< art::Ptr< rb::Track > > &sliceTracks, const std::string &muonidModuleLabel, const art::Event &e) |
unsigned int | HighestPIDTrack (std::vector< art::Ptr< rb::Track > > const &sliceTracks, art::InputTag const &muonidTag, art::Event const &e) |
A PID for muons.
unsigned int muonid::HighestPIDTrack | ( | const std::vector< art::Ptr< rb::Track > > & | sliceTracks, |
const std::string & | muonidModuleLabel, | ||
const art::Event & | e | ||
) |
Function which finds index of the best MuonID track among a vector of tracks. Requires the event to fetch associated MuonID objects and the module label
Definition at line 27 of file MuonID.cxx.
References getGoodRuns4SAM::tag.
Referenced by caf::CAFMaker::produce().
unsigned int muonid::HighestPIDTrack | ( | std::vector< art::Ptr< rb::Track > > const & | sliceTracks, |
art::InputTag const & | muonidTag, | ||
art::Event const & | e | ||
) |
Definition at line 36 of file MuonID.cxx.
References plot_validation_datamc::c, allTimeWatchdog::endl, geo::kXorY, cet::sqlite::max(), rb::PID::Value(), and POTSpillRate::view.