1 #ifndef RecoBTag_SecondaryVertex_CombinedSVSoftLeptonComputer_h 2 #define RecoBTag_SecondaryVertex_CombinedSVSoftLeptonComputer_h 20 template <
class IPTI,
class SVTI>
22 operator () (
const IPTI &ipInfo,
const SVTI &svInfo,
35 template <
class IPTI,
class SVTI>
52 int leptonCategory = 0;
54 for (
unsigned int i = 0;
i < muonInfo.
leptons(); ++
i)
66 if(leptonCategory != 1)
68 for (
unsigned int i = 0;
i < elecInfo.
leptons(); ++
i)
86 if(leptonCategory == 0)
95 else if(leptonCategory == 1)
104 else if(leptonCategory == 2)
119 #endif // RecoBTag_SecondaryVertex_CombinedSVSoftLeptonComputer_h
bool checkTag(TaggingVariableName tag) const
virtual reco::TaggingVariableList operator()(const reco::TrackIPTagInfo &ipInfo, const reco::SecondaryVertexTagInfo &svInfo) const
double flipSoftLeptonValue(double value) const
const SoftLeptonProperties & properties(size_t i) const
~CombinedSVSoftLeptonComputer() override=default
CombinedSVSoftLeptonComputer(const edm::ParameterSet ¶ms)
TaggingValue get(TaggingVariableName tag) const
reco::TaggingVariableList operator()(const IPTI &ipInfo, const SVTI &svInfo, const reco::CandSoftLeptonTagInfo &muonInfo, const reco::CandSoftLeptonTagInfo &elecInfo) const
unsigned int leptons(void) const
void insert(const TaggingVariable &variable, bool delayed=false)