source: trunk/MagicSoft/Mars/mcalib/MCalibrationChargeBlindCamOneOldStyle.cc@ 4884

Last change on this file since 4884 was 4882, checked in by tbretz, 20 years ago
*** empty log message ***
File size: 4.9 KB
Line 
1/* ======================================================================== *\
2!
3! *
4! * This file is part of MARS, the MAGIC Analysis and Reconstruction
5! * Software. It is distributed to you in the hope that it can be a useful
6! * and timesaving tool in analysing Data of imaging Cerenkov telescopes.
7! * It is distributed WITHOUT ANY WARRANTY.
8! *
9! * Permission to use, copy, modify and distribute this software and its
10! * documentation for any purpose is hereby granted without fee,
11! * provided that the above copyright notice appear in all copies and
12! * that both that copyright notice and this permission notice appear
13! * in supporting documentation. It is provided "as is" without express
14! * or implied warranty.
15! *
16!
17!
18! Author(s): Markus Gaug 07/2004 <mailto:markus@ifae.es>
19!
20! Copyright: MAGIC Software Development, 2000-2004
21!
22!
23\* ======================================================================== */
24
25/////////////////////////////////////////////////////////////////////////////
26//
27// MCalibrationChargeBlindCamOneOldStyle
28//
29// Blind Pixels Calibration camera until run 31693. The blind pixel camera
30// consisted then only of one non-coated blind pixel with poorly known
31// quantum efficiency read out in hardware ID 560.
32//
33// See also: MCalibrationChargeBlindCam
34//
35/////////////////////////////////////////////////////////////////////////////
36#include "MCalibrationChargeBlindCamOneOldStyle.h"
37#include "MCalibrationChargeBlindPix.h"
38
39ClassImp(MCalibrationChargeBlindCamOneOldStyle);
40
41using namespace std;
42
43// --------------------------------------------------------------------------
44//
45// Default constructor.
46//
47// - CreatePixs();
48// - CreateAreas();
49// - CreateAtts();
50// - CreateQEs();
51// - CreateCollEffs();
52//
53MCalibrationChargeBlindCamOneOldStyle::MCalibrationChargeBlindCamOneOldStyle(const char *name)
54 : MCalibrationChargeBlindCam(1,name,"One Blind Pixel in camera - old style")
55{
56
57 CreatePixs ();
58 CreateAreas ();
59 CreateAtts ();
60 CreateQEs ();
61 CreateCollEffs();
62
63}
64
65
66// --------------------------------------------------------------------------
67//
68// Only one blind pixel with ID 559
69//
70void MCalibrationChargeBlindCamOneOldStyle::CreatePixs()
71{
72
73 (*this)[0].SetPixId(559);
74
75}
76
77// --------------------------------------------------------------------------
78//
79// Only one blind pixel with exactly 100 mm^2 area
80//
81void MCalibrationChargeBlindCamOneOldStyle::CreateAreas()
82{
83
84 (*this)[0].SetArea(100.);
85
86}
87
88// --------------------------------------------------------------------------
89//
90// One blind pixel with poorly known qe's: average of David measurments with
91// 4% error.
92//
93void MCalibrationChargeBlindCamOneOldStyle::CreateQEs()
94{
95
96 (*this)[0].SetQE ( 0.154, MCalibrationCam::kGREEN );
97 (*this)[0].SetQE ( 0.226, MCalibrationCam::kBLUE );
98 (*this)[0].SetQE ( 0.247, MCalibrationCam::kUV );
99 (*this)[0].SetQE ( 0.247, MCalibrationCam::kCT1 );
100
101 (*this)[0].SetQEErr ( 0.005, MCalibrationCam::kGREEN );
102 (*this)[0].SetQEErr ( 0.007, MCalibrationCam::kBLUE );
103 (*this)[0].SetQEErr ( 0.01, MCalibrationCam::kUV );
104 (*this)[0].SetQEErr ( 0.01, MCalibrationCam::kCT1 );
105
106}
107
108// --------------------------------------------------------------------------
109//
110// One blind pixel with poorly known coll.eff's: email from Eckart with
111// estimates depending on colour, but 5% error (maybe more??)
112//
113void MCalibrationChargeBlindCamOneOldStyle::CreateCollEffs()
114{
115
116 (*this)[0].SetCollEff ( 0.99, MCalibrationCam::kGREEN );
117 (*this)[0].SetCollEff ( 0.93, MCalibrationCam::kBLUE );
118 (*this)[0].SetCollEff ( 0.90, MCalibrationCam::kUV );
119 (*this)[0].SetCollEff ( 0.90, MCalibrationCam::kCT1 );
120
121 (*this)[0].SetCollEffErr ( 0.05, MCalibrationCam::kGREEN );
122 (*this)[0].SetCollEffErr ( 0.05, MCalibrationCam::kBLUE );
123 (*this)[0].SetCollEffErr ( 0.05, MCalibrationCam::kUV );
124 (*this)[0].SetCollEffErr ( 0.05, MCalibrationCam::kCT1 );
125
126
127}
128
129// --------------------------------------------------------------------------
130//
131// One blind pixel with very well known attenuation 0.01 (datasheet delivered
132// with filter, precision better than 1%
133//
134void MCalibrationChargeBlindCamOneOldStyle::CreateAtts()
135{
136
137 (*this)[0].SetAtt ( 1.97, MCalibrationCam::kGREEN );
138 (*this)[0].SetAtt ( 1.96, MCalibrationCam::kBLUE );
139 (*this)[0].SetAtt ( 1.95, MCalibrationCam::kUV );
140 (*this)[0].SetAtt ( 1.95, MCalibrationCam::kCT1 );
141
142 (*this)[0].SetAttErr ( 0.01, MCalibrationCam::kGREEN );
143 (*this)[0].SetAttErr ( 0.01, MCalibrationCam::kBLUE );
144 (*this)[0].SetAttErr ( 0.01, MCalibrationCam::kUV );
145 (*this)[0].SetAttErr ( 0.01, MCalibrationCam::kCT1 );
146
147}
148
Note: See TracBrowser for help on using the repository browser.