ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/AssociationMaps.h
Revision: 1.19
Committed: Wed Mar 11 18:15:47 2009 UTC (16 years, 1 month ago) by bendavid
Content type: text/plain
Branch: MAIN
CVS Tags: Mit_008pre2
Changes since 1.18: +7 -1 lines
Log Message:
Added new association maps for PF

File Contents

# User Rev Content
1 loizides 1.1 //--------------------------------------------------------------------------------------------------
2 bendavid 1.19 // $Id: AssociationMaps.h,v 1.18 2009/03/06 14:40:10 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.9 #include "SimDataFormats/Track/interface/SimTrack.h"
34     #include "SimDataFormats/Track/interface/SimTrackContainer.h"
35 loizides 1.1 #include "SimDataFormats/TrackingAnalysis/interface/TrackingParticle.h"
36     #include "SimDataFormats/TrackingAnalysis/interface/TrackingParticleFwd.h"
37 bendavid 1.2 #include "DataFormats/EgammaCandidates/interface/Conversion.h"
38     #include "DataFormats/EgammaCandidates/interface/ConversionFwd.h"
39 bendavid 1.13 #include "DataFormats/VertexReco/interface/Vertex.h"
40     #include "DataFormats/VertexReco/interface/VertexFwd.h"
41 bendavid 1.17 #include "DataFormats/HepMCCandidate/interface/GenParticle.h"
42 bendavid 1.19 #include "DataFormats/ParticleFlowCandidate/interface/PFCandidateFwd.h"
43     #include "DataFormats/MuonReco/interface/Muon.h"
44 bendavid 1.6 #include "MitEdm/DataFormats/interface/BasePartFwd.h"
45 loizides 1.1
46 loizides 1.11 namespace mithep
47 loizides 1.1 {
48 loizides 1.7 typedef std::pair<int,int> PairIntKey;
49    
50 bendavid 1.17 typedef AssociationMap<const mitedm::TrackPtr, mithep::Track*> TrackMap;
51     typedef AssociationMap<const reco::BasicClusterRef, mithep::BasicCluster*> BasicClusterMap;
52     typedef AssociationMap<const reco::SuperClusterRef, mithep::SuperCluster*> SuperClusterMap;
53     typedef AssociationMap<const edm::Ptr<reco::GenParticle>, mithep::MCParticle*> AODGenParticleMap;
54 bendavid 1.18 typedef AssociationMap<const int, mithep::MCParticle*> GenParticleBarcodeMap;
55 bendavid 1.17 typedef AssociationMap<const SimTrackRef, mithep::MCParticle*> SimTrackMap;
56 bendavid 1.18 typedef AssociationMap<const unsigned int, mithep::MCParticle*> SimTrackTidMap;
57 bendavid 1.17 typedef AssociationMap<const TrackingParticleRef, mithep::MCParticle*> TrackingParticleMap;
58     typedef AssociationMap<const edm::Ptr<reco::Track>, mithep::Electron*> ConversionElectronMap;
59     typedef AssociationMap<const reco::ConversionRef, mithep::Conversion*> ConversionMap;
60     typedef AssociationMap<const mitedm::BasePartPtr, mithep::Particle*> BasePartMap;
61     typedef AssociationMap<const CaloTowerDetId, mithep::CaloTower*> CaloTowerMap;
62     typedef AssociationMap<const mitedm::VertexPtr, mithep::Vertex*> VertexMap;
63     typedef AssociationMap<const DetId, mithep::SuperCluster*> SuperClusterIdMap;
64 bendavid 1.19 typedef AssociationMap<const edm::Ptr<reco::Muon>, mithep::Muon*> MuonMap;
65     typedef AssociationMap<const reco::PFCandidatePtr, mithep::PFCandidate*> PFCandidateMap;
66 loizides 1.1 }
67     #endif