Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:54:46

0001 #ifndef DataFormats_TauReco_PFJetChargedHadronAssociation_h
0002 #define DataFormats_TauReco_PFJetChargedHadronAssociation_h
0003 
0004 #include "DataFormats/Common/interface/AssociationVector.h"
0005 #include "DataFormats/TauReco/interface/PFRecoTauChargedHadron.h"
0006 #include "DataFormats/JetReco/interface/JetCollection.h"
0007 
0008 namespace reco {
0009   // This base class improves the readability of the ROOT class name by hiding
0010   // the template crap
0011   typedef edm::AssociationVector<JetRefBaseProd, std::vector<std::vector<PFRecoTauChargedHadron> > >
0012       PFJetChargedHadronAssociationBase;
0013 
0014   class PFJetChargedHadronAssociation : public PFJetChargedHadronAssociationBase {
0015   public:
0016     PFJetChargedHadronAssociation() : PFJetChargedHadronAssociationBase() {}
0017 
0018     PFJetChargedHadronAssociation(const reco::JetRefBaseProd& ref) : PFJetChargedHadronAssociationBase(ref) {}
0019 
0020     PFJetChargedHadronAssociation(const PFJetChargedHadronAssociationBase& v) : PFJetChargedHadronAssociationBase(v) {}
0021   };
0022 
0023   typedef PFJetChargedHadronAssociation::value_type PFJetChargedHadronAssociationChHadrons;
0024   typedef edm::Ref<PFJetChargedHadronAssociation> PFJetChargedHadronAssociationRef;
0025   typedef edm::RefProd<PFJetChargedHadronAssociation> PFJetChargedHadronAssociationRefProd;
0026   typedef edm::RefVector<PFJetChargedHadronAssociation> PFJetChargedHadronAssociationRefVector;
0027 }  // namespace reco
0028 #endif