GRSISort
Created by P.C. Bender
Developement Team: P.C. Bender, R. Dunlop, V. Bildstein
An extension of the ROOT analysis Framework
GSnapshot Class Reference

Definition at line 10 of file GSnapshot.h.

Public Member Functions

 GSnapshot (const char *snapshot_dir=nullptr)
 
 ~GSnapshot ()=default
 
void Snapshot (TCanvas *can=nullptr)
 

Static Public Member Functions

static GSnapshotGet ()
 

Private Attributes

bool fCanWriteHere
 
std::string fSnapshotDir
 

#include <GSnapshot.h>

+ Collaboration diagram for GSnapshot:

Constructor & Destructor Documentation

◆ GSnapshot()

GSnapshot::GSnapshot ( const char *  snapshot_dir = nullptr)

Definition at line 16 of file GSnapshot.cxx.

References fCanWriteHere, and fSnapshotDir.

◆ ~GSnapshot()

GSnapshot::~GSnapshot ( )
default

Member Function Documentation

◆ Get()

GSnapshot & GSnapshot::Get ( )
static

Definition at line 10 of file GSnapshot.cxx.

Referenced by Snapshot().

◆ Snapshot()

void GSnapshot::Snapshot ( TCanvas *  can = nullptr)

Definition at line 40 of file GSnapshot.cxx.

References fCanWriteHere, fSnapshotDir, and Get().

Member Data Documentation

◆ fCanWriteHere

bool GSnapshot::fCanWriteHere
private

Definition at line 21 of file GSnapshot.h.

Referenced by GSnapshot(), and Snapshot().

◆ fSnapshotDir

std::string GSnapshot::fSnapshotDir
private

Definition at line 20 of file GSnapshot.h.

Referenced by GSnapshot(), and Snapshot().