LDMX Software
Public Member Functions | Public Attributes | List of all members
trigger::Cluster Class Reference

Public Member Functions

void Print (ClusterGeometry *g=0)
 
void Print3d ()
 
void PrintHits ()
 

Public Attributes

std::vector< Hithits
 
std::vector< Clusterclusters2d
 
float x = 0
 
float y = 0
 
float z = 0
 
float xx = 0
 
float yy = 0
 
float zz = 0
 
float e = 0
 
int seed = -1
 
 int
 
int layer = -1
 
bool is2D = true
 
bool used = false
 
int first_layer = -1
 
int last_layer = -1
 
int depth = 0
 
float dxdz = 0
 
float dxdze = 0
 
float dydz = 0
 
float dydze = 0
 

Detailed Description

Definition at line 83 of file IdealClusterBuilder.h.

Member Function Documentation

◆ Print()

void trigger::Cluster::Print ( ClusterGeometry g = 0)
inline

Definition at line 111 of file IdealClusterBuilder.h.

111 {
112 // ClusterGeometry* g;
113 if (g == 0) {
114 cout << "Cluster ("
115 << "e= " << e << ", seed id=" << seed << ", x= " << x << ", y= " << y
116 << ", z= " << z << ", nHit= " << hits.size() << ")" << endl;
117 } else {
118 auto idpair = g->id_map[seed];
119 cout << "Cluster ("
120 << "e= " << e << ", seed id=" << seed << ", cell id=" << idpair.first
121 << ", module id=" << idpair.second << ", layer=" << layer
122 << ", x= " << x << ", y= " << y << ", z= " << z
123 << ", nHit= " << hits.size() << ")" << endl;
124 }
125 }

◆ Print3d()

void trigger::Cluster::Print3d ( )
inline

Definition at line 126 of file IdealClusterBuilder.h.

126 {
127 cout << "Cluster ("
128 << "e= " << e << ", seed id=" << seed << ", x= " << x << ", y= " << y
129 << ", z= " << z << ", n2dClus= " << clusters2d.size()
130 << ", first_layer=" << first_layer << ", depth=" << depth << ")"
131 << endl;
132 }

◆ PrintHits()

void trigger::Cluster::PrintHits ( )
inline

Definition at line 133 of file IdealClusterBuilder.h.

133 {
134 Print();
135 for (auto& h : hits) {
136 cout << " ";
137 h.Print();
138 }
139 }

Member Data Documentation

◆ clusters2d

std::vector<Cluster> trigger::Cluster::clusters2d

Definition at line 86 of file IdealClusterBuilder.h.

◆ depth

int trigger::Cluster::depth = 0

Definition at line 105 of file IdealClusterBuilder.h.

◆ dxdz

float trigger::Cluster::dxdz = 0

Definition at line 106 of file IdealClusterBuilder.h.

◆ dxdze

float trigger::Cluster::dxdze = 0

Definition at line 107 of file IdealClusterBuilder.h.

◆ dydz

float trigger::Cluster::dydz = 0

Definition at line 108 of file IdealClusterBuilder.h.

◆ dydze

float trigger::Cluster::dydze = 0

Definition at line 109 of file IdealClusterBuilder.h.

◆ e

float trigger::Cluster::e = 0

Definition at line 95 of file IdealClusterBuilder.h.

◆ first_layer

int trigger::Cluster::first_layer = -1

Definition at line 103 of file IdealClusterBuilder.h.

◆ hits

std::vector<Hit> trigger::Cluster::hits

Definition at line 85 of file IdealClusterBuilder.h.

◆ int

trigger::Cluster::int

Definition at line 97 of file IdealClusterBuilder.h.

◆ is2D

bool trigger::Cluster::is2D = true

Definition at line 101 of file IdealClusterBuilder.h.

◆ last_layer

int trigger::Cluster::last_layer = -1

Definition at line 104 of file IdealClusterBuilder.h.

◆ layer

int trigger::Cluster::layer = -1

Definition at line 98 of file IdealClusterBuilder.h.

◆ seed

int trigger::Cluster::seed = -1

Definition at line 96 of file IdealClusterBuilder.h.

◆ used

bool trigger::Cluster::used = false

Definition at line 102 of file IdealClusterBuilder.h.

◆ x

float trigger::Cluster::x = 0

Definition at line 88 of file IdealClusterBuilder.h.

◆ xx

float trigger::Cluster::xx = 0

Definition at line 92 of file IdealClusterBuilder.h.

◆ y

float trigger::Cluster::y = 0

Definition at line 89 of file IdealClusterBuilder.h.

◆ yy

float trigger::Cluster::yy = 0

Definition at line 93 of file IdealClusterBuilder.h.

◆ z

float trigger::Cluster::z = 0

Definition at line 90 of file IdealClusterBuilder.h.

◆ zz

float trigger::Cluster::zz = 0

Definition at line 94 of file IdealClusterBuilder.h.


The documentation for this class was generated from the following file: