114 TString stitle=title;
116 if (sname==
"") sname=
"RNO-G";
117 if (stitle==
"") stitle=
"The Radio Neutrino Observatory in Greenland";
119 SetNameTitle(sname,stitle);
153 cout <<
" *" << ClassName() <<
"::GetStation* Invalid station ID : " <<
id << endl;
159 TString name=
"Station";
164 if (!create)
return station;
182 RnoStation station(
"Station",
"RNO-G detector station");
184 RnoString string(
"String",
"RNO-G string");
188 RnoULPDA ulpda(
"Channel",
"LPDA-up antenna");
189 RnoDLPDA dlpda(
"Channel",
"LPDA-down antenna");
190 RnoVPOL vpol(
"Channel",
"Vpol antenna");
191 RnoHPOL hpol(
"Channel",
"Hpol antenna");
200 Float_t depths[9]={-40,-60,-80,-92,-93,-94,-95,-96,-97};
206 station.SetName(name);
207 station.SetUniqueID(staid);
210 for (Int_t istr=1; istr<=nstr; istr++)
212 strid=1000*staid+100*istr;
214 string.SetUniqueID(strid);
218 string.SetName(name);
223 for (Int_t ia=1; ia<=9; ia++)
227 vpol.SetUniqueID(antid);
231 hpol.SetUniqueID(antid);
241 string.AddDevice(vpol);
250 string.AddDevice(hpol);
258 for (Int_t ia=7; ia<=9; ia++)
262 vpol.SetUniqueID(antid);
263 vpol.
SetPosition(45-istr*15,10,depths[ia-1],
"car");
266 hpol.SetUniqueID(antid);
267 hpol.
SetPosition(45-istr*15,10,depths[ia-1],
"car");
270 if (istr==3) icha=14+ia;
277 string.AddDevice(hpol);
284 string.AddDevice(vpol);
294 for (Int_t itre=1; itre<=ntre; itre++)
296 for (Int_t ia=1; ia<=3; ia++)
299 ulpda.SetUniqueID(ia+iadd+1000*staid);
303 dlpda.SetUniqueID(ia+iadd+1000*staid);
347 cout <<
" *" << ClassName() <<
"::DisplayWaveform* Could not find Station" << ista << endl;
374 cout <<
" *" << ClassName() <<
"::DisplayWaveform* Could not find Station" << ista << endl;
397 if (strlen(name)) d->SetName(name);
NcDetector(const char *name="", const char *title="")
void AddDevice(NcDevice &d)
NcDetectorUnit * GetDetectorUnit(TString name, Bool_t follow)
virtual void Reset(Int_t mode=0)
void SetPosition(Double_t *r, TString f, TString u="rad")
Signal (Hit) handling of an RNO-G surface Downward pointing LogPeriodic Dipole Antenna (DLPDA).
Handling of RNO-G detector data.
RnoStation * GetStation(Int_t id, Bool_t create)
TCanvas * DisplaySamplings(Int_t ista, Int_t j=1)
TGraph * DisplaySampling(Int_t ista, Int_t ich, Int_t j=1)
virtual TObject * Clone(const char *name="") const
RnoDetector(const char *name="", const char *title="")
void CreateStation(Int_t id)
Signal (Hit) handling of an RNO-G deep Horizontal Polarisation antenna (HPOL).
Handling of RNO-G event data.
TCanvas * DisplaySamplings(Int_t j=1)
TGraph * DisplaySampling(Int_t ich, Int_t j=1)
Data handling of an RNO-G string.
Signal (Hit) handling of an RNO-G surface Upward pointing LogPeriodic Dipole Antenna (ULPDA).
Signal (Hit) handling of an RNO-G deep Vertical Polarisation antenna (VPOL).