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/interface/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>
>,
37
edm::DetSetVector<SiStripDigi>
,
38
"SiStripDigiCollectionAccessor"
);
39
REGISTER_TEMPLATE_FWITEMACCESSOR
(
FWItemDetSetAccessor
<
edm::DetSetVector<PixelDigi>
>,
40
edm::DetSetVector<PixelDigi>
,
41
"SiPixelDigiCollectionAccessor"
);
42
REGISTER_TEMPLATE_FWITEMACCESSOR
(
FWItemNewDetSetAccessor
<
edmNew::DetSetVector<SiStripCluster>
>,
43
edmNew::DetSetVector<SiStripCluster>
,
44
"SiStripClusterCollectionNewAccessor"
);
45
REGISTER_TEMPLATE_FWITEMACCESSOR
(
FWItemNewDetSetAccessor
<
edmNew::DetSetVector<SiPixelCluster>
>,
46
edmNew::DetSetVector<SiPixelCluster>
,
47
"SiPixelClusterCollectionNewAccessor"
);
48
REGISTER_TEMPLATE_FWITEMACCESSOR
(
FWItemNewDetSetAccessor
<
edmNew::DetSetVector<Phase2TrackerCluster1D>
>,
49
edmNew::DetSetVector<Phase2TrackerCluster1D>
,
50
"Phase2TrackerCluster1DCollectionNewAccessor"
);
51
52
REGISTER_FWITEMACCESSOR
(
BeamSpotSingleAccessor
,
reco::BeamSpot
,
"BeamSpotAccessor"
);
REGISTER_FWITEMACCESSOR_METHODS
#define REGISTER_FWITEMACCESSOR_METHODS()
Definition:
register_itemaccessorbase_macro.h:30
DetSetVectorNew.h
FWItemNewDetSetAccessor
Definition:
FWItemRandomAccessor.h:144
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< SiStripCluster >
FWItemDetSetAccessor
Definition:
FWItemRandomAccessor.h:103
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:42
DDAxes::x
SiPixelCluster.h
reco::BeamSpot
Definition:
BeamSpot.h:21
edm::DetSetVector< SiStripDigi >
Generated for CMSSW Reference Manual by
1.8.14