ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/AssociationMaps.h
(Generate patch)

Comparing UserCode/MitProd/TreeFiller/interface/AssociationMaps.h (file contents):
Revision 1.26 by bendavid, Mon Nov 22 16:55:08 2010 UTC vs.
Revision 1.29 by paus, Wed Jul 25 03:08:42 2012 UTC

# Line 5 | Line 5
5   //
6   // This header file defines the standard types for the AssociationMaps we want to use.
7   //
8 < // Authors: J.Bendavid
8 > // Authors: C.Paus, J.Bendavid
9   //--------------------------------------------------------------------------------------------------
10  
11   #ifndef MITPROD_TREEFILLER_ASSOCIATIONMAPS_H
# Line 23 | Line 23
23   #include "DataFormats/JetReco/interface/JPTJetCollection.h"
24   #include "DataFormats/JetReco/interface/PFJetCollection.h"
25   #include "DataFormats/JetReco/interface/TrackJetCollection.h"
26 + #include "DataFormats/EgammaCandidates/interface/GsfElectron.h"
27   #include "DataFormats/MuonReco/interface/Muon.h"
28   #include "DataFormats/ParticleFlowCandidate/interface/PFCandidateFwd.h"
29 + #include "DataFormats/TauReco/interface/PFTau.h"
30   #include "DataFormats/TrackReco/interface/Track.h"
31   #include "DataFormats/TrackReco/interface/TrackFwd.h"
32   #include "DataFormats/VertexReco/interface/Vertex.h"
# Line 39 | Line 41
41  
42   #include "MitAna/DataTree/interface/TrackFwd.h"
43   #include "MitAna/DataTree/interface/BasicClusterFwd.h"
44 + #include "MitAna/DataTree/interface/PsClusterFwd.h"
45   #include "MitAna/DataTree/interface/SuperClusterFwd.h"
46   #include "MitAna/DataTree/interface/MCParticleFwd.h"
47   #include "MitAna/DataTree/interface/CaloTowerFwd.h"
48   #include "MitAna/DataTree/interface/ElectronFwd.h"
49   #include "MitAna/DataTree/interface/MuonFwd.h"
50 + #include "MitAna/DataTree/interface/PFTauFwd.h"
51   #include "MitAna/DataTree/interface/ConversionFwd.h"
52   #include "MitAna/DataTree/interface/ParticleFwd.h"
53   #include "MitAna/DataTree/interface/VertexFwd.h"
54   #include "MitAna/DataTree/interface/PFCandidateFwd.h"
55 + #include "MitAna/DataTree/interface/PhotonFwd.h"
56   #include "MitAna/DataTree/interface/CaloJetFwd.h"
57   #include "MitAna/DataTree/interface/JPTJetFwd.h"
58   #include "MitAna/DataTree/interface/PFJetFwd.h"
# Line 58 | Line 63 | namespace mithep
63   {
64    typedef std::pair<int,int> PairIntKey;
65  
66 <  typedef AssociationMap<const mitedm::TrackPtr,            mithep::Track*>        TrackMap;
67 <  typedef AssociationMap<const reco::CaloClusterPtr,        mithep::BasicCluster*> BasicClusterMap;
68 <  typedef AssociationMap<const reco::SuperClusterRef,       mithep::SuperCluster*> SuperClusterMap;
69 <  typedef AssociationMap<const edm::Ptr<reco::GenParticle>, mithep::MCParticle*>   AODGenParticleMap;
70 <  typedef AssociationMap<const int,                         mithep::MCParticle*>   GenParticleBarcodeMap;
71 <  typedef AssociationMap<const SimTrackRef,                 mithep::MCParticle*>   SimTrackMap;
72 <  typedef AssociationMap<const unsigned int,                mithep::MCParticle*>   SimTrackTidMap;
73 <  typedef AssociationMap<const TrackingParticleRef,         mithep::MCParticle*>   TrackingParticleMap;
74 <  typedef AssociationMap<const edm::Ptr<reco::Track>,       mithep::Electron*>     ConversionElectronMap;
75 <  typedef AssociationMap<const reco::ConversionRef,         mithep::Conversion*>   ConversionMap;
66 >  typedef AssociationMap<const mitedm::TrackPtr,            mithep::Track*>         TrackMap;
67 >  typedef AssociationMap<const reco::CaloClusterPtr,        mithep::BasicCluster*>  BasicClusterMap;
68 >  typedef AssociationMap<const reco::CaloClusterPtr,        mithep::PsCluster*>     PsClusterMap;
69 >  typedef AssociationMap<const reco::SuperClusterRef,       mithep::SuperCluster*>  SuperClusterMap;
70 >  typedef AssociationMap<const edm::Ptr<reco::GenParticle>, mithep::MCParticle*>    AODGenParticleMap;
71 >  typedef AssociationMap<const int,                         mithep::MCParticle*>    GenParticleBarcodeMap;
72 >  typedef AssociationMap<const SimTrackRef,                 mithep::MCParticle*>    SimTrackMap;
73 >  typedef AssociationMap<const unsigned int,                mithep::MCParticle*>    SimTrackTidMap;
74 >  typedef AssociationMap<const TrackingParticleRef,         mithep::MCParticle*>    TrackingParticleMap;
75 >  typedef AssociationMap<const edm::Ptr<reco::Track>,       mithep::Electron*>      ConversionElectronMap;
76 >  typedef AssociationMap<const reco::ConversionRef,         mithep::Conversion*>    ConversionMap;
77    typedef AssociationMap<const reco::ConversionRef,         mithep::DecayParticle*> ConversionDecayMap;  
78 <  typedef AssociationMap<const mitedm::BasePartPtr,         mithep::Particle*>     BasePartMap;
79 <  typedef AssociationMap<const edm::Ptr<reco::Track>,       mithep::Particle*>     TrackPartMap;
80 <  typedef AssociationMap<const CaloTowerDetId,              mithep::CaloTower*>    CaloTowerMap;
81 <  typedef AssociationMap<const DetId,                       mithep::CaloTower*>    CaloTowerDetIdMap;  
82 <  typedef AssociationMap<const mitedm::VertexPtr,           mithep::Vertex*>       VertexMap;
83 <  typedef AssociationMap<const DetId,                       mithep::SuperCluster*> SuperClusterIdMap;
84 <  typedef AssociationMap<const edm::Ptr<reco::Muon>,        mithep::Muon*>         MuonMap;
85 <  typedef AssociationMap<const reco::PFCandidatePtr,        mithep::PFCandidate*>  PFCandidateMap;
86 <  typedef AssociationMap<const edm::Ptr<reco::CaloJet>,     mithep::CaloJet*>      CaloJetMap;
87 <  typedef AssociationMap<const edm::Ptr<reco::JPTJet>,      mithep::JPTJet*>       JPTJetMap;
88 <  typedef AssociationMap<const edm::Ptr<reco::PFJet>,       mithep::PFJet*>        PFJetMap;
89 <  typedef AssociationMap<const edm::Ptr<reco::TrackJet>,    mithep::TrackJet*>     TrackJetMap;
78 >  typedef AssociationMap<const mitedm::BasePartPtr,         mithep::Particle*>      BasePartMap;
79 >  typedef AssociationMap<const edm::Ptr<reco::Track>,       mithep::Particle*>      TrackPartMap;
80 >  typedef AssociationMap<const CaloTowerDetId,              mithep::CaloTower*>     CaloTowerMap;
81 >  typedef AssociationMap<const DetId,                       mithep::CaloTower*>     CaloTowerDetIdMap;  
82 >  typedef AssociationMap<const mitedm::VertexPtr,           mithep::Vertex*>        VertexMap;
83 >  typedef AssociationMap<const DetId,                       mithep::SuperCluster*>  SuperClusterIdMap;
84 >  typedef AssociationMap<const edm::Ptr<reco::Muon>,        mithep::Muon*>          MuonMap;
85 >  typedef AssociationMap<const edm::Ptr<reco::GsfElectron>, mithep::Electron*>      ElectronMap;
86 >  typedef AssociationMap<const edm::Ptr<reco::Photon>,      mithep::Photon*>        PhotonMap;
87 >  typedef AssociationMap<const edm::Ptr<reco::PFTau>,       mithep::PFTau*>         PFTauMap;
88 >  typedef AssociationMap<const reco::PFCandidatePtr,        mithep::PFCandidate*>   PFCandidateMap;
89 >  typedef AssociationMap<const edm::Ptr<reco::CaloJet>,     mithep::CaloJet*>       CaloJetMap;
90 >  typedef AssociationMap<const edm::Ptr<reco::JPTJet>,      mithep::JPTJet*>        JPTJetMap;
91 >  typedef AssociationMap<const edm::Ptr<reco::PFJet>,       mithep::PFJet*>         PFJetMap;
92 >  typedef AssociationMap<const edm::Ptr<reco::TrackJet>,    mithep::TrackJet*>      TrackJetMap;
93   }  
94   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines