ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
TestBeam
TBEvent
TBEvent
TBTailCatcher.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TBEVENT_TBTAILCATCHER_H
6
#define TBEVENT_TBTAILCATCHER_H
8
// //
9
// Testbeam TailCatcher reconstructed signals. //
10
// //
12
13
#include "
AthenaKernel/CLASS_DEF.h
"
14
15
#include "
AthContainers/DataVector.h
"
16
#include "
TBEvent/TBBeamDetector.h
"
17
#include "
TBEvent/TBScintillator.h
"
18
19
#include <vector>
20
21
22
23
class
TBTailCatcher
:
public
TBBeamDetector
,
24
public
DataVector
< TBScintillator >
25
{
26
public
:
27
28
typedef
double
signal_type
;
29
31
// Constructors and Destructor //
33
34
TBTailCatcher
();
35
TBTailCatcher
(
const
std::string& thisTailCatcherName,
36
bool
overflow,
37
const
std::vector< TBScintillator* >& theScints);
38
39
~TBTailCatcher
();
40
42
// Data Manipulation //
44
45
void
addScintillator
(
TBScintillator
* thisScint);
46
47
const
TBScintillator
*
48
getScintillator
(
const
std::string& thisScintName)
const
;
49
50
// global overflow
51
// virtual void setOverflow();
52
// virtual void setOverflow(bool overflow);
53
// virtual void resetOverflow();
54
56
// Data Access //
58
59
const
std::vector<signal_type>&
getSignals
()
const
;
60
signal_type
getSignal
(
const
std::string& thisScintName)
const
;
61
signal_type
getSignal
(
const
TBScintillator
* thisScint)
const
;
62
63
private
:
64
friend
class
TBTailCatcherCnv_p1
;
65
67
// Data //
69
70
std::vector<double>
m_signals
;
71
72
unsigned
int
findIndex
(
const
std::string& thisScintName)
const
;
73
74
};
75
CLASS_DEF
(
TBTailCatcher
, 100992621 , 1 )
76
#endif
CLASS_DEF.h
macros to associate a CLID to a type
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition
Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:67
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
TBBeamDetector.h
TBScintillator.h
DataVector< TBScintillator >::DataVector
DataVector(SG::OwnershipPolicy ownPolicy=SG::OWN_ELEMENTS, SG::IndexTrackingPolicy trackIndices=SG::DEFAULT_TRACK_INDICES)
TBBeamDetector::TBBeamDetector
TBBeamDetector()
Definition
TBBeamDetector.h:24
TBScintillator
Definition
TBScintillator.h:25
TBTailCatcher
Definition
TBTailCatcher.h:25
TBTailCatcher::getSignal
signal_type getSignal(const std::string &thisScintName) const
Definition
TBTailCatcher.cxx:64
TBTailCatcher::TBTailCatcherCnv_p1
friend class TBTailCatcherCnv_p1
Definition
TBTailCatcher.h:64
TBTailCatcher::~TBTailCatcher
~TBTailCatcher()
Definition
TBTailCatcher.cxx:35
TBTailCatcher::getSignals
const std::vector< signal_type > & getSignals() const
Definition
TBTailCatcher.cxx:58
TBTailCatcher::findIndex
unsigned int findIndex(const std::string &thisScintName) const
Definition
TBTailCatcher.cxx:80
TBTailCatcher::signal_type
double signal_type
Definition
TBTailCatcher.h:28
TBTailCatcher::getScintillator
const TBScintillator * getScintillator(const std::string &thisScintName) const
Definition
TBTailCatcher.cxx:46
TBTailCatcher::TBTailCatcher
TBTailCatcher()
Definition
TBTailCatcher.cxx:14
TBTailCatcher::m_signals
std::vector< double > m_signals
Definition
TBTailCatcher.h:70
TBTailCatcher::addScintillator
void addScintillator(TBScintillator *thisScint)
Definition
TBTailCatcher.cxx:39
Generated on
for ATLAS Offline Software by
1.17.0