ATLAS Offline Software
Loading...
Searching...
No Matches
MBTSCollisionTime.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef MBTSCollisionTime_H
6#define MBTSCollisionTime_H
7
16
18
20{
21
22 public:
23
26
28 MBTSCollisionTime( int ncellA, int ncellC, float energyA, float energyC, float timeA, float timeC);
29
31 int ncellA() const{ return m_ncellA; }
32
34 int ncellC() const{ return m_ncellC; };
35
37 int ncell() const{ return (m_ncellA + m_ncellC); };
38
40 double energyA() const{ return m_energyA; };
41
43 double energyC() const{ return m_energyC; };
44
46 double energy() const{ return (m_energyA + m_energyC); };
47
49 double timeA() const{ return m_timeA; };
50
52 double timeC() const{ return m_timeC; };
53
55 double time() const{ return (m_timeA - m_timeC); };
56
57 private:
58
61 float m_energyA;
62 float m_energyC;
63 float m_timeA;
64 float m_timeC;
65
66};
67
69
72
75
76
77#endif //MBTSCollisionTime_H
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 collisions timing from MBTS counters.
int ncellA() const
get number of cells for time A side
int ncellC() const
get number of cells for time C side
MBTSCollisionTime()
main constructor with all data members set to zero
double energy() const
total energy from both sides
double time() const
time difference A - C
int ncell() const
get total number of cells
double energyC() const
total energy C side
double energyA() const
total energy A side
double timeC() const
time C side
double timeA() const
time A side