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.14 by bendavid, Mon Nov 3 11:22:35 2008 UTC vs.
Revision 1.18 by bendavid, Fri Mar 6 14:40:10 2009 UTC

# Line 23 | Line 23
23   #include "DataFormats/EgammaReco/interface/BasicCluster.h"
24   #include "DataFormats/EgammaReco/interface/SuperClusterFwd.h"
25   #include "DataFormats/EgammaReco/interface/SuperCluster.h"
26 #include "DataFormats/GsfTrackReco/interface/GsfTrack.h"
27 #include "DataFormats/GsfTrackReco/interface/GsfTrackFwd.h"
26   #include "DataFormats/CaloTowers/interface/CaloTowerDetId.h"
27   #include "MitAna/DataTree/interface/MCParticle.h"
28   #include "MitAna/DataTree/interface/Electron.h"
# Line 38 | Line 36
36   #include "DataFormats/EgammaCandidates/interface/ConversionFwd.h"
37   #include "DataFormats/VertexReco/interface/Vertex.h"
38   #include "DataFormats/VertexReco/interface/VertexFwd.h"
39 + #include "DataFormats/HepMCCandidate/interface/GenParticle.h"
40   #include "MitEdm/DataFormats/interface/BasePartFwd.h"
41  
42   namespace mithep
43   {
44    typedef std::pair<int,int> PairIntKey;
45  
46 <  typedef AssociationMap<const reco::TrackRef,        mithep::Track*>        TrackMap;
47 <  typedef AssociationMap<const reco::GsfTrackRef,     mithep::Track*>        GsfTrackMap;
48 <  typedef AssociationMap<const reco::BasicClusterRef, mithep::BasicCluster*> BasicClusterMap;
49 <  typedef AssociationMap<const reco::SuperClusterRef, mithep::SuperCluster*> SuperClusterMap;
50 <  typedef AssociationMap<const Int_t,                 mithep::MCParticle*>   GenParticleMap;
51 <  typedef AssociationMap<const SimTrackRef,           mithep::MCParticle*>   SimTrackMap;
52 <  typedef AssociationMap<const TrackingParticleRef,   mithep::MCParticle*>   TrackingParticleMap;
53 <  typedef AssociationMap<const reco::TrackRef,        mithep::Electron*>     ConversionElectronMap;
54 <  typedef AssociationMap<const reco::ConversionRef,   mithep::Conversion*>   ConversionMap;
55 <  typedef AssociationMap<const mitedm::BasePartPtr,   mithep::Particle*>     BasePartMap;
56 <  typedef AssociationMap<const CaloTowerDetId,        mithep::CaloTower*>    CaloTowerMap;
57 <  typedef AssociationMap<const mitedm::VertexPtr,     mithep::Vertex*>       VertexMap;
58 <  typedef AssociationMap<const DetId,                 mithep::SuperCluster*> SuperClusterIdMap;
46 >  typedef AssociationMap<const mitedm::TrackPtr,            mithep::Track*>        TrackMap;
47 >  typedef AssociationMap<const reco::BasicClusterRef,       mithep::BasicCluster*> BasicClusterMap;
48 >  typedef AssociationMap<const reco::SuperClusterRef,       mithep::SuperCluster*> SuperClusterMap;
49 >  typedef AssociationMap<const edm::Ptr<reco::GenParticle>, mithep::MCParticle*>   AODGenParticleMap;
50 >  typedef AssociationMap<const int,                         mithep::MCParticle*>   GenParticleBarcodeMap;
51 >  typedef AssociationMap<const SimTrackRef,                 mithep::MCParticle*>   SimTrackMap;
52 >  typedef AssociationMap<const unsigned int,                mithep::MCParticle*>   SimTrackTidMap;
53 >  typedef AssociationMap<const TrackingParticleRef,         mithep::MCParticle*>   TrackingParticleMap;
54 >  typedef AssociationMap<const edm::Ptr<reco::Track>,       mithep::Electron*>     ConversionElectronMap;
55 >  typedef AssociationMap<const reco::ConversionRef,         mithep::Conversion*>   ConversionMap;
56 >  typedef AssociationMap<const mitedm::BasePartPtr,         mithep::Particle*>     BasePartMap;
57 >  typedef AssociationMap<const CaloTowerDetId,              mithep::CaloTower*>    CaloTowerMap;
58 >  typedef AssociationMap<const mitedm::VertexPtr,           mithep::Vertex*>       VertexMap;
59 >  typedef AssociationMap<const DetId,                       mithep::SuperCluster*> SuperClusterIdMap;
60   }  
61   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines