Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
Fireworks
Tracks
plugins
FWItemTrackAccessors.cc
Go to the documentation of this file.
1
// -*- C++ -*-
2
//
3
// Package: Tracks
4
// Class : FWItemTrackAccessor
5
//
6
// Implementation:
7
//
8
// Original Author: Tom McCauley
9
// Created: Thu Feb 18 15:19:44 EDT 2008
10
// $Id: FWItemTrackAccessors.cc,v 1.8 2010/06/18 12:44:47 yana Exp $
11
//
12
13
#include <assert.h>
14
15
#include "TClass.h"
16
17
#include "
DataFormats/Common/interface/DetSetVector.h
"
18
#include "
DataFormats/Common/interface/DetSetVectorNew.h
"
19
#include "
DataFormats/SiPixelDigi/interface/PixelDigi.h
"
20
#include "
DataFormats/SiStripDigi/interface/SiStripDigi.h
"
21
#include "
DataFormats/SiStripCluster/interface/SiStripCluster.h
"
22
#include "
DataFormats/SiPixelCluster/interface/SiPixelCluster.h
"
23
24
#include "
DataFormats/BeamSpot/interface/BeamSpot.h
"
25
26
#include "
Fireworks/Core/interface/FWItemRandomAccessor.h
"
27
#include "
Fireworks/Core/src/FWItemSingleAccessor.h
"
28
29
class
BeamSpotSingleAccessor
:
public
FWItemSingleAccessor
{
30
public
:
31
BeamSpotSingleAccessor
(
const
TClass*
x
):
FWItemSingleAccessor
(x){}
32
virtual
~BeamSpotSingleAccessor
() {};
33
REGISTER_FWITEMACCESSOR_METHODS
();
34
};
35
36
REGISTER_TEMPLATE_FWITEMACCESSOR
(
FWItemDetSetAccessor
<
edm::DetSetVector<SiStripDigi>
>,
edm::DetSetVector<SiStripDigi>
,
"SiStripDigiCollectionAccessor"
);
37
REGISTER_TEMPLATE_FWITEMACCESSOR
(
FWItemDetSetAccessor
<
edm::DetSetVector<PixelDigi>
>,
edm::DetSetVector<PixelDigi>
,
"SiPixelDigiCollectionAccessor"
);
38
REGISTER_TEMPLATE_FWITEMACCESSOR
(
FWItemNewDetSetAccessor
<
edmNew::DetSetVector<SiStripCluster>
>,
edmNew::DetSetVector<SiStripCluster>
,
"SiStripClusterCollectionNewAccessor"
);
39
REGISTER_TEMPLATE_FWITEMACCESSOR
(
FWItemNewDetSetAccessor
<
edmNew::DetSetVector<SiPixelCluster>
>,
edmNew::DetSetVector<SiPixelCluster>
,
"SiPixelClusterCollectionNewAccessor"
);
40
41
REGISTER_FWITEMACCESSOR
(
BeamSpotSingleAccessor
,
reco::BeamSpot
,
"BeamSpotAccessor"
);
DetSetVectorNew.h
FWItemNewDetSetAccessor
Definition:
FWItemRandomAccessor.h:156
BeamSpotSingleAccessor::BeamSpotSingleAccessor
BeamSpotSingleAccessor(const TClass *x)
Definition:
FWItemTrackAccessors.cc:31
BeamSpotSingleAccessor
Definition:
FWItemTrackAccessors.cc:29
SiStripDigi.h
PixelDigi.h
DetSetVector.h
REGISTER_FWITEMACCESSOR
REGISTER_FWITEMACCESSOR(BeamSpotSingleAccessor, reco::BeamSpot,"BeamSpotAccessor")
FWItemSingleAccessor.h
edmNew::DetSetVector
Definition:
DetSetNew.h:8
FWItemDetSetAccessor
Definition:
FWItemRandomAccessor.h:109
BeamSpotSingleAccessor::REGISTER_FWITEMACCESSOR_METHODS
REGISTER_FWITEMACCESSOR_METHODS()
FWItemRandomAccessor.h
SiStripCluster.h
BeamSpot.h
FWItemSingleAccessor
Definition:
FWItemSingleAccessor.h:29
BeamSpotSingleAccessor::~BeamSpotSingleAccessor
virtual ~BeamSpotSingleAccessor()
Definition:
FWItemTrackAccessors.cc:32
REGISTER_TEMPLATE_FWITEMACCESSOR
#define REGISTER_TEMPLATE_FWITEMACCESSOR(_name_, _type_, _purpose_)
Definition:
FWItemAccessorRegistry.h:42
x
Definition:
DDAxes.h:10
SiPixelCluster.h
reco::BeamSpot
Definition:
BeamSpot.h:23
edm::DetSetVector< SiStripDigi >
Generated for CMSSW Reference Manual by
1.8.5