ATLAS Offline Software
Loading...
Searching...
No Matches
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
15
17#include <vector>
18
20{
21
22 public:
23
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
61 //bool m_IsCol;
62 //bool m_IsBkg;
63 std::vector<float> m_deltaT;
64
65};
66
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
75inline 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
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Holds information about bkg and collisions timing and multiplicity from BCM stations.
std::vector< float > m_deltaT
BcmCollisionTime()
main constructor with all data members set to zero
int getMultiLG() const
destructor; initialize all data members in constructor and include vector
int getMultiHG() const
get HG multiplicity
const std::vector< float > & getDeltaT() const
get if event is col like
STL namespace.