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.20 by bendavid, Fri Mar 20 18:45:32 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"
27 < #include "DataFormats/GsfTrackReco/interface/GsfTrackFwd.h"
26 > #include "DataFormats/CaloTowers/interface/CaloTowerDetId.h"
27 > #include "MitAna/DataTree/interface/Muon.h"
28   #include "MitAna/DataTree/interface/MCParticle.h"
29   #include "MitAna/DataTree/interface/Electron.h"
30   #include "MitAna/DataTree/interface/Conversion.h"
31 + #include "MitAna/DataTree/interface/Vertex.h"
32 + #include "MitAna/DataTree/interface/PFCandidate.h"
33 + #include "MitAna/DataTree/interface/CaloJet.h"
34 + #include "MitAna/DataTree/interface/PFJet.h"
35   #include "SimDataFormats/Track/interface/SimTrack.h"
36   #include "SimDataFormats/Track/interface/SimTrackContainer.h"
37   #include "SimDataFormats/TrackingAnalysis/interface/TrackingParticle.h"
38   #include "SimDataFormats/TrackingAnalysis/interface/TrackingParticleFwd.h"
39   #include "DataFormats/EgammaCandidates/interface/Conversion.h"
40   #include "DataFormats/EgammaCandidates/interface/ConversionFwd.h"
41 + #include "DataFormats/VertexReco/interface/Vertex.h"
42 + #include "DataFormats/VertexReco/interface/VertexFwd.h"
43 + #include "DataFormats/HepMCCandidate/interface/GenParticle.h"
44 + #include "DataFormats/ParticleFlowCandidate/interface/PFCandidateFwd.h"
45 + #include "DataFormats/MuonReco/interface/Muon.h"
46   #include "MitEdm/DataFormats/interface/BasePartFwd.h"
47 + #include "DataFormats/JetReco/interface/CaloJetCollection.h"
48 + #include "DataFormats/JetReco/interface/PFJetCollection.h"
49  
50 < namespace mithep
50 > namespace mithep
51   {
52    typedef std::pair<int,int> PairIntKey;
53  
54 <  typedef AssociationMap<const reco::TrackRef,        mithep::Track*>        TrackMap;
55 <  typedef AssociationMap<const reco::GsfTrackRef,     mithep::Track*>        GsfTrackMap;
56 <  typedef AssociationMap<const reco::BasicClusterRef, mithep::BasicCluster*> BasicClusterMap;
57 <  typedef AssociationMap<const reco::SuperClusterRef, mithep::SuperCluster*> SuperClusterMap;
58 <  typedef AssociationMap<const Int_t,                 mithep::MCParticle*>   GenParticleMap;
59 <  typedef AssociationMap<const SimTrackRef,           mithep::MCParticle*>   SimTrackMap;
60 <  typedef AssociationMap<const TrackingParticleRef,   mithep::MCParticle*>   TrackingParticleMap;
61 <  typedef AssociationMap<const reco::TrackRef,        mithep::Electron*>     ConversionElectronMap;
62 <  typedef AssociationMap<const reco::ConversionRef,   mithep::Conversion*>   ConversionMap;
63 <  typedef AssociationMap<const PairIntKey,            mithep::Particle*>     BasePartMap;
54 >  typedef AssociationMap<const mitedm::TrackPtr,            mithep::Track*>        TrackMap;
55 >  typedef AssociationMap<const reco::BasicClusterRef,       mithep::BasicCluster*> BasicClusterMap;
56 >  typedef AssociationMap<const reco::SuperClusterRef,       mithep::SuperCluster*> SuperClusterMap;
57 >  typedef AssociationMap<const edm::Ptr<reco::GenParticle>, mithep::MCParticle*>   AODGenParticleMap;
58 >  typedef AssociationMap<const int,                         mithep::MCParticle*>   GenParticleBarcodeMap;
59 >  typedef AssociationMap<const SimTrackRef,                 mithep::MCParticle*>   SimTrackMap;
60 >  typedef AssociationMap<const unsigned int,                mithep::MCParticle*>   SimTrackTidMap;
61 >  typedef AssociationMap<const TrackingParticleRef,         mithep::MCParticle*>   TrackingParticleMap;
62 >  typedef AssociationMap<const edm::Ptr<reco::Track>,       mithep::Electron*>     ConversionElectronMap;
63 >  typedef AssociationMap<const reco::ConversionRef,         mithep::Conversion*>   ConversionMap;
64 >  typedef AssociationMap<const mitedm::BasePartPtr,         mithep::Particle*>     BasePartMap;
65 >  typedef AssociationMap<const CaloTowerDetId,              mithep::CaloTower*>    CaloTowerMap;
66 >  typedef AssociationMap<const mitedm::VertexPtr,           mithep::Vertex*>       VertexMap;
67 >  typedef AssociationMap<const DetId,                       mithep::SuperCluster*> SuperClusterIdMap;
68 >  typedef AssociationMap<const edm::Ptr<reco::Muon>,        mithep::Muon*>         MuonMap;
69 >  typedef AssociationMap<const reco::PFCandidatePtr,        mithep::PFCandidate*>  PFCandidateMap;
70 >  typedef AssociationMap<const edm::Ptr<reco::CaloJet>,     mithep::CaloJet*>      CaloJetMap;
71 >  typedef AssociationMap<const edm::Ptr<reco::PFJet>,       mithep::PFJet*>        PFJetMap;
72   }  
73   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines