FairRoot/PandaRoot
PndMdtCluster.cxx
Go to the documentation of this file.
1 #include "PndMdtCluster.h"
2 
3 // ----- Default constructor -------------------------------------------
5 {
6 }
7 
8 
9 PndMdtCluster::PndMdtCluster(std::vector<Int_t> list) :
10  fDigiList(list)
11 {
12 }
13 
16 {
17 }
18 
20 {
21  for (unsigned int i = 0; i < fDigiList.size(); i++)
22  if (fDigiList[i] == digiIndex) return true;
23 
24  return false;
25 }
26 
27 void PndMdtCluster::Print(const Option_t* opt)
28 {
29  std::cout << *this << " opt = " << opt << std::endl;
30 }
31 
Int_t i
Definition: run_full.C:25
virtual ~PndMdtCluster()
Bool_t DigiBelongsToCluster(Int_t digiIndex)
virtual void Print(const Option_t *opt=0)
ClassImp(PndAnaContFact)
std::vector< Int_t > fDigiList
Definition: PndMdtCluster.h:32