FairRoot/PandaRoot
PndSdsClusterStrip.h
Go to the documentation of this file.
1 /*
2  * PndSdsClusterStrip.h
3  *
4  * Created on: Dec 15, 2009
5  * Author: stockmanns, kliemt, michel
6  */
7 
8 #ifndef PNDSDSCLUSTERSTRIP_H_
9 #define PNDSDSCLUSTERSTRIP_H_
10 
11 #include "PndSdsCluster.h"
12 
14 
16  std::vector<Int_t> list = cl.GetClusterList();
17  out << "Hits in Cluster:" << std::endl;
18  for (UInt_t i = 0; i<list.size();i++)
19  out << list[i] << std::endl;
20  out << std::endl;
21  return out;
22  }
23 
24 public:
26  PndSdsClusterStrip(Int_t DigiType, std::vector<Int_t> list):fSide(kTOP)
27  { SetClusterList(DigiType, list); };
28  virtual ~PndSdsClusterStrip();
29 
30  void SetClusterList(Int_t DigiType, std::vector<Int_t> list, Int_t fileId = -1, Int_t eventId = -1){
31  fClusterList = list;
32  SetLinks(FairMultiLinkedData(DigiType, list, fileId, eventId));
33  }
34 
35  SensorSide GetSensorSide() const {return fSide;}
37 
38 private:
40 
42 };
43 
44 #endif /* PNDSDSCLUSTERSTRIP_H_ */
std::vector< Int_t > GetClusterList() const
Definition: PndSdsCluster.h:38
Int_t i
Definition: run_full.C:25
Class to store the Digis which belong to one cluster This class holds the information which Digi belo...
Definition: PndSdsCluster.h:19
PndSdsClusterStrip(Int_t DigiType, std::vector< Int_t > list)
TLorentzVector s
Definition: Pnd2DStar.C:50
void SetClusterList(Int_t DigiType, std::vector< Int_t > list, Int_t fileId=-1, Int_t eventId=-1)
SensorSide
ClassDef(PndSdsClusterStrip, 1)
TFile * out
Definition: reco_muo.C:20
SensorSide GetSensorSide() const
void SetSensorSide(SensorSide s)
std::vector< Int_t > fClusterList
Definition: PndSdsCluster.h:47
friend std::ostream & operator<<(std::ostream &out, PndSdsClusterStrip &cl)