ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/AssociationMaps.h
Revision: 1.20
Committed: Fri Mar 20 18:45:32 2009 UTC (16 years, 1 month ago) by bendavid
Content type: text/plain
Branch: MAIN
CVS Tags: Mit_009c, Mit_009b, Mit_009a, Mit_009, Mit_008
Changes since 1.19: +7 -1 lines
Log Message:
Add extra association map types

File Contents

# User Rev Content
1 loizides 1.1 //--------------------------------------------------------------------------------------------------
2 bendavid 1.20 // $Id: AssociationMaps.h,v 1.19 2009/03/11 18:15:47 bendavid Exp $
3 loizides 1.1 //
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 loizides 1.11 #ifndef MITPROD_TREEFILLER_ASSOCIATIONMAPS_H
12     #define MITPROD_TREEFILLER_ASSOCIATIONMAPS_H
13 loizides 1.1
14     #include "MitProd/TreeFiller/interface/AssociationMap.h"
15 bendavid 1.13 #include "MitEdm/DataFormats/interface/Types.h"
16 loizides 1.1 #include "MitAna/DataTree/interface/Track.h"
17 sixie 1.8 #include "MitAna/DataTree/interface/BasicCluster.h"
18 bendavid 1.10 #include "MitAna/DataTree/interface/CaloTower.h"
19 bendavid 1.6 #include "MitAna/DataTree/interface/Types.h"
20 loizides 1.1 #include "DataFormats/TrackReco/interface/Track.h"
21     #include "DataFormats/TrackReco/interface/TrackFwd.h"
22 sixie 1.8 #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 bendavid 1.10 #include "DataFormats/CaloTowers/interface/CaloTowerDetId.h"
27 bendavid 1.19 #include "MitAna/DataTree/interface/Muon.h"
28 bendavid 1.5 #include "MitAna/DataTree/interface/MCParticle.h"
29 loizides 1.1 #include "MitAna/DataTree/interface/Electron.h"
30 bendavid 1.2 #include "MitAna/DataTree/interface/Conversion.h"
31 bendavid 1.13 #include "MitAna/DataTree/interface/Vertex.h"
32 bendavid 1.19 #include "MitAna/DataTree/interface/PFCandidate.h"
33 bendavid 1.20 #include "MitAna/DataTree/interface/CaloJet.h"
34     #include "MitAna/DataTree/interface/PFJet.h"
35 bendavid 1.9 #include "SimDataFormats/Track/interface/SimTrack.h"
36     #include "SimDataFormats/Track/interface/SimTrackContainer.h"
37 loizides 1.1 #include "SimDataFormats/TrackingAnalysis/interface/TrackingParticle.h"
38     #include "SimDataFormats/TrackingAnalysis/interface/TrackingParticleFwd.h"
39 bendavid 1.2 #include "DataFormats/EgammaCandidates/interface/Conversion.h"
40     #include "DataFormats/EgammaCandidates/interface/ConversionFwd.h"
41 bendavid 1.13 #include "DataFormats/VertexReco/interface/Vertex.h"
42     #include "DataFormats/VertexReco/interface/VertexFwd.h"
43 bendavid 1.17 #include "DataFormats/HepMCCandidate/interface/GenParticle.h"
44 bendavid 1.19 #include "DataFormats/ParticleFlowCandidate/interface/PFCandidateFwd.h"
45     #include "DataFormats/MuonReco/interface/Muon.h"
46 bendavid 1.6 #include "MitEdm/DataFormats/interface/BasePartFwd.h"
47 bendavid 1.20 #include "DataFormats/JetReco/interface/CaloJetCollection.h"
48     #include "DataFormats/JetReco/interface/PFJetCollection.h"
49 loizides 1.1
50 loizides 1.11 namespace mithep
51 loizides 1.1 {
52 loizides 1.7 typedef std::pair<int,int> PairIntKey;
53    
54 bendavid 1.17 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 bendavid 1.18 typedef AssociationMap<const int, mithep::MCParticle*> GenParticleBarcodeMap;
59 bendavid 1.17 typedef AssociationMap<const SimTrackRef, mithep::MCParticle*> SimTrackMap;
60 bendavid 1.18 typedef AssociationMap<const unsigned int, mithep::MCParticle*> SimTrackTidMap;
61 bendavid 1.17 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 bendavid 1.19 typedef AssociationMap<const edm::Ptr<reco::Muon>, mithep::Muon*> MuonMap;
69     typedef AssociationMap<const reco::PFCandidatePtr, mithep::PFCandidate*> PFCandidateMap;
70 bendavid 1.20 typedef AssociationMap<const edm::Ptr<reco::CaloJet>, mithep::CaloJet*> CaloJetMap;
71     typedef AssociationMap<const edm::Ptr<reco::PFJet>, mithep::PFJet*> PFJetMap;
72 loizides 1.1 }
73     #endif