Skip to content

Commit

Permalink
Merged pyVID_and_newIDs_74X from repository lgray
Browse files Browse the repository at this point in the history
  • Loading branch information
ikrav committed Apr 27, 2015
2 parents fb33662 + 6117701 commit 1fafc0f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions RecoEgamma/PhotonIdentification/BuildFile.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<use name="DataFormats/BeamSpot"/>
<use name="Geometry/CaloGeometry"/>
<use name="RecoEgamma/EgammaIsolationAlgos"/>

<export>
<lib name="1"/>
</export>
12 changes: 6 additions & 6 deletions RecoEgamma/PhotonIdentification/src/classes.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,25 +13,25 @@ namespace RecoEgamma_PhotonIdentification {
struct dictionary {
typedef VersionedSelector<reco::Photon> VersionedPhotonSelector;
typedef MakeVersionedSelector<reco::Photon> MakeVersionedPhotonSelector;
typedef MakePtrFromCollection<reco::Photon> MakePhoPtrFromCollection;
typedef MakePtrFromCollection<reco::PhotonCollection> MakePhoPtrFromCollection;
typedef PrintVIDToString<reco::Photon> PrintPhotonVIDToString;

typedef VersionedSelector<pat::Photon> VersionedPatPhotonSelector;
typedef MakeVersionedSelector<pat::Electron> MakeVersionedPatElectronSelector;
typedef MakePtrFromCollection<std::vector<pat::Electron> > MakePatPtrFromCollection;
typedef PrintVIDToString<pat::Electron> PrintPatElectronVIDToString;
typedef MakeVersionedSelector<pat::Photon> MakeVersionedPatPhotonSelector;
typedef MakePtrFromCollection<std::vector<pat::Photon> > MakePatPtrFromCollection;
typedef PrintVIDToString<pat::Photon> PrintPatPhotonVIDToString;

//for using the selectors in python
VersionedPhotonSelector vGsfElectronSelector;
MakeVersionedGsfElectronSelector vMakePhotonVersionedSelector;
MakeVersionedPhotonSelector vMakePhotonVersionedSelector;
PrintPhotonVIDToString vPhoPrintVIDToString;
MakePhoPtrFromCollection vPhoMakePtrFromCollection;

VersionedPatPhotonSelector vPatPhotonSelector;
MakeVersionedPatPhotonSelector vMakePatPhotonVersionedSelector;
PrintPatPhotonVIDToString vPatPrintVIDToString;
MakePatPtrFromCollection vPatMakePtrFromCollection;
MakePtrFromCollection<std::vector<pat::Photon>, pat::Photon, reco::Photon > vPatToPhoMakePtrFromCollection;
MakePtrFromCollection<std::vector<pat::Photon>, pat::Photon, reco::Photon> vPatToPhoMakePtrFromCollection;

};
}

0 comments on commit 1fafc0f

Please sign in to comment.