ROBAST logo
// Author: Akira Okumura <mailto:oxon@mac.com>
/******************************************************************************
 * Copyright (C) 2006-, Akira Okumura                                         *
 * All rights reserved.                                                       *
 *****************************************************************************/

#ifndef A_FOCAL_SURFACE_H
#define A_FOCAL_SURFACE_H

#include "TGraph.h"

#include "AOpticalComponent.h"

///////////////////////////////////////////////////////////////////////////////
//
// AFocalSurface
//
// Focal surface
//
///////////////////////////////////////////////////////////////////////////////

class AFocalSurface : public AOpticalComponent {
 private:
  TGraph* fQuantumEfficiencyLambda;  // Quantum efficiency (QE vs lambda)
  TGraph* fQuantumEfficiencyAngle;   // Quantum efficiency (QE vs angle)

 public:
  AFocalSurface();
  AFocalSurface(const char* name, const TGeoShape* shape,
                const TGeoMedium* med = 0);

  Bool_t HasQEAngle() const { return fQuantumEfficiencyAngle ? kTRUE : kFALSE; }
  void SetQuantumEfficiency(TGraph* qe) { fQuantumEfficiencyLambda = qe; }
  void SetQuantumEfficiencyAngle(TGraph* qe) { fQuantumEfficiencyAngle = qe; }
  Double_t GetQuantumEfficiency(Double_t lambda) const;
  Double_t GetQuantumEfficiency(Double_t lambda, Double_t angle) const;

  ClassDef(AFocalSurface, 1)
};

#endif  // A_FOCAL_SURFACE_H
 AFocalSurface.h:1
 AFocalSurface.h:2
 AFocalSurface.h:3
 AFocalSurface.h:4
 AFocalSurface.h:5
 AFocalSurface.h:6
 AFocalSurface.h:7
 AFocalSurface.h:8
 AFocalSurface.h:9
 AFocalSurface.h:10
 AFocalSurface.h:11
 AFocalSurface.h:12
 AFocalSurface.h:13
 AFocalSurface.h:14
 AFocalSurface.h:15
 AFocalSurface.h:16
 AFocalSurface.h:17
 AFocalSurface.h:18
 AFocalSurface.h:19
 AFocalSurface.h:20
 AFocalSurface.h:21
 AFocalSurface.h:22
 AFocalSurface.h:23
 AFocalSurface.h:24
 AFocalSurface.h:25
 AFocalSurface.h:26
 AFocalSurface.h:27
 AFocalSurface.h:28
 AFocalSurface.h:29
 AFocalSurface.h:30
 AFocalSurface.h:31
 AFocalSurface.h:32
 AFocalSurface.h:33
 AFocalSurface.h:34
 AFocalSurface.h:35
 AFocalSurface.h:36
 AFocalSurface.h:37
 AFocalSurface.h:38
 AFocalSurface.h:39
 AFocalSurface.h:40
 AFocalSurface.h:41