Manticore  Version 1.0
Physics of Molecular Clouds
SPIRE.h
Go to the documentation of this file.
1 #ifndef SPIRE_H
2 #define SPIRE_H
3 
4 #include "Detector.h"
5 
6 namespace manticore {
7 
14 class SPIRE: public Detector {
15 public:
19  SPIRE(unsigned band = 250, bool extend = true) :
20  Detector(extend), band_(band) { }
21 
23  ~SPIRE() = default;
24 
25  virtual std::string name() const {
26  return std::to_string(band_).insert(0, "SPIRE");
27  }
28 
29  virtual void init();
30 
31 protected:
32  static tableType band250,
33  band350,
34  band500;
35 
36  unsigned band_;
37 };
38 
39 } // namespace manticore
40 
41 #endif // SPIRE_H
static tableType band500
Response table for the 500 micron band.
Definition: SPIRE.h:32
SPIRE(unsigned band=250, bool extend=true)
Default constructor.
Definition: SPIRE.h:19
Package namespace.
Definition: Detector.cc:13
~SPIRE()=default
Destructor.
unsigned band_
Fiducial detector band (microns).
Definition: SPIRE.h:36
Detector base class.
Definition: Detector.h:50
virtual std::string name() const
Official detector name.
Definition: SPIRE.h:25
static tableType band250
Response table for the 250 micron band.
Definition: SPIRE.h:32
virtual void init()
Initializes detector characteristics.
Definition: SPIRE.cc:677
SPIRE detector class.
Definition: SPIRE.h:14
std::vector< std::pair< double, double > > tableType
Basic table data.
Definition: manticore.h:17
static tableType band350
Response table for the 350 micron band.
Definition: SPIRE.h:32