Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-03-17 10:51:27

0001 #ifndef DataFormats_TauReco_TauDiscriminatorContainer_h
0002 #define DataFormats_TauReco_TauDiscriminatorContainer_h
0003 #include "DataFormats/Common/interface/ValueMap.h"
0004 #include "DataFormats/Common/interface/RefProd.h"
0005 
0006 #include <vector>
0007 
0008 namespace reco {
0009   struct SingleTauDiscriminatorContainer {
0010     std::vector<float> rawValues;     // stores floating point discriminators, like MVA raw values or pt sums.
0011     std::vector<bool> workingPoints;  // stores boolean discriminators computed with the raw values.
0012 
0013     SingleTauDiscriminatorContainer() {}
0014     SingleTauDiscriminatorContainer(float rawInit) { rawValues.push_back(rawInit); }
0015   };
0016 
0017   typedef edm::ValueMap<SingleTauDiscriminatorContainer> TauDiscriminatorContainer;
0018 }  // namespace reco
0019 
0020 #endif