Gets the frame that contains data for time "gpstime"
The time is a GPS time expressed as a double : seconds.nanoseconds
If the reference time of this database is set, it will be
added to gpstime
Gets the frame that contains data for time "gpstime"
The time is a GPS time expressed as a double : seconds.nanoseconds
gpstime is the absolute time, no reference included
Gets the frame that contains data for time "gpstime" or the frame that
is the nearest next one and that satisfies the condition set "conds".
The time is a GPS time expressed as a double : seconds.nanoseconds
If the reference time of this database is set, it will be
added to gpstime
If the pointer to condition is null, suppose no condition asked, will return
the next nearest frame.
Gets the frame that contains data for time "gpstime" or the frame that
is the nearest next one and that satisfies the condition set "conds".
The time is a GPS time expressed as a double : seconds.nanoseconds
If the pointer to condition is null, suppose no condition asked, will return
the next nearest frame.
Gets the vector named "vectname that contains data for time "gpstime"
or the vector that is the nearest next one and that satisfies
the selection formula "condf".
The time is a GPS time expressed as a double : seconds.nanoseconds
If the pointer to condition is null, suppose no condition asked, will return
the next nearest frame.
Gets the frame that contains data for time "gpstime" or the frame that
is the nearest next one and that satisfies the condition set "conds".
The time is a GPS time expressed as a double : seconds.nanoseconds
If the pointer to condition is null, suppose no condition asked, will return
the next nearest frame.
Uses buffered method, and then copies the frame
Gets the frame that contains data for time "gpstime" or the frame that
is the nearest next one and that satisfies the selection formula "selection".
The time is a GPS time expressed as a double : seconds.nanoseconds
If the pointer to char is null, suppose no condition asked, will return
the next nearest frame.
Uses buffered method, and then copies the frame
Gets the frame that contains data for time "gpstime" or the frame that
is the nearest next one and that satisfies the selection formula "selection".
The time is a GPS time expressed as a double : seconds.nanoseconds
If the reference time of this database is set, it will be
added to gpstime
If the pointer to condition is null, suppose no condition asked, will return
the next nearest frame.
Gets the frame that is described by meta data "meta"
This should normally not be called directly, but only after
finding the right position from the index tree.
BE CAREFULL ! the output of this routine is managed by the buffer,
You should not delete it.
Gets the frame that is described by meta data "meta"
This should normally not be called directly, but only after
finding the right position from the index tree.
BE CAREFULL ! the output of this routine is managed by the buffer,
You should not delete it.
Gets the adc "vectname" that is in frame defined by meta information "meta"
This should normally not be called directly, but only after
finding the right meta information.
BE CAREFULL ! the output of this routine is managed by the buffer,
You should not delete it.
Gets the proc "vectname" that is in frame defined by meta information "meta"
This should normally not be called directly, but only after
finding the right meta information.
BE CAREFULL ! the output of this routine is managed by the buffer,
You should not delete it.
Gets the proc "vectname" that is in frame defined by meta information "meta"
This should normally not be called directly, but only after
finding the right meta information.
BE CAREFULL ! the output of this routine is managed by the buffer,
You should not delete it.
Returns the first frame satisfying the next selection
region of the condition set "condset". (uses buffer)
Returns a a buffered frame pointer. User does not have to take care
(delete) the frame. But the frame may be deleted at any time.
Returns the first frame satisfying the next selection
region of the condition set "condset".
Returns a frame copy. User has to take care (delete) it if necessary.
Extracts a vector FrVect given it's name and type.
The vector is satisfying the selection expression, i.e. it begins at the
start of the ConditionSet defined by the selection and has a length defined
by the length of this condition set. The search for the vector begins at
time gps time.
Vectors extracted from the database will be concatenated as needed
to obtain the desired vector.
The string nameofvect indicates the type (adc, proc, sim) and
the name of the series to be extracted. The convention for the format
is "type.name".
For example "adc.IFO_DMRO" is a good format.
If only the name is given, the groups of series in the frame
will be searched in the order adc, proc, sim for that name.
If more than one identical name was defined in the frame, the first
found series with that name will be used.
if the selection string is empty, will return 0
Extracts a vector FrVect given it's name and type.
The vector is satisfying the selection expression, i.e. it begins at the
start of the ConditionSet defined by the selection and has a length defined
by the length of this condition set. The search for the vector begins at
time gpstime, which is considered relative to the reference time.
Vectors extracted from the database will be concatenated as needed
to obtain the desired vector.
The string nameofvect indicates the type (adc, proc, sim) and
the name of the series to be extracted. The convention for the format
is "type.name".
For example "adc.IFO_DMRO" is a good format.
If only the name is given, the groups of series in the frame
will be searched in the order adc, proc, sim for that name.
If more than one identical name was defined in the frame, the first
found series with that name will be used.
if the selection string is empty, will return 0
Extracts a vector FrVect given it's name and type.
The vector is satisfying the condition set condset, i.e. it begins at the
start of the ConditionSet "condset" and has a length defined by the length
of this condition set.
Vectors extracted from the database will be concatenated as needed
to obtain the desired vector.
The string nameofvect indicates the type (adc, proc, sim) and
the name of the series to be extracted. The convention for the format
is "type.name".
For example "adc.IFO_DMRO" is a good format.
If only the name is given, the groups of series in the frame
will be searched in the order adc, proc, sim for that name.
If more than one identical name was defined in the frame, the first
found series with that name will be used.
Extracts a vector FrVect given it's name and type. The vector starts
at time "start" and has a length "length". "start" is considered with
respect to the reference time. Vectors extracted from
the database will be concatenated as needed to obtain the desired vector
The string nameofvect indicates the type (adc, proc, sim) and
the name of the series to be extracted. The convention for the format
is "type.name".
For example "adc.IFO_DMRO" is a good format.
If only the name is given, the groups of series in the frame
will be searched in the order adc, proc, sim for that name.
If more than one identical name was defined in the frame, the first
found series with that name will be used.
Extracts a vector FrVect given it's name and type. The vector starts
at time "start" and has a length "length". Vectors extracted from
the database will be concatenated as needed to obtain the desired vector
The string nameofvect indicates the type (adc, proc, sim) and
the name of the series to be extracted. The convention for the format
is "type.name".
For example "adc.IFO_DMRO" is a good format.
If only the name is given, the groups of series in the frame
will be searched in the order adc, proc, sim for that name.
If more than one identical name was defined in the frame, the first
found series with that name will be used.
All data will be casted to double, except if opt = "nocast" is given,
in which case, the result vector will have the same type as the original
ones
Builds a new NTuple and fills it with SMS data from the database
The NTuple that is build is a VNtuple.
If one wants to have this ntuple on disk rather than in memory,
one should open a file in "RECREATE" or "UPDATE" mode first.
On closing this file, the ntuple will automatically be saved on disk
(AND THE NTUPLE DELETED).
The SMS data starts at time "start" and has a length "length".
start time is considered by reference to the reference time
ntname is the name of the created ntuple
listofnames is the list of names of the SMS stations/values one needs
to include in the ntuple. The format is
"name1:name2:name3:...." where namei is of the form "stationname.valuename",
Builds a new NTuple and fills it with SMS data from the database
The NTuple that is build is a VNtuple.
If one wants to have this ntuple on disk rather than in memory,
one should open a file in "RECREATE" or "UPDATE" mode first.
On closing this file, the ntuple will automatically be saved on disk
(AND THE NTUPLE DELETED).
The SMS data starts at time "start" and has a length "length".
ntname is the name of the created ntuple
listofnames is the list of names of the SMS stations/values one needs
to include in the ntuple. The format is
"name1:name2:name3:...." where namei is of the form "stationname.valuename",
Builds a new FrVect and fills it with SMS data from the database
The SMS data starts at time "start" and has a length "length".
start time is considered by reference to the reference time
listofnames is the name of the SMS station/value one needs
to extract. The format is "stationname.valuename", for example
TiServer.rtt2 (value of round trip time 2 for timing server)
Builds a new FrVect and fills it with SMS data from the database
The SMS data starts at time "start" and has a length "length".
listofnames is the name of the SMS station/value one needs
to extract. The format is "stationname.valuename", for example
TiServer.rtt2 (value of round trip time 2 for timing server)
Prints information about the database and it's contents
option :
"full" : prints all the database info. VERY LONG. mainly for test
"conditions" : prints only conditions names
Draws expression selexp for conditions defined in the info database
with respect to time.
selexp is an expression (formula) referencing a combination of conditions
Example:
selexp = trig.amp simplest case: draw a plot of amplitude of
condition named trig
= sqrt(trig.p) : draw distribution of sqrt(trig.p)
= x*y/z : where x, y and z are conditions
defined in the database
Note that selexp may contain a selection.
example, if selexp= x*(y<0), the value plotted will be x if y<0
and will be 0 otherwise.
selection is an expression with a combination of the conditions.
In a selection all the C++ operators are authorized.
The value corresponding to the selection expression is used as a veto
to plot the points. If it is not 0, the point is plotted.
The value returned is not relevant, only relevant is
(selection==0) -> point skipped or (selection!=0) -> point plotted
Examples:
selection1 = "x<y && sqrt(z)>3.2"
selection2 = "(x+y)*(sqrt(z)>3.2"
selection1 returns a value = 0 or 1
selection2 returns a value = x+y if sqrt(z)>3.2
returns a value = 0 otherwise.
Warning : if there is no selection (selection=""), selexp itself
will be taken as selection expression, i.e. only points where
selexp != 0 will be plotted
option is the drawing option
see TGraph::Draw for the list of all drawing options.
start is the start time of the first conditions to process
(default is beginning of database values)
length is the length in time of the data to process (default is all data)
Draws a condition with respect to time
*-*-*-*-*-*-*Generate skeleton selector class for this Frame Channel*-*-*-*-*-*-*
*-* =======================================================
The following files are produced: selector.h and selector.C
if selector is NULL, selector will be "MyFrameAnalysis".
The generated code in selector.h includes the following:
- Identification of the original frame channel and Input info database
- Definition of selector class (data and functions)
- the following class functions:
- constructor and destructor
- void Begin(VFrameChannel *fc)
- void Init(VFrameChannel *fc)
- Bool_t ProcessCut(FrameH* frame);
- Bool_t ProcessFrame(FrameH* frame);
- Bool_tProcessVect(int nbvect, FrVect** invects, FrVect* ouvect);
- void Terminate
The class selector derives from VSelector.
The generated code in selector.C includes empty functions defined above:
- connect your frame channel (eg: fc = new VFrameChannel("infoDB.root");)
- fc->MakeClass("MyClass");
Where MyClass.h, MyClass.C the name of the files created by this function.
In a vega session, you can do:
vega > fc->Process("select.C")
*-*-*-*-*-*-*Generate skeleton analysis class for this Frame Channel*-*-*-*-*-*-*
*-* =======================================================
The following files are produced: classname.h and classname.C
if classname is NULL, classname will be "MyFrameAnalysis".
When the option "selector" is specified, the function generates the
selector class described in VFrameChannel::MakeSelector.
The generated code in classname.h includes the following:
- Identification of the original frame channel and input conditions
- Definition of analysis class (data and functions)
- the following class functions:
-constructor (connecting by default the frame channel)
-Init(VFrameChannel *fc) to initialize a new VFrameChannel
The generated code in classname.C includes only the main
analysis function Loop.
To use this function:
- connect your frame channel (eg: fc = new VFrameChannel("infoDB.root");)
- fc->MakeClass("MyClass");
Where MyClass.h, MyClass.C the name of the files created by this function.
In a vega session, you can do:
Root > .L MyClass.C
Root > MyClass t
Root > t.Loop(); // Loop on the frames in the frame channel
- ROOT page - VEGA page - Class index - Top of the page This page has been automatically generated. If you have any comments or suggestions
about the page layout send a mail to
, or
contact
with any questions or problems regarding ROOT or VEGA.