Define the time offset as 2003, January 1st.
int X0 = T0.Convert();
int X1 =
T1.Convert()-X0;
int X2 =
T2.Convert(1)-X0;
for (
Int_t i=0;i<30000;i++) {
Double_t noise =
r.Gaus(0.5*(X1+X2),0.1*(X2-X1));
}
return ct2;
}
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t r
R__EXTERN TStyle * gStyle
virtual void SetLabelSize(Float_t size=0.04)
Set size of axis labels.
virtual void SetTimeDisplay(Int_t value)
virtual void SetTimeFormat(const char *format="")
Change the format used for time plotting.
This class stores the date and time with a precision of one second in an unsigned 32 bit word (950130...
1-D histogram with a float per channel (see TH1 documentation)}
virtual Int_t Fill(Double_t x)
Increment bin with abscissa X by 1.
void Draw(Option_t *option="") override
Draw this histogram with options.
This is the base class for the ROOT Random number generators.
void SetTimeOffset(Double_t toffset)
Change the time offset for time plotting.
- Author
- Olivier Couet
Definition in file timeonaxis2.C.