Skip to content

Commit

Permalink
moved class definitions from TauReco to JetReco on request by duplica…
Browse files Browse the repository at this point in the history
…teReflexLibrarySearch.py
  • Loading branch information
roger-wolf committed Mar 13, 2018
1 parent 8001aa7 commit 8bba3d3
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 12 deletions.
5 changes: 5 additions & 0 deletions DataFormats/JetReco/src/classes_3.h
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,11 @@ namespace DataFormats_JetReco {
edm::RefToBaseVector<reco::Jet> jrtbv;
edm::Wrapper<edm::RefToBaseVector<reco::Jet> > jrtbv_w;
edm::reftobase::BaseVectorHolder<reco::Jet> * bvhj_p; // pointer since it's pure virtual

// Generic association (used e.g. in TauReco)
edm::AssociationMap<edm::OneToOne<edm::View<reco::Jet>,edm::View<reco::Jet>,unsigned int> > v_j_v_j_am;
edm::Wrapper<edm::AssociationMap<edm::OneToOne<edm::View<reco::Jet>,edm::View<reco::Jet>,unsigned int> > > v_j_v_j_am_w;
edm::helpers::KeyVal<edm::RefToBaseProd<reco::Jet>,edm::RefToBaseProd<reco::Jet> > v_j_v_j_kv;
};
}
#endif
6 changes: 6 additions & 0 deletions DataFormats/JetReco/src/classes_def_3.xml
Original file line number Diff line number Diff line change
Expand Up @@ -118,4 +118,10 @@
<class name="edm::reftobase::RefHolder<reco::PFClusterJetRef>" />
<class name="edm::reftobase::Holder<reco::Jet, reco::JPTJetRef>" />
<class name="edm::reftobase::RefHolder<reco::JPTJetRef>" />

<class name="edm::AssociationMap<edm::OneToOne<edm::View<reco::Jet>,edm::View<reco::Jet>,unsigned int> >">
<field name="transientMap_" transient="true" />
</class>
<class name="edm::Wrapper<edm::AssociationMap<edm::OneToOne<edm::View<reco::Jet>,edm::View<reco::Jet>,unsigned int> > >"/>
<class name="edm::helpers::KeyVal<edm::RefToBaseProd<reco::Jet>,edm::RefToBaseProd<reco::Jet> >"/>
</lcgdict>
5 changes: 0 additions & 5 deletions DataFormats/TauReco/src/classes_3.h
Original file line number Diff line number Diff line change
Expand Up @@ -252,10 +252,5 @@ namespace DataFormats_TauReco {
edm::AssociationMap<edm::OneToMany<std::vector<pat::Jet>,std::vector<pat::PackedCandidate>,unsigned int> >patjet_v_patpc_v_otm_am;
edm::Wrapper<edm::AssociationMap<edm::OneToMany<std::vector<pat::Jet>,std::vector<pat::PackedCandidate>,unsigned int> > > patjet_v_patpc_v_otm_am_w;
edm::helpers::KeyVal<edm::RefProd<vector<pat::Jet> >,edm::RefProd<vector<pat::PackedCandidate> > > patjet_v_patpc_v_kv;

// Generic association
edm::AssociationMap<edm::OneToOne<edm::View<reco::Jet>,edm::View<reco::Jet>,unsigned int> > v_j_v_j_am;
edm::Wrapper<edm::AssociationMap<edm::OneToOne<edm::View<reco::Jet>,edm::View<reco::Jet>,unsigned int> > > v_j_v_j_am_w;
edm::helpers::KeyVal<edm::RefToBaseProd<reco::Jet>,edm::RefToBaseProd<reco::Jet> > v_j_v_j_kv;
};
}
7 changes: 0 additions & 7 deletions DataFormats/TauReco/src/classes_def_3.xml
Original file line number Diff line number Diff line change
Expand Up @@ -245,11 +245,4 @@
</class>
<class name="edm::Wrapper<edm::AssociationMap<edm::OneToMany<std::vector<pat::Jet>,std::vector<pat::PackedCandidate>,unsigned int> > >"/>
<class name="edm::helpers::KeyVal<edm::RefProd<vector<pat::Jet> >,edm::RefProd<vector<pat::PackedCandidate> > >"/>

<class name="edm::AssociationMap<edm::OneToOne<edm::View<reco::Jet>,edm::View<reco::Jet>,unsigned int> >">
<field name="transientMap_" transient="true" />
</class>
<class name="edm::Wrapper<edm::AssociationMap<edm::OneToOne<edm::View<reco::Jet>,edm::View<reco::Jet>,unsigned int> > >"/>
<class name="edm::helpers::KeyVal<edm::RefToBaseProd<reco::Jet>,edm::RefToBaseProd<reco::Jet> >"/>

</lcgdict>

0 comments on commit 8bba3d3

Please sign in to comment.