ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
Gep::Cluster Struct Reference

#include <Cluster.h>

Collaboration diagram for Gep::Cluster:

Public Member Functions

 Cluster ()
 
 Cluster (const TLorentzVector &tlv)
 
 ~Cluster ()
 
bool isEmptyCluster () const
 
float et () const
 
void erase ()
 
void setEtEtaPhi (double et, double eta, double phi)
 

Public Attributes

int ncells {0}
 
float time {0}
 
TLorentzVector vec
 
std::vector< unsigned int > cell_id
 

Detailed Description

Definition at line 13 of file Trigger/TrigT1/TrigGepPerf/src/Cluster.h.

Constructor & Destructor Documentation

◆ Cluster() [1/2]

Gep::Cluster::Cluster ( )
inline

Definition at line 15 of file Trigger/TrigT1/TrigGepPerf/src/Cluster.h.

15 {}

◆ Cluster() [2/2]

Gep::Cluster::Cluster ( const TLorentzVector &  tlv)
inline

Definition at line 16 of file Trigger/TrigT1/TrigGepPerf/src/Cluster.h.

16 :vec{tlv} {}

◆ ~Cluster()

Gep::Cluster::~Cluster ( )
inline

Definition at line 17 of file Trigger/TrigT1/TrigGepPerf/src/Cluster.h.

17 {}

Member Function Documentation

◆ erase()

void Gep::Cluster::erase ( )
inline

Definition at line 22 of file Trigger/TrigT1/TrigGepPerf/src/Cluster.h.

22  {
23  ncells = 0;
24  time = 0.;
25  vec.SetPxPyPzE(0.,0.,0.,0.);
26  cell_id = {};
27  }

◆ et()

float Gep::Cluster::et ( ) const
inline

Definition at line 20 of file Trigger/TrigT1/TrigGepPerf/src/Cluster.h.

20 {return vec.Et();}

◆ isEmptyCluster()

bool Gep::Cluster::isEmptyCluster ( ) const
inline

Definition at line 19 of file Trigger/TrigT1/TrigGepPerf/src/Cluster.h.

19 {return ncells == 0;}

◆ setEtEtaPhi()

void Gep::Cluster::setEtEtaPhi ( double  et,
double  eta,
double  phi 
)
inline

Definition at line 29 of file Trigger/TrigT1/TrigGepPerf/src/Cluster.h.

29  {
30  vec.SetPtEtaPhiM(et, eta, phi, 0.0);
31  }

Member Data Documentation

◆ cell_id

std::vector<unsigned int> Gep::Cluster::cell_id

Definition at line 37 of file Trigger/TrigT1/TrigGepPerf/src/Cluster.h.

◆ ncells

int Gep::Cluster::ncells {0}

Definition at line 34 of file Trigger/TrigT1/TrigGepPerf/src/Cluster.h.

◆ time

float Gep::Cluster::time {0}

Definition at line 35 of file Trigger/TrigT1/TrigGepPerf/src/Cluster.h.

◆ vec

TLorentzVector Gep::Cluster::vec

Definition at line 36 of file Trigger/TrigT1/TrigGepPerf/src/Cluster.h.


The documentation for this struct was generated from the following file:
et
Extra patterns decribing particle interation process.
phi
Scalar phi() const
phi method
Definition: AmgMatrixBasePlugin.h:67
eta
Scalar eta() const
pseudorapidity method
Definition: AmgMatrixBasePlugin.h:83
Gep::Cluster::ncells
int ncells
Definition: Trigger/TrigT1/TrigGepPerf/src/Cluster.h:34
vec
std::vector< size_t > vec
Definition: CombinationsGeneratorTest.cxx:12
Gep::Cluster::cell_id
std::vector< unsigned int > cell_id
Definition: Trigger/TrigT1/TrigGepPerf/src/Cluster.h:37
Gep::Cluster::time
float time
Definition: Trigger/TrigT1/TrigGepPerf/src/Cluster.h:35