ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
MBTSCollisionTime Class Reference

Holds information about collisions timing from MBTS counters. More...

#include <MBTSCollisionTime.h>

Collaboration diagram for MBTSCollisionTime:

Public Member Functions

 MBTSCollisionTime ()
 main constructor with all data members set to zero More...
 
 MBTSCollisionTime (int ncellA, int ncellC, float energyA, float energyC, float timeA, float timeC)
 constructor; initialize all data members in constructor More...
 
int ncellA () const
 get number of cells for time A side More...
 
int ncellC () const
 get number of cells for time C side More...
 
int ncell () const
 get total number of cells More...
 
double energyA () const
 total energy A side More...
 
double energyC () const
 total energy C side More...
 
double energy () const
 total energy from both sides More...
 
double timeA () const
 time A side More...
 
double timeC () const
 time C side More...
 
double time () const
 time difference A - C More...
 

Private Attributes

int m_ncellA
 
int m_ncellC
 
float m_energyA
 
float m_energyC
 
float m_timeA
 
float m_timeC
 

Detailed Description

Holds information about collisions timing from MBTS counters.

Direct copy of LArCollisionTime class

Author
G.Unal

Definition at line 19 of file MBTSCollisionTime.h.

Constructor & Destructor Documentation

◆ MBTSCollisionTime() [1/2]

MBTSCollisionTime::MBTSCollisionTime ( )
inline

main constructor with all data members set to zero

Definition at line 70 of file MBTSCollisionTime.h.

71  : m_ncellA(0), m_ncellC(0), m_energyA(0.), m_energyC(0.), m_timeA(0.), m_timeC(0.) {}

◆ MBTSCollisionTime() [2/2]

MBTSCollisionTime::MBTSCollisionTime ( int  ncellA,
int  ncellC,
float  energyA,
float  energyC,
float  timeA,
float  timeC 
)
inline

constructor; initialize all data members in constructor

Definition at line 73 of file MBTSCollisionTime.h.

Member Function Documentation

◆ energy()

double MBTSCollisionTime::energy ( ) const
inline

total energy from both sides

Definition at line 46 of file MBTSCollisionTime.h.

46 { return (m_energyA + m_energyC); };

◆ energyA()

double MBTSCollisionTime::energyA ( ) const
inline

total energy A side

Definition at line 40 of file MBTSCollisionTime.h.

40 { return m_energyA; };

◆ energyC()

double MBTSCollisionTime::energyC ( ) const
inline

total energy C side

Definition at line 43 of file MBTSCollisionTime.h.

43 { return m_energyC; };

◆ ncell()

int MBTSCollisionTime::ncell ( ) const
inline

get total number of cells

Definition at line 37 of file MBTSCollisionTime.h.

37 { return (m_ncellA + m_ncellC); };

◆ ncellA()

int MBTSCollisionTime::ncellA ( ) const
inline

get number of cells for time A side

Definition at line 31 of file MBTSCollisionTime.h.

31 { return m_ncellA; }

◆ ncellC()

int MBTSCollisionTime::ncellC ( ) const
inline

get number of cells for time C side

Definition at line 34 of file MBTSCollisionTime.h.

34 { return m_ncellC; };

◆ time()

double MBTSCollisionTime::time ( ) const
inline

time difference A - C

Definition at line 55 of file MBTSCollisionTime.h.

55 { return (m_timeA - m_timeC); };

◆ timeA()

double MBTSCollisionTime::timeA ( ) const
inline

time A side

Definition at line 49 of file MBTSCollisionTime.h.

49 { return m_timeA; };

◆ timeC()

double MBTSCollisionTime::timeC ( ) const
inline

time C side

Definition at line 52 of file MBTSCollisionTime.h.

52 { return m_timeC; };

Member Data Documentation

◆ m_energyA

float MBTSCollisionTime::m_energyA
private

Definition at line 61 of file MBTSCollisionTime.h.

◆ m_energyC

float MBTSCollisionTime::m_energyC
private

Definition at line 62 of file MBTSCollisionTime.h.

◆ m_ncellA

int MBTSCollisionTime::m_ncellA
private

Definition at line 59 of file MBTSCollisionTime.h.

◆ m_ncellC

int MBTSCollisionTime::m_ncellC
private

Definition at line 60 of file MBTSCollisionTime.h.

◆ m_timeA

float MBTSCollisionTime::m_timeA
private

Definition at line 63 of file MBTSCollisionTime.h.

◆ m_timeC

float MBTSCollisionTime::m_timeC
private

Definition at line 64 of file MBTSCollisionTime.h.


The documentation for this class was generated from the following file:
MBTSCollisionTime::timeC
double timeC() const
time C side
Definition: MBTSCollisionTime.h:52
MBTSCollisionTime::ncellC
int ncellC() const
get number of cells for time C side
Definition: MBTSCollisionTime.h:34
MBTSCollisionTime::m_timeC
float m_timeC
Definition: MBTSCollisionTime.h:64
MBTSCollisionTime::m_energyC
float m_energyC
Definition: MBTSCollisionTime.h:62
MBTSCollisionTime::m_ncellA
int m_ncellA
Definition: MBTSCollisionTime.h:55
MBTSCollisionTime::timeA
double timeA() const
time A side
Definition: MBTSCollisionTime.h:49
MBTSCollisionTime::ncellA
int ncellA() const
get number of cells for time A side
Definition: MBTSCollisionTime.h:31
MBTSCollisionTime::m_energyA
float m_energyA
Definition: MBTSCollisionTime.h:61
MBTSCollisionTime::m_timeA
float m_timeA
Definition: MBTSCollisionTime.h:63
MBTSCollisionTime::energyA
double energyA() const
total energy A side
Definition: MBTSCollisionTime.h:40
MBTSCollisionTime::energyC
double energyC() const
total energy C side
Definition: MBTSCollisionTime.h:43
MBTSCollisionTime::m_ncellC
int m_ncellC
Definition: MBTSCollisionTime.h:60