ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonReconstruction
MuonRecEvent
MuonPrepRawData
MuonPrepRawData
MuonPrepDataCollection.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
// PrepRawDataCollection.h
7
// Header file for class PrepRawDataCollection
9
// (c) ATLAS Detector software
11
// Class to contain all the RIOs of a detector element:
12
// module for Pixel or wafer for SCT or layer for TRT,
13
// for Muons:
15
// Version 1.0 15/07/2003 Veronique Boisvert
17
18
#ifndef MUONPREPRAWDATA_MUONPREPDATACOLLECTION_H
19
#define MUONPREPRAWDATA_MUONPREPDATACOLLECTION_H
20
21
// Base classes
22
#include "
Identifier/Identifiable.h
"
23
#include "
Identifier/IdentifierHash.h
"
24
#include "
AthContainers/DataVector.h
"
25
26
27
// Needed class
28
#include "
TrkPrepRawData/PrepRawData.h
"
29
30
//Needed Classes
31
#include "
MuonPrepRawData/CscStripPrepData.h
"
32
#include "
MuonPrepRawData/CscPrepData.h
"
33
#include "
MuonPrepRawData/MdtPrepData.h
"
34
#include "
MuonPrepRawData/RpcPrepData.h
"
35
#include "
MuonPrepRawData/TgcPrepData.h
"
36
// New Small Wheel
37
#include "
MuonPrepRawData/MMPrepData.h
"
38
#include "
MuonPrepRawData/sTgcPrepData.h
"
39
40
namespace
Muon
{
41
43
44
template
<
class
PrepDataT >
45
class
MuonPrepDataCollection
:
public
Identifiable
,
46
public
DataVector
< PrepDataT > {
47
49
// Public methods:
50
///////////////////////////////////////////////////////////////////
51
public
:
52
53
// Constructor with parameters:
54
// Hashed offline identifier of the DE
55
MuonPrepDataCollection
(
const
IdentifierHash
idHash);
56
58
MuonPrepDataCollection
();
59
60
61
virtual
~MuonPrepDataCollection
();
62
63
65
// Const methods:
67
68
// typedef needed for IdentifiableContainer base class
69
typedef
Identifier
ID
;
70
71
// identifier of this detector element:
72
virtual
Identifier
identify
()
const
override final;
73
74
virtual
IdentifierHash
identifyHash
()
const
override final;
75
76
virtual
void
setIdentifier
(
Identifier
id
);
77
// plottable
78
virtual
std
::
string
type
()
const
;
79
80
81
// typedef needed for IdentifiableContainer base class
82
// typedef PrepRawData DIGIT;
83
85
// Private methods:
87
private
:
88
89
MuonPrepDataCollection
(
const
MuonPrepDataCollection
&);
90
MuonPrepDataCollection
&operator=(
const
MuonPrepDataCollection
&);
91
93
// Private data:
95
private
:
96
const
IdentifierHash
m_idHash
;
97
Identifier
m_id
;
// identifier of the DE
98
99
100
};
101
// member functions that use Collection T
102
#include"MuonPrepRawData/MuonPrepDataCollection.icc"
104
// Inline methods:
106
using
MdtPrepDataCollection
=
MuonPrepDataCollection<MdtPrepData>
;
107
using
RpcPrepDataCollection
=
MuonPrepDataCollection<RpcPrepData>
;
108
using
TgcPrepDataCollection
=
MuonPrepDataCollection<TgcPrepData>
;
109
using
CscPrepDataCollection
=
MuonPrepDataCollection<CscPrepData>
;
110
111
using
CscStripPrepDataCollection
=
MuonPrepDataCollection<CscStripPrepData>
;
112
using
sTgcPrepDataCollection
=
MuonPrepDataCollection<sTgcPrepData>
;
113
using
MMPrepDataCollection
=
MuonPrepDataCollection<MMPrepData>
;
114
115
}
116
117
#endif
// MUONPREPRAWDATA_MUONPERDATACOLLECTION_H
118
CscPrepData.h
CscStripPrepData.h
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
Identifiable.h
IdentifierHash.h
MMPrepData.h
MdtPrepData.h
PrepRawData.h
RpcPrepData.h
TgcPrepData.h
DataVector< PrepDataT >::DataVector
DataVector(SG::OwnershipPolicy ownPolicy=SG::OWN_ELEMENTS, SG::IndexTrackingPolicy trackIndices=SG::DEFAULT_TRACK_INDICES)
Identifiable
This class provides an abstract interface to an Identifiable object.
Definition
Identifiable.h:27
IdentifierHash
This is a "hash" representation of an Identifier.
Definition
IdentifierHash.h:25
Muon::MuonPrepDataCollection
Template to hold collections of MuonPrepRawData objects.
Definition
MuonPrepDataCollection.h:46
Muon::MuonPrepDataCollection::identify
virtual Identifier identify() const override final
Definition
MuonPrepDataCollection.h:39
Muon::MuonPrepDataCollection::MuonPrepDataCollection
MuonPrepDataCollection(const IdentifierHash idHash)
Definition
MuonPrepDataCollection.h:17
Muon::MuonPrepDataCollection< MdtPrepData >::setIdentifier
virtual void setIdentifier(Identifier id)
Muon::MuonPrepDataCollection< MdtPrepData >::m_idHash
const IdentifierHash m_idHash
Definition
MuonPrepDataCollection.h:96
Muon::MuonPrepDataCollection::MuonPrepDataCollection
MuonPrepDataCollection()
Default Constructor (for persistency).
Definition
MuonPrepDataCollection.h:27
Muon::MuonPrepDataCollection< MdtPrepData >::m_id
Identifier m_id
Definition
MuonPrepDataCollection.h:97
Muon::MuonPrepDataCollection< MdtPrepData >::type
virtual std::string type() const
Muon::MuonPrepDataCollection< MdtPrepData >::identifyHash
virtual IdentifierHash identifyHash() const override final
Muon::MuonPrepDataCollection::ID
Identifier ID
Definition
MuonPrepDataCollection.h:69
Muon::MuonPrepDataCollection::~MuonPrepDataCollection
virtual ~MuonPrepDataCollection()
Destructor:
Definition
MuonPrepDataCollection.h:35
const
Identifier
Definition
IdentifierFieldParser.cxx:14
Muon
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Definition
TrackSystemController.h:46
Muon::CscPrepDataCollection
MuonPrepDataCollection< CscPrepData > CscPrepDataCollection
Definition
MuonPrepDataCollection.h:109
Muon::TgcPrepDataCollection
MuonPrepDataCollection< TgcPrepData > TgcPrepDataCollection
Definition
MuonPrepDataCollection.h:108
Muon::CscStripPrepDataCollection
MuonPrepDataCollection< CscStripPrepData > CscStripPrepDataCollection
Definition
MuonPrepDataCollection.h:111
Muon::MMPrepDataCollection
MuonPrepDataCollection< MMPrepData > MMPrepDataCollection
Definition
MuonPrepDataCollection.h:113
Muon::MdtPrepDataCollection
MuonPrepDataCollection< MdtPrepData > MdtPrepDataCollection
Definition
MuonPrepDataCollection.h:106
Muon::RpcPrepDataCollection
MuonPrepDataCollection< RpcPrepData > RpcPrepDataCollection
Definition
MuonPrepDataCollection.h:107
Muon::sTgcPrepDataCollection
MuonPrepDataCollection< sTgcPrepData > sTgcPrepDataCollection
Definition
MuonPrepDataCollection.h:112
std
STL namespace.
sTgcPrepData.h
private
#define private
Definition
testRead.cxx:27
Generated on
for ATLAS Offline Software by
1.17.0