6#ifndef BMNNDETCLUSTERFINDER_H
7#define BMNNDETCLUSTERFINDER_H
46 vector<BmnNdetCluster*> fClusters;
48 vector<eClusterStatus> fClusterStatus;
55 Int_t fNUncheckedCellsInEvent;
58 vector<Int_t> fIndexTime;
60 vector<Int_t> fIndexEdep;
62 vector<Int_t> fIndexBeta;
65 vector<eCellStatus> fCellStatus;
70 vector<Int_t> fColumn;
76 vector<Double_t> fXcoord;
78 vector<Double_t> fYcoord;
80 vector<Double_t> fZcoord;
82 vector<Double_t> fTime;
84 vector<Double_t> fEdep;
86 vector<Double_t> fBeta;
88 vector<vector<vector<Int_t>>> fIndexXYZ;
272 Int_t
SelectNeutrons(Double_t cut_angle = 45., Int_t cut_ncells = 3, Bool_t check_border = kFALSE);
292 Double_t weight_ncells = 0.01,
293 Double_t weight_nclusters = 0.05,
294 Double_t threshold12 = 0.);
Class for description of algorithm of recognition of clusters in Bmn Ndet detector.
vector< Double_t > GetZ()
void Clear()
Clear all vectors, set fNCells=0.
vector< Int_t > GetCells()
vector< Double_t > GetTime()
vector< Int_t > GetLayers()
vector< Double_t > GetEdep()
BmnNdetClusterFinder(const Int_t kNColumns=11, const Int_t kNRows=11, const Int_t kNLayers=16)
Default constructor.
eCellStatus
Flag if the cell belongs to any cluster.
Int_t SelectNeutrons(Double_t cut_angle=45., Int_t cut_ncells=3, Bool_t check_border=kFALSE)
Int_t CalculateNumberOfNeutrons(Double_t weight_edep=1., Double_t weight_ncells=0.01, Double_t weight_nclusters=0.05, Double_t threshold12=0.)
Int_t FindClusters4(Double_t cut_beta=0.01)
Int_t FindClusters3(Double_t cut_beta=0.03)
virtual const char * GetClassName()
vector< Double_t > GetY()
vector< Int_t > GetColumns()
BmnNdetCluster * AddCluster()
Int_t GetClusterStatus(Int_t i_cluster)
vector< Double_t > GetBeta()
Int_t GetNCells(Double_t threshold)
BmnNdetCluster * GetCluster(Int_t i_cluster)
eClusterStatus
Status of the cluster.
void SetClusterStatus(Int_t i_cluster, eClusterStatus status)
vector< Int_t > GetRows()
Int_t MergeClusters(Int_t i_cluster_1, Int_t i_cluster_2)
vector< Double_t > GetX()
void Fill(Int_t cell, Int_t column, Int_t row, Int_t layer, Double_t x, Double_t y, Double_t z, Double_t t, Double_t e_dep)
void AddCellToCluster(Int_t i_cell, Int_t i_cluster)
~BmnNdetClusterFinder()
Default destructor.
Class for description of recognized cluster in Bmn Ndet detector.