SND@LHC Software
Loading...
Searching...
No Matches
ecalPreCluster Class Reference

#include <ecalPreCluster.h>

Collaboration diagram for ecalPreCluster:

Public Member Functions

 ecalPreCluster (const std::list< ecalCell * > cells, ecalCell *max, Double_t energy=-1111.0)
 
 ecalPreCluster (const std::list< ecalCell * > cells, ecalMaximum *max, Double_t energy=-1111.0)
 
 ecalPreCluster (ecalCell **cells, Int_t size, ecalCell *max, Double_t energy=-1111.0)
 
 ecalPreCluster (ecalCell **cells, Int_t size, ecalMaximum *max, Double_t energy=-1111.0)
 

Public Attributes

std::list< ecalCell * > fCells
 
ecalCellfMaximum
 
Double_t fEnergy
 
ecalMaximumfMax
 
Int_t fMark
 

Private Member Functions

 ecalPreCluster (const ecalPreCluster &)
 
ecalPreClusteroperator= (const ecalPreCluster &)
 

Detailed Description

A helper class for cluster finder Need refactoring. April 2011 //Dr.Sys

Definition at line 12 of file ecalPreCluster.h.

Constructor & Destructor Documentation

◆ ecalPreCluster() [1/5]

ecalPreCluster::ecalPreCluster ( const std::list< ecalCell * >  cells,
ecalCell max,
Double_t  energy = -1111.0 
)
inline

Definition at line 15 of file ecalPreCluster.h.

16 : fCells(cells), fMaximum(max), fEnergy(energy), fMax(NULL), fMark(0)
17 {
18 }
std::list< ecalCell * > fCells
ecalCell * fMaximum
ecalMaximum * fMax

◆ ecalPreCluster() [2/5]

ecalPreCluster::ecalPreCluster ( const std::list< ecalCell * >  cells,
ecalMaximum max,
Double_t  energy = -1111.0 
)
inline

Definition at line 20 of file ecalPreCluster.h.

21 : fCells(cells), fMaximum(max->Cell()), fEnergy(energy), fMax(max), fMark(0)
22 {
23// std::cout << "list: " << fEnergy << std::endl;
24 }

◆ ecalPreCluster() [3/5]

ecalPreCluster::ecalPreCluster ( ecalCell **  cells,
Int_t  size,
ecalCell max,
Double_t  energy = -1111.0 
)
inline

Definition at line 26 of file ecalPreCluster.h.

27 : fCells(), fMaximum(max), fEnergy(energy), fMax(NULL), fMark(0)
28 {
29 fCells.clear();
30 for(Int_t i=0;i<size;i++)
31 fCells.push_back(cells[i]);
32 }
int i
Definition ShipAna.py:86

◆ ecalPreCluster() [4/5]

ecalPreCluster::ecalPreCluster ( ecalCell **  cells,
Int_t  size,
ecalMaximum max,
Double_t  energy = -1111.0 
)
inline

Definition at line 34 of file ecalPreCluster.h.

35 : fCells(), fMaximum(max->Cell()), fEnergy(energy), fMax(max), fMark(0)
36 {
37 fCells.clear();
38 for(Int_t i=0;i<size;i++)
39 fCells.push_back(cells[i]);
40 }

◆ ecalPreCluster() [5/5]

ecalPreCluster::ecalPreCluster ( const ecalPreCluster )
private

Member Function Documentation

◆ operator=()

ecalPreCluster & ecalPreCluster::operator= ( const ecalPreCluster )
private

Member Data Documentation

◆ fCells

std::list<ecalCell*> ecalPreCluster::fCells

Definition at line 42 of file ecalPreCluster.h.

◆ fEnergy

Double_t ecalPreCluster::fEnergy

Definition at line 44 of file ecalPreCluster.h.

◆ fMark

Int_t ecalPreCluster::fMark

Definition at line 46 of file ecalPreCluster.h.

◆ fMax

ecalMaximum* ecalPreCluster::fMax

Definition at line 45 of file ecalPreCluster.h.

◆ fMaximum

ecalCell* ecalPreCluster::fMaximum

Definition at line 43 of file ecalPreCluster.h.


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