10#include "TObjString.h"
11#include "TRotMatrix.h"
29#include "TApplication.h"
31#include "TGComboBox.h"
32#include "TGNumberEntry.h"
33#include "TGButtonGroup.h"
49 NcAstrolab(
const char* name=
"User",
const char* title=
"Virtual Lab for general use");
52 virtual TObject*
Clone(
const char* name=
"")
const;
53 void Data(Int_t mode=1,TString u=
"deg",Bool_t utc=kTRUE);
59 void GetLabPosition(Double_t& l,Double_t& b,TString u=
"deg")
const;
72 void SetLT(Int_t y,Int_t m,Int_t d,Int_t hh,Int_t mm,Int_t ss,Int_t ns=0,Int_t ps=0);
73 void SetLT(Int_t y,Int_t m,Int_t d,Int_t hh,Int_t mm,Double_t s);
74 void SetLT(Int_t y,Int_t m,Int_t d,TString time);
75 void SetLT(TString date,TString time,Int_t mode);
76 void SetLT(Int_t y,Int_t d,Int_t s,Int_t ns=0,Int_t ps=0);
77 Double_t
ConvertAngle(Double_t a,TString in,TString out)
const;
78 void PrintAngle(Double_t a,TString in,TString out,Int_t ndig=1,Bool_t align=kFALSE)
const;
79 Double_t
GetSolidAngle(Double_t thetamin,Double_t thetamax,TString tu,Double_t phimin,Double_t phimax,TString pu)
const;
80 NcSignal*
SetSignal(Double_t d,Double_t a,TString au,Double_t b,TString bu,TString frame,
NcTimestamp* ts,Int_t jref,TString mode=
"T",TString name=
"",Int_t type=0);
81 NcSignal*
SetSignal(Double_t d,Double_t a,TString au,Double_t b,TString bu,TString frame,TString s,Double_t e,Int_t jref,TString mode,TString name=
"",Int_t type=0);
84 NcSignal*
GetSignal(Double_t& d,Double_t& a,TString au,Double_t& b,TString bu,TString frame,
NcTimestamp* ts,Int_t jref,TString mode=
"T",Int_t type=0);
85 NcSignal*
GetSignal(Double_t& d,Double_t& a,TString au,Double_t& b,TString bu,TString frame,
NcTimestamp* ts,TString name,TString mode=
"T",Int_t type=0);
86 NcSignal*
GetSignal(Double_t& d,Double_t& a,TString au,Double_t& b,TString bu,TString frame,TString s,Double_t e,Int_t jref,TString mode,Int_t type=0);
87 NcSignal*
GetSignal(Double_t& d,Double_t& a,TString au,Double_t& b,TString bu,TString frame,TString s,Double_t e,TString name,TString mode,Int_t type=0);
95 Int_t
RemoveSignal(TString name,Int_t type,Int_t compress);
97 void PrintSignal(TString frame,TString mode,
NcTimestamp* ts,Int_t ndig,Int_t jref=0,TString emode=
"T",Int_t type=0,Bool_t align=kFALSE);
98 void PrintSignal(TString frame,TString mode,
NcTimestamp* ts,Int_t ndig,TString name,TString emode=
"T",Int_t type=0,Bool_t align=kFALSE);
99 void ListSignals(TString frame,TString mode,Int_t ndig=1,TString emode=
"T",Int_t nmax=10,Int_t j=-1,Int_t type=-1,
NcTimestamp* ts=0,TString name=
"*");
107 void SetLocalFrame(Double_t t1,Double_t p1,Double_t t2,Double_t p2,Double_t t3,Double_t p3);
110 Double_t
GetDifference(Int_t jref,TString au,Double_t& dt,TString tu,Int_t mode=1,Int_t* ia=0,Int_t* it=0);
111 Double_t
GetDifference(TString name,TString au,Double_t& dt,TString tu,Int_t mode=1);
112 Double_t
GetSeparation(TString name1,TString name2,TString au,Double_t* dt=0,TString tu=
"s",Int_t mode=1,Double_t* diftheta=0,Double_t* difphi=0);
113 TArrayI*
MatchRefSignal(Double_t da,TString au,Double_t dt,TString tu,Int_t mode=1);
114 void MatchSignals(
NcDevice& matches,Double_t da,TString au,Double_t dt,TString tu,Int_t mode=1,Int_t i1=1,Int_t i2=0,Int_t itype=0,Int_t j1=1,Int_t j2=0,Int_t jtype=1);
115 void MatchSignals(
NcDevice& matches,TString name,Double_t da,TString au,Double_t dt,TString tu,Int_t mode=1,Int_t itype=0,Int_t j1=1,Int_t j2=0,Int_t jtype=1);
116 void SetTimeScramble(Int_t mode,Double_t tmin,Double_t tmax,TF1* frndm=0);
118 void SetPositionScramble(Int_t mode,Double_t dmin,Double_t dmax,TF1* df=0,Double_t thmin=0,Double_t thmax=0,TF1* thf=0,Double_t phimin=0,Double_t phimax=0,TF1* phif=0);
119 Int_t
GetPositionScramble(Double_t* dmin=0,Double_t* dmax=0,TF1* df=0,Double_t* thmin=0,Double_t* thmax=0,TF1* thf=0,Double_t* phimin=0,Double_t* phimax=0,TF1* phif=0);
122 void DisplaySignal(TString frame,TString mode,
NcTimestamp* ts,Int_t j=-1,TString proj=
"ham",Int_t clr=0,TString name=
"");
123 void DisplaySignal(TString frame,TString mode,
NcTimestamp* ts,TString name,TString proj=
"ham",Int_t clr=0,Int_t type=0);
124 void DisplaySignals(TString frame,TString mode,
NcTimestamp* ts,TString proj=
"ham",Int_t clr=0,Int_t nmax=-1,Int_t j=-1,Int_t type=-1,TString name=
"*");
140 Double_t
GetMeanFreePath(Double_t sigma,Double_t rho,Int_t mode)
const;
148 Double_t
GetTargetThickness(Double_t prob,Double_t sigma,Double_t rho,Int_t mode)
const;
150 Double_t
GetNeutrinoXsection(Int_t mode,Int_t type,Double_t egev,Double_t xscale=1,Double_t* eprimgev=0,Double_t* alpha=0)
const;
155 TH1F
GetDxHistogram(TH1* hx,Int_t nc,Double_t dxbin=-1,Double_t dxmin=-1,Double_t dxmax=-1,Int_t mode=1,Double_t fact=1);
157 TH1F
GetCountsHistogram(TF1& spec,Int_t nbins,Double_t xmin, Double_t xmax,Int_t mode,TString s=
"")
const;
161 TF1
GetSignalRatePDF(Double_t Non,Double_t Ton,Double_t Noff,Double_t Toff,Double_t Ra=1,Double_t Re=1,Double_t smax=-1,Double_t bmax=-1,Double_t prec=709);
164 Double_t
GetCredibleInterval(TF1 pdf,Double_t p,Double_t& xlow,Double_t& xup,Int_t n=1000);
168 Double_t
KolmogorovTest(TString mode,TH1* h1,TH1* h2=0,TF1* pdf=0,Double_t nr=1000,TH1F* ksh=0,Int_t ncut=0,Double_t* nrx=0,Int_t mark=1);
170 TH1F
GetCumulHistogram(TF1* f,TString name,Int_t nbins,Double_t xmin,Double_t xmax,TString mode=
"F")
const;
171 void InitDataNames(Int_t dir,TString frame,TString mode=
"J");
172 void SetDataNames(TString obsname,TString varname,TString units=
"1",TString func=
"none");
179 void LoadInputData(Bool_t src,TString file,TString tree,Int_t date1=0,Int_t date2=0,Int_t nmax=-1,TString type=
"-");
182 void MatchBurstData(
NcDevice& matches,Int_t i1=1,Int_t i2=0,Int_t itype=0,Int_t j1=1,Int_t j2=0,Int_t jtype=1);
186 void MakeBurstZdist(TString file,TString tree,TString name,Int_t nb=200,Float_t zmin=0,Float_t zmax=20);
187 void MakeBurstT90dist(TString file,TString tree,TString name,Int_t nb=50,Float_t xmin=-5,Float_t xmax=5);
188 void MakeBurstSigmaPosdist(TString file,TString tree,TString name,TString u,Int_t nb=900,Float_t xmin=0,Float_t xmax=90);
189 void MakeBurstEnergydist(Int_t mode,TString file,TString tree,TString name1,TString name2,TString u,Double_t Emin,Double_t Emax,Int_t nb=1000);
190 void MakeBurstEnergydist(Int_t mode,TF1& spec,Double_t Emin,Double_t Emax,Int_t nbins=1000);
191 void MakeBurstEnergydist(Int_t mode,Double_t alpha,Double_t Emin,Double_t Emax,Int_t nbins=1000);
192 void MakeBurstRecoAngresdist(TString file,TString tree,TString name1,TString name2,TString ua,TString name3,TString ud,Double_t Emin,Double_t Emax,Int_t nbe=100,Int_t nba=1000);
195 Double_t
GetBurstRecoAngres(Double_t Emin=-1,Double_t Emax=-1,Double_t Amin=0,Double_t Amax=999)
const;
203 void MapLocl(
const char* text);
204 void MapLocb(
const char* text);
218 void MapEa(
const char* text);
220 void MapEb(
const char* text);
230 void MapMerC(
const char* text);
233 void MapNmax(
const char* text);
297 Double_t
GetSeparation(Int_t i,Int_t j,TString au,Double_t& dt,TString tu,Int_t mode,Int_t bkgpatch,Double_t* diftheta=0,Double_t* difphi=0);
309 void Project(Double_t l,Double_t b,TString proj,Double_t& x,Double_t& y);
311 void ProjectHammer(Double_t l,Double_t b,Double_t& x,Double_t& y);
312 void ProjectAitoff(Double_t l,Double_t b,Double_t& x,Double_t& y);
431 virtual void InfoPanel(TGCompositeFrame* frame);
Handling of 3-vectors in various reference frames.
void Precess(Nc3Vector &r, NcTimestamp *ts1, NcTimestamp *ts2)
void MapEname(const char *text)
void Nutate(Nc3Vector &r, NcTimestamp *ts)
void MakeBurstRecoAngresdist(TString file, TString tree, TString name1, TString name2, TString ua, TString name3, TString ud, Double_t Emin, Double_t Emax, Int_t nbe=100, Int_t nba=1000)
Double_t fMapMerC
! The GUI entered central meridian location for the Map
void ProjectMercator(Double_t l, Double_t b, Double_t &x, Double_t &y)
Double_t fMeridian
! Central meridian (in rad) for the sky display
Double_t GetTargetThickness(Double_t prob, Double_t lambda) const
virtual void LabLocationPanel(TGCompositeFrame *frame)
void GetBurstBayesianPsiStatistics(TString type, Double_t nr=-1, Int_t ncut=10, Int_t ndt=2, Bool_t zcor=kFALSE, Int_t freq=0)
Double_t GetCredibleInterval(TF1 pdf, Double_t p, Double_t &xlow, Double_t &xup, Int_t n=1000)
void SetRandomiser(Int_t iseed, Int_t cnt1=0, Int_t cnt2=0, NcTimestamp *ts=0)
Double_t GetUpperLimit(TF1 pdf, Double_t p)
TH1F GetDxHistogram(TH1 *hx, Int_t nc, Double_t dxbin=-1, Double_t dxmin=-1, Double_t dxmax=-1, Int_t mode=1, Double_t fact=1)
Double_t fMapMarkSize
! The GUI entered marker size for the Map
void HelioToGeocentric(Double_t &R, Double_t &B, Double_t &L, NcTimestamp *ts, TString Bu="deg", TString Lu="deg")
void MapMarkType(Int_t i)
Int_t GetTimeScramble(Double_t *tmin=0, Double_t *tmax=0, TF1 *frndm=0)
TRotMatrix fP
! Matrix for precession correction
void MapEb(const char *text)
void MatchSignals(NcDevice &matches, Double_t da, TString au, Double_t dt, TString tu, Int_t mode=1, Int_t i1=1, Int_t i2=0, Int_t itype=0, Int_t j1=1, Int_t j2=0, Int_t jtype=1)
TString fMapEcoord
! The GUI entered coordinate system of the entry
Int_t SetSolarSystem(TString name, NcTimestamp *ts, Int_t type=0)
Double_t GetLightTravelDistance(Double_t z, TString u="Mpc") const
Double_t fMapLabLocB
! The GUI entered Lab latitude
TString fMapEua
! The GUI entered angular units of a
void SetBurstParameter(TString name, Double_t value)
void SmearPosition(Nc3Vector &v, Double_t sigma)
Double_t GetLightTravelTime(Double_t z) const
Int_t GetPositionScramble(Double_t *dmin=0, Double_t *dmax=0, TF1 *df=0, Double_t *thmin=0, Double_t *thmax=0, TF1 *thf=0, Double_t *phimin=0, Double_t *phimax=0, TF1 *phif=0)
void ProjectCylindrical(Double_t l, Double_t b, Double_t &x, Double_t &y)
void MapExperiment(Int_t i)
void MapMarkSize(const char *text)
TRotMatrix fG
! Matrix for conversion of equatorial to galactic coordinates
TString fMapTime
! The GUI entered time
Double_t GetBurstRecoAngres(Double_t Emin=-1, Double_t Emax=-1, Double_t Amin=0, Double_t Amax=999) const
TRotMatrix fB
! The frame bias matrix for conversion of ICRS to J2000 coordinates
virtual void EntriesPanel(TGCompositeFrame *frame)
TH1 * GetBurstBayesianSignalRate(Double_t p, Double_t &rlow, Double_t &rup, Int_t n=1000)
Double_t ConvertAngle(Double_t a, TString in, TString out) const
void SetNmatrix(NcTimestamp *ts)
void ProjectHammer(Double_t l, Double_t b, Double_t &x, Double_t &y)
Double_t GetDifference(Int_t jref, TString au, Double_t &dt, TString tu, Int_t mode=1, Int_t *ia=0, Int_t *it=0)
void ListSignals(TString frame, TString mode, Int_t ndig=1, TString emode="T", Int_t nmax=10, Int_t j=-1, Int_t type=-1, NcTimestamp *ts=0, TString name="*")
Double_t GetSourceAttributes(NcSignal *s, Float_t *z=0, Float_t *T90=0)
TString fProj
! Projection which is currently in use
Double_t GetLuminosityDistance(Double_t z, TString u="Mpc") const
NcDevice * fBurstParameters
TRotMatrix fH
! Matrix for conversion of equatorial to horizontal coordinates
Int_t RemoveSignal(Int_t j, Int_t type, Int_t compress)
Double_t GetBurstBackgroundEnergy(Double_t Emin=-1, Double_t Emax=-1) const
void SetLabPosition(Nc3Vector &r)
TString fMapTimeType
! The GUI entered time type
TString GetExperiment() const
void MapDoptions(Int_t i)
Double_t GetLabTimeOffset() const
void GenBurstGCNdata(Int_t n, TString name="GRB", Bool_t scale=kFALSE)
Double_t GetComovingDistance(Double_t z, TString u="Mpc") const
TH2 * fHist[2]
! Temp. histograms for the sky display
TGComboBox * fMapTStimetype
! The GUI TS time type selection box
TString fMapCinfo
! The GUI selected info category
TArrayI * fIndices
! Storage indices of the matching reference signals
TH1 * GetBurstSigmaPosdist(TString name, TString type)
TString fMapProj
! The GUI selected projection for the Map
Bool_t fMapLabTS
! The GUI selection to use the Lab timestamp for the List/Map
void GetLocalFrame(Float_t arr[6])
void LoadInputData(Bool_t src, TString file, TString tree, Int_t date1=0, Int_t date2=0, Int_t nmax=-1, TString type="-")
void InitBurstHistograms(Int_t mode)
TString fMapLabLocU
! The GUI entered Lab location angular units
TCanvas * fCanvas
! The canvas for the skymap
void MapDname(const char *text)
void MapIname(const char *text)
NcAstrolab(const char *name="User", const char *title="Virtual Lab for general use")
Double_t GetBurstLiMaSignificance() const
virtual void SkyMapPanel()
Int_t GetSignalIndex(TString name, Int_t type=0)
TGTextEntry * fMapTSdatetime
! The GUI TS date/time specification
void MapLocb(const char *text)
TRotMatrix fN
! Matrix for nutation correction
void ListBurstParameters() const
TGNumberEntryField * fMapLabLBI[3]
! The GUI number entries for the Lab location specification
void MapEa(const char *text)
Double_t GetMeanFreePath(Double_t sigma, Double_t rho, Int_t mode) const
NcPosition GetLabPosition() const
void SetPositionScramble(Int_t mode, Double_t dmin, Double_t dmax, TF1 *df=0, Double_t thmin=0, Double_t thmax=0, TF1 *thf=0, Double_t phimin=0, Double_t phimax=0, TF1 *phif=0)
void InitDataNames(Int_t dir, TString frame, TString mode="J")
Double_t GetHubbleParameter(Double_t z, TString u="Mpc") const
Int_t fMapMarkStyle
! The GUI selected marker style for the Map
Int_t SetSourceAttributes(NcSignal *s, Double_t sigmapos, TString u, Double_t z=-999, Double_t T90=-999)
Double_t GetMaxDt() const
void SetTimeScramble(Int_t mode, Double_t tmin, Double_t tmax, TF1 *frndm=0)
TString fMapDcoord
! The GUI selected coordinate system for the Map/List
void SetPmatrix(NcTimestamp *ts)
Double_t fMapEb
! The GUI entered b coordinate of an entry
TString fMapDate
! The GUI entered date
TF1 GetSignalRatePDF(Double_t Non, Double_t Ton, Double_t Noff, Double_t Toff, Double_t Ra=1, Double_t Re=1, Double_t smax=-1, Double_t bmax=-1, Double_t prec=709)
Double_t fMapLabLocL
! The GUI entered Lab longitude
Int_t fMapMarkType
! The GUI selected entry type to apply the marker attributes on
void MapMarkStyle(Int_t i)
void Project(Double_t l, Double_t b, TString proj, Double_t &x, Double_t &y)
void MapDateTime(const char *text)
TString fMapDmode
! The GUI selected coordinate system mode for the Map/List
Double_t GetShieldingThickness(Double_t prob, Double_t lambda) const
TString fMapEub
! The GUI entered angular units of b
void MapMarkColor(Int_t i)
Double_t GetBackgroundRateProb(Double_t *vars, Double_t *pars)
Double_t GetInteractionProbability(Double_t x, Double_t lambda) const
void MakeBurstSigmaPosdist(TString file, TString tree, TString name, TString u, Int_t nb=900, Float_t xmin=0, Float_t xmax=90)
void MapNdigs(const char *text)
Int_t GetNRefSignals(Int_t mode=0) const
TH1F GetDifHistogram(TH1 *hin, Int_t mode, TString s="", TF1 *f=0) const
Int_t fMapEtype
! The GUI entered entry type
TGComboBox * fMapLabU
! The GUI Lab location angular unit selection box
void SetDataNames(TString obsname, TString varname, TString units="1", TString func="none")
TString fMapDname
! The GUI entered name pattern for entries to be shown in the Map/List
TGNumberEntryField * fMapLabLframe[6]
! The GUI number entries for the local frame specification
void SetGmatrix(TString mode)
Double_t GetNeutrinoXsection(Int_t mode, Int_t type, Double_t egev, Double_t xscale=1, Double_t *eprimgev=0, Double_t *alpha=0) const
TH1 * GetBurstT90dist(TString name, TString type)
NcDevice * GetBurstParameters()
void ListBurstHistograms() const
void SetLT(Int_t y, Int_t m, Int_t d, Int_t hh, Int_t mm, Int_t ss, Int_t ns=0, Int_t ps=0)
void MapLocl(const char *text)
void MakeBurstDataStats(Int_t mode, Int_t nmugrb=0)
void SetCentralMeridian(Int_t mode=0, Double_t phi=0, TString u="deg")
Int_t fGal
! Type indicator for fG values (0=uninitialised 1=B1950 2=J2000)
Int_t fMapLabId
! The GUI entered Lab detector Id
void SetEmatrix(NcTimestamp *ts)
Int_t RemoveRefSignal(Int_t j, Int_t compress)
Int_t fMapMarkColor
! The GUI selected marker color for the Map
void MakeBurstT90dist(TString file, TString tree, TString name, Int_t nb=50, Float_t xmin=-5, Float_t xmax=5)
void DisplaySignal(TString frame, TString mode, NcTimestamp *ts, Int_t j=-1, TString proj="ham", Int_t clr=0, TString name="")
virtual void TimestampPanel(TGCompositeFrame *frame)
void SetHmatrix(NcTimestamp *ts)
void PrintSignal(TString frame, TString mode, NcTimestamp *ts, Int_t ndig, Int_t jref=0, TString emode="T", Int_t type=0, Bool_t align=kFALSE)
void SetLabTimeOffset(Double_t dt)
TH1F GetCumulHistogram(TH1 *h, TString name, TString mode="F") const
virtual void MapListOptionsPanel(TGCompositeFrame *frame)
TObjArray * fMarkers
! Temp. array to hold the markers for the signal display
TString fMapDateTime
! The GUI entered datetime
Double_t GetSolidAngle(Double_t thetamin, Double_t thetamax, TString tu, Double_t phimin, Double_t phimax, TString pu) const
void SetMarkerColor(Int_t color, Int_t type)
Int_t fMapNdigs
! The GUI selected number of digits for the List output
TRotMatrix fE
! Matrix for conversion of equatorial to ecliptic coordinates
Double_t GetProperDistance(Double_t z, TString u="Mpc", Int_t t=1) const
TString fMapIname
! The GUI selected entry name for the info
Double_t fMapEa
! The GUI entered a coordinate of an entry
Bool_t fMapSolar[10]
! The GUI selection of solar system objects
void GetBurstChi2Statistics(TString type, Int_t ndt=2, Bool_t zcor=kFALSE)
Double_t GetBurstSignalEnergy(Double_t Emin=-1, Double_t Emax=-1) const
void MapLocId(const char *text)
Bool_t fMapDoptions[5]
! The GUI Map/List options (histo, clr, ref, meas, refTS)
Int_t RemoveSignals(TString name, Int_t type, Int_t compress)
void SetPhysicalParameter(TString name, Double_t value)
void MatchBurstData(NcDevice &matches, Int_t i1=1, Int_t i2=0, Int_t itype=0, Int_t j1=1, Int_t j2=0, Int_t jtype=1)
void ShiftPosition(Nc3Vector &v, Double_t angle)
void MakeBurstZdist(TString file, TString tree, TString name, Int_t nb=200, Float_t zmin=0, Float_t zmax=20)
TArrayI * MatchRefSignal(Double_t da, TString au, Double_t dt, TString tu, Int_t mode=1)
void WriteBurstHistograms(TString filename)
void GeoToHeliocentric(Double_t &R, Double_t &B, Double_t &L, NcTimestamp *ts, TString Bu="deg", TString Lu="deg")
Double_t GetSignalRateProb(Double_t *vars, Double_t *pars)
Double_t GetNuclearMass(Int_t Z, Int_t N, Int_t mode=1) const
virtual void InfoPanel(TGCompositeFrame *frame)
void BurstCompensate(Int_t &nmugrb)
void SetLocalFrame(Double_t t1, Double_t p1, Double_t t2, Double_t p2, Double_t t3, Double_t p3)
void Data(Int_t mode=1, TString u="deg", Bool_t utc=kTRUE)
void ProjectAitoff(Double_t l, Double_t b, Double_t &x, Double_t &y)
void SetMarkerSize(Float_t size, Int_t type)
void DisplaySignals(TString frame, TString mode, NcTimestamp *ts, TString proj="ham", Int_t clr=0, Int_t nmax=-1, Int_t j=-1, Int_t type=-1, TString name="*")
NcSignal * GetSignal(Double_t &d, Double_t &a, TString au, Double_t &b, TString bu, TString frame, NcTimestamp *ts, Int_t jref, TString mode="T", Int_t type=0)
virtual void LabLocalFramePanel(TGCompositeFrame *frame)
TString fMapMerUc
! The GUI selected angular units for the central meridian location
void SetExperiment(TString name, Int_t id=0)
TH1 * GetBurstZdist(TString name, TString type)
TString fMapUinfo
! The GUI selected angular units for the Lab info
TString fMapEname
! The GUI entered name of the entry
Int_t GetLabDetectorId() const
Double_t GetPhysicalParameter(TString name) const
virtual TObject * Clone(const char *name="") const
Double_t GetNeutrinoAngle(Double_t E, TString u, Int_t mode, TF1 *f=0)
TGMainFrame * fSkyMapPanel
! The main frame for the SkyMapPanel GUI
Int_t GetNsignals(Int_t type, Int_t mode=0) const
void SetMarkerStyle(Int_t style, Int_t type)
NcSignal * SetSignal(Double_t d, Double_t a, TString au, Double_t b, TString bu, TString frame, NcTimestamp *ts, Int_t jref, TString mode="T", TString name="", Int_t type=0)
Int_t fMapMerMode
! The GUI selected meridian orientation for the Map
void PrintAngle(Double_t a, TString in, TString out, Int_t ndig=1, Bool_t align=kFALSE) const
void MapMerC(const char *text)
Int_t fMapTinfo
! The GUI selected mode for the timestamp info
void SetMaxDt(Double_t s)
TH1F GetLogHistogram(TH1 *hin, Int_t mode, TString s="") const
NcTimestamp fMapTS
! The GUI entered timestamp to be used for the List/Map
Double_t GetPhysicalDistance(Double_t z, TString u="Mpc", Int_t t=1) const
void MapTimeType(Int_t i)
Double_t KolmogorovTest(TString mode, TH1 *h1, TH1 *h2=0, TF1 *pdf=0, Double_t nr=1000, TH1F *ksh=0, Int_t ncut=0, Double_t *nrx=0, Int_t mark=1)
TGComboBox * fMapLabE
! The GUI Lab experiment site selection box
virtual void CommandPanel(TGCompositeFrame *frame)
Double_t GetSurvivalProbability(Double_t x, Double_t lambda) const
Double_t GetHourAngle(TString mode, NcTimestamp *ts, Int_t jref=0, Int_t type=0)
Double_t GetRadiationLength(Double_t Z, Double_t A, Double_t rho=-1) const
void MakeBurstEnergydist(Int_t mode, TString file, TString tree, TString name1, TString name2, TString u, Double_t Emin, Double_t Emax, Int_t nb=1000)
Int_t fMapNmax
! The GUI selected max. number of signals of each type to Map/List
Int_t fBias
! Initialisation flag for fB values (0=uninitialised 1=initialised)
void RandomPosition(Nc3Vector &v, Double_t thetamin, Double_t thetamax, Double_t phimin, Double_t phimax)
TString fMapLabExpName
! The GUI entered Lab experimental site
TF1 GetBackgroundRatePDF(Double_t Noff, Double_t Toff, Double_t bmax=-1, Double_t prec=709)
TString fMapEmode
! The GUI entered coordinate system mode of the entry
NcRandom * GetRandomiser(Int_t &iseed, Int_t &cnt1, Int_t &cnt2) const
void GetBurstDtDistributions(Int_t ndt, TH1F &hisdtOn, TF1 &pdfdtOn, TH1F &hisdtOff, TF1 &pdfdtOff, Bool_t zcor)
void MapNmax(const char *text)
TH1F GetCountsHistogram(TF1 &spec, Int_t nbins, Double_t xmin, Double_t xmax, Int_t mode, TString s="") const
Double_t GetSeparation(TString name1, TString name2, TString au, Double_t *dt=0, TString tu="s", Int_t mode=1, Double_t *diftheta=0, Double_t *difphi=0)
Signal (Hit) handling of a generic device.
Handling of a matrix structure of objects.
Handling of positions (with timestamps) in various reference frames.
Generate universal random numbers and sequences on all common machines.
Sampling and statistics tools for various multi-dimensional data samples.
Generic handling of (extrapolated) detector signals.
void SetLT(Double_t dt, Int_t y, Int_t m, Int_t d, Int_t hh, Int_t mm, Int_t ss, Int_t ns=0, Int_t ps=0, TString utc="A", Int_t leap=0, Double_t dut=0)
Double_t GetLMST(Double_t offset)
Double_t GetLT(Double_t offset)
Double_t GetLAST(Double_t offset)
Int_t GetDifference(NcTimestamp *t, Int_t &days, Int_t &sec, Int_t &ns, Int_t &ps, TString type="UT")