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.12 by bendavid, Wed Sep 24 09:01:09 2008 UTC vs.
Revision 1.23 by bendavid, Wed Feb 24 17:38:25 2010 UTC

# Line 10 | Line 10
10  
11   #ifndef MITPROD_TREEFILLER_ASSOCIATIONMAPS_H
12   #define MITPROD_TREEFILLER_ASSOCIATIONMAPS_H
13 <
14 < #include "MitProd/TreeFiller/interface/AssociationMap.h"
15 < #include "MitAna/DataTree/interface/Track.h"
16 < #include "MitAna/DataTree/interface/BasicCluster.h"
17 < #include "MitAna/DataTree/interface/CaloTower.h"
18 < #include "MitAna/DataTree/interface/Types.h"
13 >
14 > #include "DataFormats/CaloRecHit/interface/CaloCluster.h"
15 > #include "DataFormats/CaloRecHit/interface/CaloClusterFwd.h"
16 > #include "DataFormats/CaloTowers/interface/CaloTowerDetId.h"
17 > #include "DataFormats/EgammaCandidates/interface/Conversion.h"
18 > #include "DataFormats/EgammaCandidates/interface/ConversionFwd.h"
19 > #include "DataFormats/EgammaReco/interface/SuperCluster.h"
20 > #include "DataFormats/EgammaReco/interface/SuperClusterFwd.h"
21 > #include "DataFormats/HepMCCandidate/interface/GenParticle.h"
22 > #include "DataFormats/JetReco/interface/CaloJetCollection.h"
23 > #include "DataFormats/JetReco/interface/PFJetCollection.h"
24 > #include "DataFormats/JetReco/interface/TrackJetCollection.h"
25 > #include "DataFormats/MuonReco/interface/Muon.h"
26 > #include "DataFormats/ParticleFlowCandidate/interface/PFCandidateFwd.h"
27   #include "DataFormats/TrackReco/interface/Track.h"
28   #include "DataFormats/TrackReco/interface/TrackFwd.h"
29 < #include "DataFormats/EgammaReco/interface/BasicClusterFwd.h"
30 < #include "DataFormats/EgammaReco/interface/BasicCluster.h"
23 < #include "DataFormats/EgammaReco/interface/SuperClusterFwd.h"
24 < #include "DataFormats/EgammaReco/interface/SuperCluster.h"
25 < #include "DataFormats/GsfTrackReco/interface/GsfTrack.h"
26 < #include "DataFormats/GsfTrackReco/interface/GsfTrackFwd.h"
27 < #include "DataFormats/CaloTowers/interface/CaloTowerDetId.h"
28 < #include "MitAna/DataTree/interface/MCParticle.h"
29 < #include "MitAna/DataTree/interface/Electron.h"
30 < #include "MitAna/DataTree/interface/Conversion.h"
29 > #include "DataFormats/VertexReco/interface/Vertex.h"
30 > #include "DataFormats/VertexReco/interface/VertexFwd.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"
35 > #include "MitProd/TreeFiller/interface/AssociationMap.h"
36 > #include "MitEdm/DataFormats/interface/Types.h"
37   #include "MitEdm/DataFormats/interface/BasePartFwd.h"
38  
39 + #include "MitAna/DataTree/interface/TrackFwd.h"
40 + #include "MitAna/DataTree/interface/BasicClusterFwd.h"
41 + #include "MitAna/DataTree/interface/SuperClusterFwd.h"
42 + #include "MitAna/DataTree/interface/MCParticleFwd.h"
43 + #include "MitAna/DataTree/interface/CaloTowerFwd.h"
44 + #include "MitAna/DataTree/interface/ElectronFwd.h"
45 + #include "MitAna/DataTree/interface/MuonFwd.h"
46 + #include "MitAna/DataTree/interface/ConversionFwd.h"
47 + #include "MitAna/DataTree/interface/ParticleFwd.h"
48 + #include "MitAna/DataTree/interface/VertexFwd.h"
49 + #include "MitAna/DataTree/interface/PFCandidateFwd.h"
50 + #include "MitAna/DataTree/interface/CaloJetFwd.h"
51 + #include "MitAna/DataTree/interface/PFJetFwd.h"
52 + #include "MitAna/DataTree/interface/TrackJetFwd.h"
53 +
54   namespace mithep
55   {
56    typedef std::pair<int,int> PairIntKey;
57  
58 <  typedef AssociationMap<const reco::TrackRef,        mithep::Track*>        TrackMap;
59 <  typedef AssociationMap<const reco::GsfTrackRef,     mithep::Track*>        GsfTrackMap;
60 <  typedef AssociationMap<const reco::BasicClusterRef, mithep::BasicCluster*> BasicClusterMap;
61 <  typedef AssociationMap<const reco::SuperClusterRef, mithep::SuperCluster*> SuperClusterMap;
62 <  typedef AssociationMap<const Int_t,                 mithep::MCParticle*>   GenParticleMap;
63 <  typedef AssociationMap<const SimTrackRef,           mithep::MCParticle*>   SimTrackMap;
64 <  typedef AssociationMap<const TrackingParticleRef,   mithep::MCParticle*>   TrackingParticleMap;
65 <  typedef AssociationMap<const reco::TrackRef,        mithep::Electron*>     ConversionElectronMap;
66 <  typedef AssociationMap<const reco::ConversionRef,   mithep::Conversion*>   ConversionMap;
67 <  typedef AssociationMap<const mitedm::BasePartPtr,   mithep::Particle*>     BasePartMap;
68 <  typedef AssociationMap<const CaloTowerDetId,        mithep::CaloTower*>    CaloTowerMap;
58 >  typedef AssociationMap<const mitedm::TrackPtr,            mithep::Track*>        TrackMap;
59 >  typedef AssociationMap<const reco::CaloClusterPtr,        mithep::BasicCluster*> BasicClusterMap;
60 >  typedef AssociationMap<const reco::SuperClusterRef,       mithep::SuperCluster*> SuperClusterMap;
61 >  typedef AssociationMap<const edm::Ptr<reco::GenParticle>, mithep::MCParticle*>   AODGenParticleMap;
62 >  typedef AssociationMap<const int,                         mithep::MCParticle*>   GenParticleBarcodeMap;
63 >  typedef AssociationMap<const SimTrackRef,                 mithep::MCParticle*>   SimTrackMap;
64 >  typedef AssociationMap<const unsigned int,                mithep::MCParticle*>   SimTrackTidMap;
65 >  typedef AssociationMap<const TrackingParticleRef,         mithep::MCParticle*>   TrackingParticleMap;
66 >  typedef AssociationMap<const edm::Ptr<reco::Track>,       mithep::Electron*>     ConversionElectronMap;
67 >  typedef AssociationMap<const reco::ConversionRef,         mithep::Conversion*>   ConversionMap;
68 >  typedef AssociationMap<const mitedm::BasePartPtr,         mithep::Particle*>     BasePartMap;
69 >  typedef AssociationMap<const edm::Ptr<reco::Track>,       mithep::Particle*>     TrackPartMap;
70 >  typedef AssociationMap<const CaloTowerDetId,              mithep::CaloTower*>    CaloTowerMap;
71 >  typedef AssociationMap<const mitedm::VertexPtr,           mithep::Vertex*>       VertexMap;
72 >  typedef AssociationMap<const DetId,                       mithep::SuperCluster*> SuperClusterIdMap;
73 >  typedef AssociationMap<const edm::Ptr<reco::Muon>,        mithep::Muon*>         MuonMap;
74 >  typedef AssociationMap<const reco::PFCandidatePtr,        mithep::PFCandidate*>  PFCandidateMap;
75 >  typedef AssociationMap<const edm::Ptr<reco::CaloJet>,     mithep::CaloJet*>      CaloJetMap;
76 >  typedef AssociationMap<const edm::Ptr<reco::PFJet>,       mithep::PFJet*>        PFJetMap;
77 >  typedef AssociationMap<const edm::Ptr<reco::TrackJet>,    mithep::TrackJet*>     TrackJetMap;
78   }  
79   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines