Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:24:37

0001 #include <vector>
0002 
0003 #include "DataFormats/BTauReco/interface/TaggingVariable.h"
0004 #include "PhysicsTools/MVAComputer/interface/AtomicId.h"
0005 
0006 #include "RecoBTau/JetTagComputer/interface/GenericMVAComputer.h"
0007 
0008 using namespace reco;
0009 using namespace PhysicsTools;
0010 
0011 // static cache
0012 const GenericMVAComputer::TaggingVariableMapping GenericMVAComputer::mapping;
0013 
0014 GenericMVAComputer::TaggingVariableMapping::TaggingVariableMapping() {
0015   for (unsigned int i = 0; i < btau::lastTaggingVariable; i++) {
0016     const char *name = TaggingVariableTokens[i];
0017     AtomicId id(name);
0018 
0019     taggingVarToAtomicId.push_back(id);
0020   }
0021 }
0022 
0023 // explicit instantiation the common case of reco::TaggingVariableList
0024 template double GenericMVAComputer::eval<reco::TaggingVariableList::const_iterator>(
0025     reco::TaggingVariableList::const_iterator, reco::TaggingVariableList::const_iterator) const;
0026 
0027 template double GenericMVAComputer::eval<reco::TaggingVariableList>(const reco::TaggingVariableList &) const;
0028 
0029 template class GenericMVAComputer::TaggingVariableIterator<reco::TaggingVariableList::const_iterator>;