Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
Fireworks
Muons
plugins
FWItemMuonAccessors.cc
Go to the documentation of this file.
1
// -*- C++ -*-
2
//
3
// Package: Core
4
// Class : FWItemCSCSegmentAccessor
5
//
6
// Implementation:
7
// An example of how to write a plugin based FWItemAccessorBase derived class.
8
//
9
// Original Author: Giulio Eulisse
10
// Created: Thu Feb 18 15:19:44 EDT 2008
11
// $Id: FWItemMuonAccessors.cc,v 1.7 2010/06/18 12:44:05 yana Exp $
12
//
13
14
// system include files
15
#include <assert.h>
16
17
#include "TClass.h"
18
19
// user include files
20
#include "
DataFormats/CSCRecHit/interface/CSCRecHit2DCollection.h
"
21
#include "
DataFormats/CSCRecHit/interface/CSCSegmentCollection.h
"
22
23
#include "
DataFormats/DTRecHit/interface/DTRecSegment2DCollection.h
"
24
#include "
DataFormats/DTRecHit/interface/DTRecSegment4DCollection.h
"
25
#include "
DataFormats/DTRecHit/interface/DTRecHitCollection.h
"
26
27
#include "
DataFormats/RPCRecHit/interface/RPCRecHitCollection.h
"
28
29
#include "
DataFormats/DTDigi/interface/DTDigiCollection.h
"
30
#include "
DataFormats/CSCDigi/interface/CSCWireDigiCollection.h
"
31
#include "
DataFormats/CSCDigi/interface/CSCStripDigiCollection.h
"
32
#include "
DataFormats/RPCDigi/interface/RPCDigiCollection.h
"
33
#include "
DataFormats/CSCDigi/interface/CSCRPCDigiCollection.h
"
34
35
#include "
Fireworks/Core/interface/FWItemRandomAccessor.h
"
36
37
REGISTER_TEMPLATE_FWITEMACCESSOR
(
FWItemRandomAccessor<CSCRecHit2DCollection>
,
CSCRecHit2DCollection
,
"CSCRecHit2DCollectionAccessor"
);
38
REGISTER_TEMPLATE_FWITEMACCESSOR
(
FWItemRandomAccessor<CSCSegmentCollection>
,
CSCSegmentCollection
,
"CSCSegmentCollectionAccessor"
);
39
REGISTER_TEMPLATE_FWITEMACCESSOR
(
FWItemRandomAccessor<DTRecSegment2DCollection>
,
DTRecSegment2DCollection
,
"DTSegment2DCollectionAccessor"
);
40
REGISTER_TEMPLATE_FWITEMACCESSOR
(
FWItemRandomAccessor<DTRecSegment4DCollection>
,
DTRecSegment4DCollection
,
"DTSegment4DCollectionAccessor"
);
41
REGISTER_TEMPLATE_FWITEMACCESSOR
(
FWItemRandomAccessor<DTRecHitCollection>
,
DTRecHitCollection
,
"DTRecHitCollectionAccessor"
);
42
REGISTER_TEMPLATE_FWITEMACCESSOR
(
FWItemRandomAccessor<RPCRecHitCollection>
,
RPCRecHitCollection
,
"RPCRecHitCollectionAccessor"
);
43
44
typedef
FWItemMuonDigiAccessor<DTDigiCollection,DTDigi>
DTDigiAccessor
;
45
REGISTER_TEMPLATE_FWITEMACCESSOR
(
DTDigiAccessor
,
DTDigiCollection
,
"DTDigiCollectionAccessor"
);
46
47
typedef
FWItemMuonDigiAccessor<CSCWireDigiCollection, CSCWireDigi>
CSCWireDigiAccessor
;
48
REGISTER_TEMPLATE_FWITEMACCESSOR
(
CSCWireDigiAccessor
,
CSCWireDigiCollection
,
"CSCWireDigiCollectionAccessor"
);
49
50
typedef
FWItemMuonDigiAccessor<CSCStripDigiCollection, CSCStripDigi>
CSCStripDigiAccessor
;
51
REGISTER_TEMPLATE_FWITEMACCESSOR
(
CSCStripDigiAccessor
,
CSCStripDigiCollection
,
"CSCStripDigiCollectionAccessor"
);
52
53
typedef
FWItemMuonDigiAccessor<RPCDigiCollection, RPCDigi>
RPCDigiAccessor
;
54
REGISTER_TEMPLATE_FWITEMACCESSOR
(
RPCDigiAccessor
,
RPCDigiCollection
,
"RPCDigiCollectionAccessor"
);
55
56
typedef
FWItemMuonDigiAccessor<CSCRPCDigiCollection, CSCRPCDigi>
CSCRPCDigiAccessor
;
57
REGISTER_TEMPLATE_FWITEMACCESSOR
(
CSCRPCDigiAccessor
,
CSCRPCDigiCollection
,
"CSCRPCDigiCollectionAccessor"
);
CSCWireDigiAccessor
FWItemMuonDigiAccessor< CSCWireDigiCollection, CSCWireDigi > CSCWireDigiAccessor
Definition:
FWItemMuonAccessors.cc:47
CSCStripDigiCollection.h
DTDigiCollection
DTDigiAccessor
FWItemMuonDigiAccessor< DTDigiCollection, DTDigi > DTDigiAccessor
Definition:
FWItemMuonAccessors.cc:44
CSCRecHit2DCollection
FWItemRandomAccessor
Definition:
FWItemRandomAccessor.h:74
CSCStripDigiCollection
CSCRecHit2DCollection.h
DTRecHitCollection
DTRecHitCollection.h
DTRecSegment4DCollection
CSCRPCDigiCollection.h
CSCRPCDigiAccessor
FWItemMuonDigiAccessor< CSCRPCDigiCollection, CSCRPCDigi > CSCRPCDigiAccessor
Definition:
FWItemMuonAccessors.cc:56
RPCRecHitCollection.h
CSCStripDigiAccessor
FWItemMuonDigiAccessor< CSCStripDigiCollection, CSCStripDigi > CSCStripDigiAccessor
Definition:
FWItemMuonAccessors.cc:50
DTDigiCollection.h
FWItemMuonDigiAccessor
Definition:
FWItemRandomAccessor.h:235
CSCSegmentCollection
RPCRecHitCollection
RPCDigiCollection
CSCSegmentCollection.h
DTRecSegment2DCollection
FWItemRandomAccessor.h
CSCWireDigiCollection.h
RPCDigiAccessor
FWItemMuonDigiAccessor< RPCDigiCollection, RPCDigi > RPCDigiAccessor
Definition:
FWItemMuonAccessors.cc:53
CSCRPCDigiCollection
REGISTER_TEMPLATE_FWITEMACCESSOR
#define REGISTER_TEMPLATE_FWITEMACCESSOR(_name_, _type_, _purpose_)
Definition:
FWItemAccessorRegistry.h:42
RPCDigiCollection.h
CSCWireDigiCollection
DTRecSegment4DCollection.h
DTRecSegment2DCollection.h
Generated for CMSSW Reference Manual by
1.8.5