QGPulse Class Reference

Inheritance diagram for QGPulse:

QGGraph QGPlot

List of all members.


Detailed Description

Class for GUI pulse plots.

Author:
Adam Bryant (adam_bryant@berkeley.edu)

Public Member Functions

 QGPulse ()
 Default constructor.
 QGPulse (const QGPulse &)
 Copy constructor.
virtual ~QGPulse ()
 Destructor.
void AutoSetStyle ()
 Automatically set the pulse style.
void Display ()
 Display pulse.
void DisplayEditWindow ()
 Display edit window.
void DrawStylePulse ()
 Draw a mini-pulse showing the style of the pulse.
void Duplicate ()
 Duplicate the pulse.
void Erase ()
 Erase the pulse.
void FillEventData ()
 Fill event data for the displayed pulse.
void Generate (QChain *chain=0)
 Generate the pulse.
const std::vector< std::string > & GetEventData () const
 Get event data for displayed pulse.
Int_t GetEventIndex ()
 Get event index of displayed pulse.
Int_t GetNumberOfEvents ()
 Get number of events that pass the cuts.
const std::string & GetOrderVariable () const
 Get order variable.
void GetParametersFromEditWindow ()
 Get parameters from edit window.
void GetPulseFromChain (Long64_t eventIndex)
 Get pulse from chain.
TGraph * GetStylePulse ()
 Get style pulse.
bool IsUseADCUnitsSet () const
 Return true if pulse is set to be displayed with ADC units.
void MakeStylePlot ()
 Make style plot.
bool NeedsReordering () const
 Check whether the pulses need reordering.
void Order ()
 Order the pulses accoring to the order variable.
void SetEventData (const std::vector< std::string > &eventData)
 Set event data.
void SetEventIndex (Long_t index)
 Set event index of displayed pulse.
void SetName (const char *name=0)
 Set name of the pulse.
void SetOrderVariable (const std::string &orderVariable)
 Set the variable by which pulses are ordered.
void SetProperty (const std::string &key, const std::string &value)
 Set property (used for opening a session).
void SetReorder (bool flag=true)
 Set whether the pulses need to be reordered.
void SetUseADCUnits (bool flag=true)
 Set whether to display the pulse using ADC units.
void UpdatePulseEditWindow ()
 Update pulse edit window.

Private Member Functions

void DisplaySampleMarkers ()
 Display markers for significant samples.

Private Attributes

std::vector< std::string > fEventData
 Event data for displayed pulse.
std::vector< Long64_t >::size_type fEventIndex
 Index of current event.
TEventList * fEventList
 List of events passing the cuts.
bool fNeedsReordering
 Indicates whether pulses need to be reordered.
std::vector< Long64_t > fOrderedEvents
 Ordered collection of events that pass the cuts.
std::string fOrderVariable
 Variable by which pulses are ordered.
std::vector< TMarker * > fSampleMarkers
 Sample markers for significant samples.
TGraph * fStylePulse
 Mini-pulse to show style of this pulse.
bool fUseADCUnits
 Whether or not to use ADC units, otherwise use mV and seconds.

Static Private Attributes

static std::list< QGPulse * > fPulses
 Collection of pointers to all QGPulses.

The documentation for this class was generated from the following files:

Generated on Tue Nov 16 10:50:06 2010 for CUORE Software by  doxygen 1.5.6