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.4 by loizides, Mon Jul 7 16:14:01 2008 UTC vs.
Revision 1.17 by bendavid, Mon Feb 23 20:53:34 2009 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"
22 < #include "DataFormats/GsfTrackReco/interface/GsfTrack.h"
23 < #include "DataFormats/GsfTrackReco/interface/GsfTrackFwd.h"
24 < #include "MitAna/DataTree/interface/GenParticle.h"
25 < #include "MitAna/DataTree/interface/SimParticle.h"
22 > #include "DataFormats/EgammaReco/interface/BasicClusterFwd.h"
23 > #include "DataFormats/EgammaReco/interface/BasicCluster.h"
24 > #include "DataFormats/EgammaReco/interface/SuperClusterFwd.h"
25 > #include "DataFormats/EgammaReco/interface/SuperCluster.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 "DataFormats/HepMCCandidate/interface/GenParticle.h"
40 + #include "MitEdm/DataFormats/interface/BasePartFwd.h"
41  
42 < namespace mithep
42 > namespace mithep
43   {
44 <  typedef AssociationMap<const reco::TrackRef,       mithep::Track*>        TrackMap;
45 <  typedef AssociationMap<const reco::GsfTrackRef,    mithep::Track*>        GsfTrackMap;
46 <  typedef AssociationMap<const Int_t,                mithep::GenParticle*>  GenParticleMap;
47 <  typedef AssociationMap<const TrackingParticleRef,  mithep::SimParticle*>  SimParticleMap;
48 <  typedef AssociationMap<const reco::TrackRef,       mithep::Electron*>     ConversionElectronMap;
49 <  typedef AssociationMap<const reco::ConversionRef,  mithep::Conversion*>   ConversionMap;
44 >  typedef std::pair<int,int> PairIntKey;
45 >
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_t,                       mithep::MCParticle*>   GenParticleMap;
51 >  typedef AssociationMap<const SimTrackRef,                 mithep::MCParticle*>   SimTrackMap;
52 >  typedef AssociationMap<const TrackingParticleRef,         mithep::MCParticle*>   TrackingParticleMap;
53 >  typedef AssociationMap<const edm::Ptr<reco::Track>,       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;
59   }  
60   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines