1 #ifndef HeavyFlavorAnalysis_Onia2MuMu_Onia2MuMuPAT_h
2 #define HeavyFlavorAnalysis_Onia2MuMu_Onia2MuMuPAT_h
32 bool operator()(
const T& t1,
const T& t2)
const {
return t1.userFloat(
"vProb") > t2.userFloat(
"vProb"); }
bool operator()(const T &t1, const T &t2) const
StringCutObjectSelector< pat::Muon > higherPuritySelection_
Onia2MuMuPAT(const edm::ParameterSet &)
static void fillDescriptions(edm::ConfigurationDescriptions &)
InvariantMassFromVertex massCalculator
void produce(edm::Event &, const edm::EventSetup &) override
edm::EDGetTokenT< reco::BeamSpot > revtxbs_
edm::ESGetToken< TransientTrackBuilder, TransientTrackRecord > theTTBuilderToken_
StringCutObjectSelector< reco::Candidate, true > dimuonSelection_
edm::EDGetTokenT< reco::TrackCollection > revtxtrks_
bool addMuonlessPrimaryVertex_
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > magneticFieldToken_
StringCutObjectSelector< pat::Muon > lowerPuritySelection_
bool isAMixedbHadron(int pdgID, int momPdgID) const
bool isAbHadron(int pdgID) const
edm::EDGetTokenT< reco::BeamSpot > thebeamspot_
edm::EDGetTokenT< reco::VertexCollection > thePVs_
std::pair< int, float > findJpsiMCInfo(reco::GenParticleRef genJpsi) const
GreaterByVProb< pat::CompositeCandidate > vPComparator_
edm::EDGetTokenT< edm::View< pat::Muon > > muons_