SND@LHC Software
Loading...
Searching...
No Matches
ecalPreCluster.h
Go to the documentation of this file.
1
3#ifndef ECALPRECLUSTER_H
4#define ECALPRECLUSTER_H
5
6#include "ecalCell.h"
7#include "ecalMaximum.h"
8
9#include <list>
10//#include <iostream>
11
13{
14public:
15 ecalPreCluster(const std::list<ecalCell*> cells, ecalCell* max, Double_t energy=-1111.0)
16 : fCells(cells), fMaximum(max), fEnergy(energy), fMax(NULL), fMark(0)
17 {
18 }
19
20 ecalPreCluster(const std::list<ecalCell*> cells, ecalMaximum* max, Double_t energy=-1111.0)
21 : fCells(cells), fMaximum(max->Cell()), fEnergy(energy), fMax(max), fMark(0)
22 {
23// std::cout << "list: " << fEnergy << std::endl;
24 }
25
26 ecalPreCluster(ecalCell** cells, Int_t size, ecalCell* max, Double_t energy=-1111.0)
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 }
33
34 ecalPreCluster(ecalCell** cells, Int_t size, ecalMaximum* max, Double_t energy=-1111.0)
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 }
41
42 std::list<ecalCell*> fCells;
44 Double_t fEnergy;
46 Int_t fMark;
47
48 private:
51};
52
53#endif
std::list< ecalCell * > fCells
ecalCell * fMaximum
ecalPreCluster & operator=(const ecalPreCluster &)
ecalPreCluster(const std::list< ecalCell * > cells, ecalMaximum *max, Double_t energy=-1111.0)
ecalMaximum * fMax
ecalPreCluster(ecalCell **cells, Int_t size, ecalCell *max, Double_t energy=-1111.0)
ecalPreCluster(const std::list< ecalCell * > cells, ecalCell *max, Double_t energy=-1111.0)
ecalPreCluster(const ecalPreCluster &)
ecalPreCluster(ecalCell **cells, Int_t size, ecalMaximum *max, Double_t energy=-1111.0)