My Project
 All Classes Files Functions Variables Enumerations Enumerator Friends Macros Pages
BoloPixel.h
Go to the documentation of this file.
1 // $Id: BoloPixel.h,v 1.1.1.1 2009/07/06 23:57:23 eml Exp $
2 
3 #ifndef GCP_RECEIVER_BOLOPIXEL_H
4 #define GCP_RECEIVER_BOLOPIXEL_H
5 
15 #include "gcp/receiver/specific/BoloDevice.h"
16 
17 #include <vector>
18 
19 namespace gcp {
20  namespace receiver {
21 
22  class BoloPixel {
23  public:
24 
28  BoloPixel();
29 
33  BoloPixel(const BoloPixel& objToBeCopied);
34 
38  BoloPixel(BoloPixel& objToBeCopied);
39 
43  void operator=(const BoloPixel& objToBeAssigned);
44 
48  void operator=(BoloPixel& objToBeAssigned);
49 
53  virtual ~BoloPixel();
54 
55  void setBoloId(std::string id);
56  void setBoloReadoutChannel(std::string channel);
57  void setSquidId(std::string id);
58  void setSquidReadoutChannel(std::string channel);
59  void setPixelIndex(unsigned number);
60  void setPixelXY(std::vector<double>& xy);
61 
62  std::string getBoloName();
63  std::string getSquidName();
64  std::string getBoloReadoutChannel();
65  std::string getSquidReadoutChannel();
66  unsigned getPixelIndex() {return iPix_;}
67  std::vector<double> getPixelXY() {return xy_;}
68 
72  friend std::ostream& operator<<(std::ostream& os, BoloPixel& obj);
73 
74  private:
75 
76  unsigned iPix_; // The index associated with this pixel
77  BoloDevice bolo_; // The bolometer device associated with this pixel
78  BoloDevice squid_; // The squid associated with this pixel
79  std::vector<double> xy_;
80 
81  }; // End class BoloPixel
82 
83  } // End namespace receiver
84 } // End namespace gcp
85 
86 
87 #endif // End #ifndef GCP_RECEIVER_BOLOPIXEL_H
BoloPixel()
Definition: BoloPixel.cc:13
void operator=(const BoloPixel &objToBeAssigned)
Definition: BoloPixel.cc:34
Definition: BoloDevice.h:20
friend std::ostream & operator<<(std::ostream &os, BoloPixel &obj)
virtual ~BoloPixel()
Definition: BoloPixel.cc:53
Definition: BoloPixel.h:22