ATLAS Offline Software
InnerDetector
InDetRecEvent
BCM_CollisionTime
BCM_CollisionTime
BcmCollisionTime.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef BCM_CollisionTime_H
6
#define BCM_CollisionTime_H
7
16
#include "
AthenaKernel/CLASS_DEF.h
"
17
#include <vector>
18
19
class
BcmCollisionTime
20
{
21
22
public
:
23
25
BcmCollisionTime
();
26
28
//BcmCollisionTime( int multiLG, int multiHG, bool IsCol, bool IsBkg);
29
31
//BcmCollisionTime( int multiLG, int multiHG, bool IsCol, bool IsBkg, std::vector<float> deltaT);
32
34
BcmCollisionTime
(
int
multiLG,
int
multiHG,
const
std::vector<float>& deltaT);
35
37
//~BcmCollisionTime();
38
40
//float* getDeltaT() const{ return m_deltaT; }
41
43
int
getMultiLG
()
const
{
return
m_multiLG
; };
44
46
int
getMultiHG
()
const
{
return
m_multiHG
; };
47
49
//bool getIsCol() const{ return m_IsCol; };
50
52
//bool getIsBkg() const{ return m_IsBkg; };
53
55
const
std::vector<float>&
getDeltaT
()
const
{
return
m_deltaT
; };
56
57
private
:
58
59
int
m_multiLG
;
60
int
m_multiHG
;
61
//bool m_IsCol;
62
//bool m_IsBkg;
63
std::vector<float>
m_deltaT
;
64
65
};
66
67
CLASS_DEF
(
BcmCollisionTime
,79775858,0)
68
69
/*inline BcmCollisionTime::BcmCollisionTime()
70
: m_multiLG(0), m_multiHG(0), m_IsCol(false), m_IsBkg(false) {} */
71
72
/*inline BcmCollisionTime::BcmCollisionTime( int multiLG, int multiHG, bool IsCol, bool IsBkg)
73
: m_multiLG(multiLG), m_multiHG(multiHG), m_IsCol(IsCol), m_IsBkg(IsBkg){}*/
74
75
inline
BcmCollisionTime
::
BcmCollisionTime
(
int
multiLG,
int
multiHG,
const
std::
vector
<
float
>& deltaT)
76
: m_multiLG(multiLG), m_multiHG(multiHG), m_deltaT(deltaT){}
77
78
/*inline BcmCollisionTime::BcmCollisionTime( int multiLG, int multiHG, bool IsCol, bool IsBkg, std::vector<float> deltaT)
79
: m_multiLG(multiLG), m_multiHG(multiHG), m_IsCol(IsCol), m_IsBkg(IsBkg), m_deltaT(deltaT){}*/
80
81
82
#endif //BCM_CollisionTime_H
83
BcmCollisionTime::BcmCollisionTime
BcmCollisionTime()
main constructor with all data members set to zero
BcmCollisionTime::getMultiHG
int getMultiHG() const
get HG multiplicity
Definition:
BcmCollisionTime.h:46
BcmCollisionTime::getMultiLG
int getMultiLG() const
destructor; initialize all data members in constructor and include vector
Definition:
BcmCollisionTime.h:43
const
bool const RAWDATA *ch2 const
Definition:
LArRodBlockPhysicsV0.cxx:560
BcmCollisionTime::m_multiHG
int m_multiHG
Definition:
BcmCollisionTime.h:60
BcmCollisionTime::getDeltaT
const std::vector< float > & getDeltaT() const
get if event is col like
Definition:
BcmCollisionTime.h:55
vector
Definition:
MultiHisto.h:13
BcmCollisionTime
Holds information about bkg and collisions timing and multiplicity from BCM stations.
Definition:
BcmCollisionTime.h:20
BcmCollisionTime::m_multiLG
int m_multiLG
Definition:
BcmCollisionTime.h:55
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:64
CLASS_DEF.h
macros to associate a CLID to a type
BcmCollisionTime::m_deltaT
std::vector< float > m_deltaT
Definition:
BcmCollisionTime.h:63
Generated on Thu Nov 7 2024 21:10:42 for ATLAS Offline Software by
1.8.18