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
//
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
23
#include "
DataFormats/BeamSpot/interface/BeamSpot.h
"
24
25
#include "
Fireworks/Core/interface/FWItemRandomAccessor.h
"
26
#include "
Fireworks/Core/src/FWItemSingleAccessor.h
"
27
28
class
BeamSpotSingleAccessor
:
public
FWItemSingleAccessor
{
29
public
:
30
BeamSpotSingleAccessor
(
const
TClass*
x
):
FWItemSingleAccessor
(x){}
31
virtual
~BeamSpotSingleAccessor
() {};
32
REGISTER_FWITEMACCESSOR_METHODS
();
33
};
34
35
REGISTER_TEMPLATE_FWITEMACCESSOR
(
FWItemDetSetAccessor
<
edm::DetSetVector<SiStripDigi>
>,
edm::DetSetVector<SiStripDigi>
,
"SiStripDigiCollectionAccessor"
);
36
REGISTER_TEMPLATE_FWITEMACCESSOR
(
FWItemDetSetAccessor
<
edm::DetSetVector<PixelDigi>
>,
edm::DetSetVector<PixelDigi>
,
"SiPixelDigiCollectionAccessor"
);
37
REGISTER_TEMPLATE_FWITEMACCESSOR
(
FWItemNewDetSetAccessor
<
edmNew::DetSetVector<SiStripCluster>
>,
edmNew::DetSetVector<SiStripCluster>
,
"SiStripClusterCollectionNewAccessor"
);
38
REGISTER_TEMPLATE_FWITEMACCESSOR
(
FWItemNewDetSetAccessor
<
edmNew::DetSetVector<SiPixelCluster>
>,
edmNew::DetSetVector<SiPixelCluster>
,
"SiPixelClusterCollectionNewAccessor"
);
39
40
REGISTER_FWITEMACCESSOR
(
BeamSpotSingleAccessor
,
reco::BeamSpot
,
"BeamSpotAccessor"
);
DetSetVectorNew.h
FWItemNewDetSetAccessor
Definition:
FWItemRandomAccessor.h:155
BeamSpotSingleAccessor::BeamSpotSingleAccessor
BeamSpotSingleAccessor(const TClass *x)
Definition:
FWItemTrackAccessors.cc:30
BeamSpotSingleAccessor
Definition:
FWItemTrackAccessors.cc:28
SiStripDigi.h
PixelDigi.h
DetSetVector.h
REGISTER_FWITEMACCESSOR
REGISTER_FWITEMACCESSOR(BeamSpotSingleAccessor, reco::BeamSpot,"BeamSpotAccessor")
FWItemSingleAccessor.h
edmNew::DetSetVector
Definition:
DetSetNew.h:12
FWItemDetSetAccessor
Definition:
FWItemRandomAccessor.h:108
BeamSpotSingleAccessor::REGISTER_FWITEMACCESSOR_METHODS
REGISTER_FWITEMACCESSOR_METHODS()
FWItemRandomAccessor.h
SiStripCluster.h
BeamSpot.h
FWItemSingleAccessor
Definition:
FWItemSingleAccessor.h:28
BeamSpotSingleAccessor::~BeamSpotSingleAccessor
virtual ~BeamSpotSingleAccessor()
Definition:
FWItemTrackAccessors.cc:31
REGISTER_TEMPLATE_FWITEMACCESSOR
#define REGISTER_TEMPLATE_FWITEMACCESSOR(_name_, _type_, _purpose_)
Definition:
FWItemAccessorRegistry.h:41
x
Definition:
DDAxes.h:10
SiPixelCluster.h
reco::BeamSpot
Definition:
BeamSpot.h:22
edm::DetSetVector< SiStripDigi >
Generated for CMSSW Reference Manual by
1.8.5