1 #ifndef DataFormats_BTauReco_TemplatedSoftLeptonTagInfo_h 2 #define DataFormats_BTauReco_TemplatedSoftLeptonTagInfo_h 91 {
return quality((
unsigned int)qual, throwIfUndefined); }
93 {
return quality((
unsigned int)qual, throwIfUndefined); }
95 {
return quality((
unsigned int)qual, throwIfUndefined); }
110 float quality(
unsigned int index,
bool throwIfUndefined)
const;
119 typedef std::vector< std::pair< REF, SoftLeptonProperties > >
LeptonMap;
128 return m_leptons.size();
132 return m_leptons[
i].first;
136 return m_leptons[
i].second;
140 m_leptons.push_back( std::pair< REF, SoftLeptonProperties > (lepton, properties) );
164 for (
unsigned int i = 0;
i < m_leptons.size(); ++
i) {
165 const REF & trackRef = m_leptons[
i].first;
192 #endif // DataFormats_BTauReco_TemplatedSoftLeptonTagInfo_h const REF & lepton(size_t i) const
double eta() const final
momentum pseudorapidity
TemplatedSoftLeptonTagInfo * clone(void) const override
clone
float quality(Quality::Generic qual, bool throwIfUndefined=true) const
TemplatedSoftLeptonTagInfo(void)
~TemplatedSoftLeptonTagInfo(void) override
float hasQuality(Quality::Generic qual) const
float quality(Quality::Muon qual, bool throwIfUndefined=true) const
#define CMS_CLASS_VERSION(_version_)
const reco::Track * toTrack(const reco::TrackBaseRef &t)
static T byName(const char *name)
const SoftLeptonProperties & properties(size_t i) const
float quality(Quality::Electron qual, bool throwIfUndefined=true) const
void setQuality(Quality::Generic qual, float value)
double et() const final
transverse energy
float hasQuality(Quality::Muon qual) const
double energy() const final
energy
std::vector< float > qualities_
def template(fileName, svg, replaceme="REPLACEME")
std::pair< TaggingVariableName, TaggingValue > TaggingVariable
void setQuality(Quality::Electron qual, float value)
void insert(const REF &lepton, const SoftLeptonProperties &properties)
char data[epos_bytes_allocation]
static unsigned int internalByName(const char *name)
std::vector< std::pair< REF, SoftLeptonProperties > > LeptonMap
float hasQuality(Quality::Electron qual) const
void setQuality(Quality::Muon qual, float value)
double phi() const final
momentum azimuthal angle
unsigned int leptons(void) const
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger list("!*","!HLTx*"if it matches 2 triggers or more) will accept the event if all the matching triggers are FAIL.It will reject the event if any of the triggers are PASS or EXCEPTION(this matches the behavior of"!*"before the partial wildcard feature was incorporated).Triggers which are in the READY state are completely ignored.(READY should never be returned since the trigger paths have been run
void insert(const TaggingVariable &variable, bool delayed=false)