Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-10-25 09:39:42

0001 #ifndef DataFormats_PatCandidates_PATTauDiscriminator_h
0002 #define DataFormats_PatCandidates_PATTauDiscriminator_h
0003 #include "DataFormats/Common/interface/AssociationVector.h"
0004 #include "DataFormats/Common/interface/RefProd.h"
0005 #include "DataFormats/PatCandidates/interface/Tau.h"
0006 
0007 #include <vector>
0008 
0009 namespace pat {
0010   typedef edm::AssociationVector<pat::TauRefProd, std::vector<float> > PATTauDiscriminatorBase;
0011 
0012   class PATTauDiscriminator : public PATTauDiscriminatorBase {
0013   public:
0014     /// empty constructor
0015     PATTauDiscriminator();  // : PATTauDiscriminatorBase() {}
0016     /// constructor from reference to pat::Tau
0017     PATTauDiscriminator(const pat::TauRefProd &ref) : PATTauDiscriminatorBase(ref) {}
0018     /// constructor from base object
0019     PATTauDiscriminator(const PATTauDiscriminatorBase &v) : PATTauDiscriminatorBase(v) {}
0020   };
0021 
0022   typedef pat::PATTauDiscriminator::value_type PATTauDiscriminatorVT;
0023   typedef edm::Ref<pat::PATTauDiscriminator> PATTauDiscriminatorRef;
0024   typedef edm::RefProd<pat::PATTauDiscriminator> PATTauDiscriminatorRefProd;
0025   typedef edm::RefVector<pat::PATTauDiscriminator> PATTauDiscriminatorRefVector;
0026 }  // namespace pat
0027 
0028 #endif