Main Page
Namespaces
Classes
Package Documentation
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
//
11
12
#include <cassert>
13
14
#include "TClass.h"
15
16
#include "
DataFormats/Common/interface/DetSetVector.h
"
17
#include "
DataFormats/Common/interface/DetSetVectorNew.h
"
18
#include "
DataFormats/SiPixelDigi/interface/PixelDigi.h
"
19
#include "
DataFormats/SiStripDigi/interface/SiStripDigi.h
"
20
#include "
DataFormats/SiStripCluster/interface/SiStripCluster.h
"
21
#include "
DataFormats/SiPixelCluster/interface/SiPixelCluster.h
"
22
#include "
DataFormats/Phase2TrackerCluster/interface/Phase2TrackerCluster1D.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
~BeamSpotSingleAccessor
()
override
{};
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
REGISTER_TEMPLATE_FWITEMACCESSOR
(
FWItemNewDetSetAccessor
<
edmNew::DetSetVector<Phase2TrackerCluster1D>
>,
edmNew::DetSetVector<Phase2TrackerCluster1D>
,
"Phase2TrackerCluster1DCollectionNewAccessor"
);
41
42
REGISTER_FWITEMACCESSOR
(
BeamSpotSingleAccessor
,
reco::BeamSpot
,
"BeamSpotAccessor"
);
REGISTER_FWITEMACCESSOR_METHODS
#define REGISTER_FWITEMACCESSOR_METHODS()
Definition:
register_itemaccessorbase_macro.h:27
DetSetVectorNew.h
FWItemNewDetSetAccessor
Definition:
FWItemRandomAccessor.h:155
BeamSpotSingleAccessor::BeamSpotSingleAccessor
BeamSpotSingleAccessor(const TClass *x)
Definition:
FWItemTrackAccessors.cc:31
BeamSpotSingleAccessor::~BeamSpotSingleAccessor
~BeamSpotSingleAccessor() override
Definition:
FWItemTrackAccessors.cc:32
BeamSpotSingleAccessor
Definition:
FWItemTrackAccessors.cc:29
SiStripDigi.h
PixelDigi.h
Phase2TrackerCluster1D.h
DetSetVector.h
FWItemSingleAccessor.h
edmNew::DetSetVector
Definition:
DetSetNew.h:12
FWItemDetSetAccessor
Definition:
FWItemRandomAccessor.h:108
REGISTER_FWITEMACCESSOR
#define REGISTER_FWITEMACCESSOR(_name_, _type_, _purpose_)
Definition:
FWItemAccessorRegistry.h:37
FWItemRandomAccessor.h
SiStripCluster.h
BeamSpot.h
FWItemSingleAccessor
Definition:
FWItemSingleAccessor.h:28
REGISTER_TEMPLATE_FWITEMACCESSOR
#define REGISTER_TEMPLATE_FWITEMACCESSOR(_name_, _type_, _purpose_)
Definition:
FWItemAccessorRegistry.h:41
DDAxes::x
SiPixelCluster.h
reco::BeamSpot
Definition:
BeamSpot.h:22
edm::DetSetVector< SiStripDigi >
Generated for CMSSW Reference Manual by
1.8.11