ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/AssociationMaps.h
Revision: 1.27
Committed: Sun Mar 11 23:11:55 2012 UTC (13 years, 1 month ago) by pharris
Content type: text/plain
Branch: MAIN
CVS Tags: Mit_026, Mit_025e, Mit_025d
Changes since 1.26: +6 -1 lines
Log Message:
Adding DCA Significance + PF No Pileup Flag + Charge Hadron Subtracted Jets

File Contents

# Content
1 //--------------------------------------------------------------------------------------------------
2 // $Id: AssociationMaps.h,v 1.26 2010/11/22 16:55:08 bendavid Exp $
3 //
4 // AssociationMaps
5 //
6 // This header file defines the standard types for the AssociationMaps we want to use.
7 //
8 // Authors: J.Bendavid
9 //--------------------------------------------------------------------------------------------------
10
11 #ifndef MITPROD_TREEFILLER_ASSOCIATIONMAPS_H
12 #define MITPROD_TREEFILLER_ASSOCIATIONMAPS_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/JPTJetCollection.h"
24 #include "DataFormats/JetReco/interface/PFJetCollection.h"
25 #include "DataFormats/JetReco/interface/TrackJetCollection.h"
26 #include "DataFormats/EgammaCandidates/interface/GsfElectron.h"
27 #include "DataFormats/MuonReco/interface/Muon.h"
28 #include "DataFormats/ParticleFlowCandidate/interface/PFCandidateFwd.h"
29 #include "DataFormats/TauReco/interface/PFTau.h"
30 #include "DataFormats/TrackReco/interface/Track.h"
31 #include "DataFormats/TrackReco/interface/TrackFwd.h"
32 #include "DataFormats/VertexReco/interface/Vertex.h"
33 #include "DataFormats/VertexReco/interface/VertexFwd.h"
34 #include "SimDataFormats/Track/interface/SimTrack.h"
35 #include "SimDataFormats/Track/interface/SimTrackContainer.h"
36 #include "SimDataFormats/TrackingAnalysis/interface/TrackingParticle.h"
37 #include "SimDataFormats/TrackingAnalysis/interface/TrackingParticleFwd.h"
38 #include "MitProd/TreeFiller/interface/AssociationMap.h"
39 #include "MitEdm/DataFormats/interface/Types.h"
40 #include "MitEdm/DataFormats/interface/BasePartFwd.h"
41
42 #include "MitAna/DataTree/interface/TrackFwd.h"
43 #include "MitAna/DataTree/interface/BasicClusterFwd.h"
44 #include "MitAna/DataTree/interface/SuperClusterFwd.h"
45 #include "MitAna/DataTree/interface/MCParticleFwd.h"
46 #include "MitAna/DataTree/interface/CaloTowerFwd.h"
47 #include "MitAna/DataTree/interface/ElectronFwd.h"
48 #include "MitAna/DataTree/interface/MuonFwd.h"
49 #include "MitAna/DataTree/interface/PFTauFwd.h"
50 #include "MitAna/DataTree/interface/ConversionFwd.h"
51 #include "MitAna/DataTree/interface/ParticleFwd.h"
52 #include "MitAna/DataTree/interface/VertexFwd.h"
53 #include "MitAna/DataTree/interface/PFCandidateFwd.h"
54 #include "MitAna/DataTree/interface/CaloJetFwd.h"
55 #include "MitAna/DataTree/interface/JPTJetFwd.h"
56 #include "MitAna/DataTree/interface/PFJetFwd.h"
57 #include "MitAna/DataTree/interface/TrackJetFwd.h"
58 #include "MitAna/DataTree/interface/DecayParticleFwd.h"
59
60 namespace mithep
61 {
62 typedef std::pair<int,int> PairIntKey;
63
64 typedef AssociationMap<const mitedm::TrackPtr, mithep::Track*> TrackMap;
65 typedef AssociationMap<const reco::CaloClusterPtr, mithep::BasicCluster*> BasicClusterMap;
66 typedef AssociationMap<const reco::SuperClusterRef, mithep::SuperCluster*> SuperClusterMap;
67 typedef AssociationMap<const edm::Ptr<reco::GenParticle>, mithep::MCParticle*> AODGenParticleMap;
68 typedef AssociationMap<const int, mithep::MCParticle*> GenParticleBarcodeMap;
69 typedef AssociationMap<const SimTrackRef, mithep::MCParticle*> SimTrackMap;
70 typedef AssociationMap<const unsigned int, mithep::MCParticle*> SimTrackTidMap;
71 typedef AssociationMap<const TrackingParticleRef, mithep::MCParticle*> TrackingParticleMap;
72 typedef AssociationMap<const edm::Ptr<reco::Track>, mithep::Electron*> ConversionElectronMap;
73 typedef AssociationMap<const reco::ConversionRef, mithep::Conversion*> ConversionMap;
74 typedef AssociationMap<const reco::ConversionRef, mithep::DecayParticle*> ConversionDecayMap;
75 typedef AssociationMap<const mitedm::BasePartPtr, mithep::Particle*> BasePartMap;
76 typedef AssociationMap<const edm::Ptr<reco::Track>, mithep::Particle*> TrackPartMap;
77 typedef AssociationMap<const CaloTowerDetId, mithep::CaloTower*> CaloTowerMap;
78 typedef AssociationMap<const DetId, mithep::CaloTower*> CaloTowerDetIdMap;
79 typedef AssociationMap<const mitedm::VertexPtr, mithep::Vertex*> VertexMap;
80 typedef AssociationMap<const DetId, mithep::SuperCluster*> SuperClusterIdMap;
81 typedef AssociationMap<const edm::Ptr<reco::Muon>, mithep::Muon*> MuonMap;
82 typedef AssociationMap<const edm::Ptr<reco::GsfElectron>, mithep::Electron*> ElectronMap;
83 typedef AssociationMap<const edm::Ptr<reco::PFTau>, mithep::PFTau*> PFTauMap;
84 typedef AssociationMap<const reco::PFCandidatePtr, mithep::PFCandidate*> PFCandidateMap;
85 typedef AssociationMap<const edm::Ptr<reco::CaloJet>, mithep::CaloJet*> CaloJetMap;
86 typedef AssociationMap<const edm::Ptr<reco::JPTJet>, mithep::JPTJet*> JPTJetMap;
87 typedef AssociationMap<const edm::Ptr<reco::PFJet>, mithep::PFJet*> PFJetMap;
88 typedef AssociationMap<const edm::Ptr<reco::TrackJet>, mithep::TrackJet*> TrackJetMap;
89 }
90 #endif