1 |
//--------------------------------------------------------------------------------------------------
|
2 |
// $Id: AssociationMaps.h,v 1.18 2009/03/06 14:40:10 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 "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"
|
22 |
#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 |
#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 "SimDataFormats/Track/interface/SimTrack.h"
|
34 |
#include "SimDataFormats/Track/interface/SimTrackContainer.h"
|
35 |
#include "SimDataFormats/TrackingAnalysis/interface/TrackingParticle.h"
|
36 |
#include "SimDataFormats/TrackingAnalysis/interface/TrackingParticleFwd.h"
|
37 |
#include "DataFormats/EgammaCandidates/interface/Conversion.h"
|
38 |
#include "DataFormats/EgammaCandidates/interface/ConversionFwd.h"
|
39 |
#include "DataFormats/VertexReco/interface/Vertex.h"
|
40 |
#include "DataFormats/VertexReco/interface/VertexFwd.h"
|
41 |
#include "DataFormats/HepMCCandidate/interface/GenParticle.h"
|
42 |
#include "DataFormats/ParticleFlowCandidate/interface/PFCandidateFwd.h"
|
43 |
#include "DataFormats/MuonReco/interface/Muon.h"
|
44 |
#include "MitEdm/DataFormats/interface/BasePartFwd.h"
|
45 |
|
46 |
namespace mithep
|
47 |
{
|
48 |
typedef std::pair<int,int> PairIntKey;
|
49 |
|
50 |
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 |
typedef AssociationMap<const int, mithep::MCParticle*> GenParticleBarcodeMap;
|
55 |
typedef AssociationMap<const SimTrackRef, mithep::MCParticle*> SimTrackMap;
|
56 |
typedef AssociationMap<const unsigned int, mithep::MCParticle*> SimTrackTidMap;
|
57 |
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 |
typedef AssociationMap<const edm::Ptr<reco::Muon>, mithep::Muon*> MuonMap;
|
65 |
typedef AssociationMap<const reco::PFCandidatePtr, mithep::PFCandidate*> PFCandidateMap;
|
66 |
}
|
67 |
#endif
|