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.18 by bendavid, Fri Mar 6 14:40:10 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"
# 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 "DataFormats/HepMCCandidate/interface/GenParticle.h"
40   #include "MitEdm/DataFormats/interface/BasePartFwd.h"
41  
42 < namespace mithep
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 PairIntKey,            mithep::Particle*>     BasePartMap;
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