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.9 by bendavid, Fri Sep 5 23:46:09 2008 UTC vs.
Revision 1.16 by bendavid, Tue Nov 4 19:26:33 2008 UTC

# Line 8 | Line 8
8   // Authors: J.Bendavid
9   //--------------------------------------------------------------------------------------------------
10  
11 < #ifndef TREEFILLER_ASSOCIATIONMAPS_H
12 < #define TREEFILLER_ASSOCIATIONMAPS_H
11 > #ifndef MITPROD_TREEFILLER_ASSOCIATIONMAPS_H
12 > #define MITPROD_TREEFILLER_ASSOCIATIONMAPS_H
13  
14   #include "MitProd/TreeFiller/interface/AssociationMap.h"
15 + #include "MitEdm/DataFormats/interface/Types.h"
16   #include "MitAna/DataTree/interface/Track.h"
17   #include "MitAna/DataTree/interface/BasicCluster.h"
18 + #include "MitAna/DataTree/interface/CaloTower.h"
19   #include "MitAna/DataTree/interface/Types.h"
20   #include "DataFormats/TrackReco/interface/Track.h"
21   #include "DataFormats/TrackReco/interface/TrackFwd.h"
# Line 21 | 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"
25 < #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"
29   #include "MitAna/DataTree/interface/Conversion.h"
30 + #include "MitAna/DataTree/interface/Vertex.h"
31   #include "SimDataFormats/Track/interface/SimTrack.h"
32   #include "SimDataFormats/Track/interface/SimTrackContainer.h"
33   #include "SimDataFormats/TrackingAnalysis/interface/TrackingParticle.h"
34   #include "SimDataFormats/TrackingAnalysis/interface/TrackingParticleFwd.h"
35   #include "DataFormats/EgammaCandidates/interface/Conversion.h"
36   #include "DataFormats/EgammaCandidates/interface/ConversionFwd.h"
37 + #include "DataFormats/VertexReco/interface/Vertex.h"
38 + #include "DataFormats/VertexReco/interface/VertexFwd.h"
39   #include "MitEdm/DataFormats/interface/BasePartFwd.h"
40  
41 < namespace mithep
41 > namespace mithep
42   {
43    typedef std::pair<int,int> PairIntKey;
44  
45 <  typedef AssociationMap<const reco::TrackRef,        mithep::Track*>        TrackMap;
42 <  typedef AssociationMap<const reco::GsfTrackRef,     mithep::Track*>        GsfTrackMap;
45 >  typedef AssociationMap<const mitedm::TrackPtr,      mithep::Track*>        TrackMap;
46    typedef AssociationMap<const reco::BasicClusterRef, mithep::BasicCluster*> BasicClusterMap;
47    typedef AssociationMap<const reco::SuperClusterRef, mithep::SuperCluster*> SuperClusterMap;
48    typedef AssociationMap<const Int_t,                 mithep::MCParticle*>   GenParticleMap;
49    typedef AssociationMap<const SimTrackRef,           mithep::MCParticle*>   SimTrackMap;
50    typedef AssociationMap<const TrackingParticleRef,   mithep::MCParticle*>   TrackingParticleMap;
51 <  typedef AssociationMap<const reco::TrackRef,        mithep::Electron*>     ConversionElectronMap;
51 >  typedef AssociationMap<const edm::Ptr<reco::Track>, mithep::Electron*>     ConversionElectronMap;
52    typedef AssociationMap<const reco::ConversionRef,   mithep::Conversion*>   ConversionMap;
53 <  typedef AssociationMap<const PairIntKey,            mithep::Particle*>     BasePartMap;
53 >  typedef AssociationMap<const mitedm::BasePartPtr,   mithep::Particle*>     BasePartMap;
54 >  typedef AssociationMap<const CaloTowerDetId,        mithep::CaloTower*>    CaloTowerMap;
55 >  typedef AssociationMap<const mitedm::VertexPtr,     mithep::Vertex*>       VertexMap;
56 >  typedef AssociationMap<const DetId,                 mithep::SuperCluster*> SuperClusterIdMap;
57   }  
58   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines