BmnRoot
Loading...
Searching...
No Matches
BmnHist Class Referenceabstract

#include <BmnHist.h>

Inheritance diagram for BmnHist:
[legend]
Collaboration diagram for BmnHist:
[legend]

Public Member Functions

 BmnHist (Int_t periodID=7, BmnSetup setup=kBMNSETUP)
 
virtual ~BmnHist ()
 
virtual void Reset ()=0
 
virtual void Register (THttpServer *serv)=0
 
virtual void SetDir (TFile *outFile=NULL, TTree *recoTree=NULL)=0
 
virtual void DrawBoth ()=0
 
virtual void FillFromDigi (DigiArrays *fDigiArrays)=0
 
virtual void ClearRefRun ()=0
 
void SetRefRunName (TString v)
 
TString GetRefRunName () const
 
void SetRefID (Int_t v)
 
Int_t GetRefID () const
 
void SetRefPath (TString v)
 
TString GetRefPath () const
 
void SetPeriodID (Int_t v)
 
Int_t GetPeriodID () const
 
void SetBmnSetup (BmnSetup v)
 
BmnSetup GetBmnSetup () const
 
void SetShow (Bool_t v)
 
Bool_t GetShow () const
 
 BmnHist (Int_t periodID=7, BmnSetup setup=kBMNSETUP)
 
virtual ~BmnHist ()
 
virtual void Reset ()=0
 
virtual void Register (THttpServer *serv)=0
 
virtual void SetDir (TFile *outFile=NULL, TTree *recoTree=NULL)=0
 
virtual void DrawBoth ()=0
 
virtual void FillFromDigi (DigiArrays *fDigiArrays)=0
 
virtual void ClearRefRun ()=0
 
void SetRefRunName (TString v)
 
TString GetRefRunName () const
 
void SetRefID (Int_t v)
 
Int_t GetRefID () const
 
void SetRefPath (TString v)
 
TString GetRefPath () const
 
void SetPeriodID (Int_t v)
 
Int_t GetPeriodID () const
 
void SetBmnSetup (BmnSetup v)
 
BmnSetup GetBmnSetup () const
 
void SetShow (Bool_t v)
 
Bool_t GetShow () const
 

Static Public Member Functions

static void DrawRef (unique_ptr< TCanvas > &canGemStrip, vector< PadInfo * > *canGemStripPads)
 
static void DrawRef (TCanvas *canGemStrip, vector< PadInfo * > *canGemStripPads)
 
static void DrawPad (TVirtualPad *pad, PadInfo *info)
 
static void FillPad (PadInfo *info, TTree *tree)
 
static BmnStatus LoadRefRun (Int_t refID, TString FullName, TString fTitle, vector< PadInfo * > canPads, vector< TString > Names)
 
static BmnStatus LoadRefRun (Int_t refID, TString FullName, TString fTitle, vector< PadInfo * > canPads)
 
static BmnStatus DrawPadFromTree (BmnPadBranch *br)
 
static void ResetPadTree (BmnPadBranch *br)
 
static BmnStatus FillPadFromTree (BmnPadBranch *br, TTree *tree)
 
static void SetHistStyleTH1 (TH1 *h)
 
static void DrawRef (unique_ptr< TCanvas > &canGemStrip, vector< PadInfo * > *canGemStripPads)
 
static void DrawRef (TCanvas *canGemStrip, vector< PadInfo * > *canGemStripPads)
 
static void DrawPad (TVirtualPad *pad, PadInfo *info)
 
static void FillPad (PadInfo *info, TTree *tree)
 
static BmnStatus LoadRefRun (Int_t refID, TString FullName, TString fTitle, vector< PadInfo * > canPads, vector< TString > Names)
 
static BmnStatus LoadRefRun (Int_t refID, TString FullName, TString fTitle, vector< PadInfo * > canPads)
 
static BmnStatus DrawPadFromTree (BmnPadBranch *br)
 
static void ResetPadTree (BmnPadBranch *br)
 
static BmnStatus FillPadFromTree (BmnPadBranch *br, TTree *tree)
 
static void SetHistStyleTH1 (TH1 *h)
 

Protected Attributes

Bool_t isShown
 
THttpServer * fServer
 
TTree * frecoTree
 
TDirectory * fDir
 
TString refPath
 
TString refRunName
 
Int_t refID
 
TFile * refFile
 
Int_t fPeriodID
 
BmnSetup fSetup
 

Detailed Description

Base class for histogram sets

Definition at line 33 of file BmnHist.h.

Constructor & Destructor Documentation

◆ BmnHist() [1/2]

BmnHist::BmnHist ( Int_t  periodID = 7,
BmnSetup  setup = kBMNSETUP 
)

Definition at line 3 of file BmnHist.cxx.

◆ ~BmnHist() [1/2]

BmnHist::~BmnHist ( )
virtual

Definition at line 13 of file BmnHist.cxx.

◆ BmnHist() [2/2]

BmnHist::BmnHist ( Int_t  periodID = 7,
BmnSetup  setup = kBMNSETUP 
)

◆ ~BmnHist() [2/2]

virtual BmnHist::~BmnHist ( )
virtual

Member Function Documentation

◆ ClearRefRun() [1/2]

◆ ClearRefRun() [2/2]

◆ DrawBoth() [1/2]

◆ DrawBoth() [2/2]

◆ DrawPad() [1/2]

void BmnHist::DrawPad ( TVirtualPad *  pad,
PadInfo info 
)
static

◆ DrawPad() [2/2]

static void BmnHist::DrawPad ( TVirtualPad *  pad,
PadInfo info 
)
static

◆ DrawPadFromTree() [1/2]

BmnStatus BmnHist::DrawPadFromTree ( BmnPadBranch br)
static

◆ DrawPadFromTree() [2/2]

static BmnStatus BmnHist::DrawPadFromTree ( BmnPadBranch br)
static

◆ DrawRef() [1/4]

void BmnHist::DrawRef ( TCanvas *  canGemStrip,
vector< PadInfo * > *  canGemStripPads 
)
static

Definition at line 20 of file BmnHist.cxx.

References can(), DrawPad(), PadInfo::logx, PadInfo::logy, and PadInfo::logz.

◆ DrawRef() [2/4]

static void BmnHist::DrawRef ( TCanvas *  canGemStrip,
vector< PadInfo * > *  canGemStripPads 
)
static

◆ DrawRef() [3/4]

◆ DrawRef() [4/4]

static void BmnHist::DrawRef ( unique_ptr< TCanvas > &  canGemStrip,
vector< PadInfo * > *  canGemStripPads 
)
static

◆ FillFromDigi() [1/2]

◆ FillFromDigi() [2/2]

◆ FillPad() [1/2]

void BmnHist::FillPad ( PadInfo info,
TTree *  tree 
)
static

Definition at line 88 of file BmnHist.cxx.

References PadInfo::current, PadInfo::opt, PadInfo::selection, PadInfo::temp, and PadInfo::variable.

Referenced by FillPadFromTree().

◆ FillPad() [2/2]

static void BmnHist::FillPad ( PadInfo info,
TTree *  tree 
)
static

◆ FillPadFromTree() [1/2]

BmnStatus BmnHist::FillPadFromTree ( BmnPadBranch br,
TTree *  tree 
)
static

◆ FillPadFromTree() [2/2]

static BmnStatus BmnHist::FillPadFromTree ( BmnPadBranch br,
TTree *  tree 
)
static

◆ GetBmnSetup() [1/2]

BmnSetup BmnHist::GetBmnSetup ( ) const
inline

Definition at line 79 of file BmnHist.h.

References fSetup.

◆ GetBmnSetup() [2/2]

BmnSetup BmnHist::GetBmnSetup ( ) const
inline

Definition at line 79 of file BmnHist.h.

References fSetup.

◆ GetPeriodID() [1/2]

Int_t BmnHist::GetPeriodID ( ) const
inline

Definition at line 75 of file BmnHist.h.

References fPeriodID.

◆ GetPeriodID() [2/2]

Int_t BmnHist::GetPeriodID ( ) const
inline

Definition at line 75 of file BmnHist.h.

References fPeriodID.

◆ GetRefID() [1/2]

Int_t BmnHist::GetRefID ( ) const
inline

Definition at line 67 of file BmnHist.h.

References refID.

◆ GetRefID() [2/2]

Int_t BmnHist::GetRefID ( ) const
inline

Definition at line 67 of file BmnHist.h.

References refID.

◆ GetRefPath() [1/2]

TString BmnHist::GetRefPath ( ) const
inline

Definition at line 71 of file BmnHist.h.

References refPath.

◆ GetRefPath() [2/2]

TString BmnHist::GetRefPath ( ) const
inline

Definition at line 71 of file BmnHist.h.

References refPath.

◆ GetRefRunName() [1/2]

TString BmnHist::GetRefRunName ( ) const
inline

Definition at line 63 of file BmnHist.h.

References refRunName.

◆ GetRefRunName() [2/2]

TString BmnHist::GetRefRunName ( ) const
inline

Definition at line 63 of file BmnHist.h.

References refRunName.

◆ GetShow() [1/2]

Bool_t BmnHist::GetShow ( ) const
inline

Definition at line 83 of file BmnHist.h.

References isShown.

◆ GetShow() [2/2]

Bool_t BmnHist::GetShow ( ) const
inline

Definition at line 83 of file BmnHist.h.

References isShown.

◆ LoadRefRun() [1/4]

BmnStatus BmnHist::LoadRefRun ( Int_t  refID,
TString  FullName,
TString  fTitle,
vector< PadInfo * >  canPads 
)
static

Definition at line 109 of file BmnHist.cxx.

References PadInfo::current, kBMNERROR, kBMNSUCCESS, PadInfo::ref, refFile, and refID.

◆ LoadRefRun() [2/4]

static BmnStatus BmnHist::LoadRefRun ( Int_t  refID,
TString  FullName,
TString  fTitle,
vector< PadInfo * >  canPads 
)
static

◆ LoadRefRun() [3/4]

◆ LoadRefRun() [4/4]

static BmnStatus BmnHist::LoadRefRun ( Int_t  refID,
TString  FullName,
TString  fTitle,
vector< PadInfo * >  canPads,
vector< TString >  Names 
)
static

◆ Register() [1/2]

◆ Register() [2/2]

◆ Reset() [1/2]

◆ Reset() [2/2]

◆ ResetPadTree() [1/2]

void BmnHist::ResetPadTree ( BmnPadBranch br)
static

◆ ResetPadTree() [2/2]

static void BmnHist::ResetPadTree ( BmnPadBranch br)
static

◆ SetBmnSetup() [1/2]

void BmnHist::SetBmnSetup ( BmnSetup  v)
inline

Definition at line 77 of file BmnHist.h.

References fSetup, and v.

◆ SetBmnSetup() [2/2]

void BmnHist::SetBmnSetup ( BmnSetup  v)
inline

Definition at line 77 of file BmnHist.h.

References fSetup, and v.

◆ SetDir() [1/2]

◆ SetDir() [2/2]

◆ SetHistStyleTH1() [1/2]

◆ SetHistStyleTH1() [2/2]

static void BmnHist::SetHistStyleTH1 ( TH1 *  h)
static

◆ SetPeriodID() [1/2]

void BmnHist::SetPeriodID ( Int_t  v)
inline

Definition at line 73 of file BmnHist.h.

References fPeriodID, and v.

◆ SetPeriodID() [2/2]

void BmnHist::SetPeriodID ( Int_t  v)
inline

Definition at line 73 of file BmnHist.h.

References fPeriodID, and v.

◆ SetRefID() [1/2]

void BmnHist::SetRefID ( Int_t  v)
inline

Definition at line 65 of file BmnHist.h.

References refID, and v.

◆ SetRefID() [2/2]

void BmnHist::SetRefID ( Int_t  v)
inline

Definition at line 65 of file BmnHist.h.

References refID, and v.

◆ SetRefPath() [1/2]

void BmnHist::SetRefPath ( TString  v)
inline

Definition at line 69 of file BmnHist.h.

References refPath, and v.

◆ SetRefPath() [2/2]

void BmnHist::SetRefPath ( TString  v)
inline

Definition at line 69 of file BmnHist.h.

References refPath, and v.

◆ SetRefRunName() [1/2]

void BmnHist::SetRefRunName ( TString  v)
inline

Definition at line 61 of file BmnHist.h.

References refRunName, and v.

◆ SetRefRunName() [2/2]

void BmnHist::SetRefRunName ( TString  v)
inline

Definition at line 61 of file BmnHist.h.

References refRunName, and v.

◆ SetShow() [1/2]

void BmnHist::SetShow ( Bool_t  v)
inline

Definition at line 81 of file BmnHist.h.

References isShown, and v.

◆ SetShow() [2/2]

void BmnHist::SetShow ( Bool_t  v)
inline

Definition at line 81 of file BmnHist.h.

References isShown, and v.

Member Data Documentation

◆ fDir

◆ fPeriodID

Int_t BmnHist::fPeriodID
protected

Definition at line 94 of file BmnHist.h.

Referenced by BmnHistGem::BmnHistGem(), BmnHistVsp::BmnHistVsp(), GetPeriodID(), and SetPeriodID().

◆ frecoTree

◆ fServer

◆ fSetup

◆ isShown

Bool_t BmnHist::isShown
protected

Definition at line 86 of file BmnHist.h.

Referenced by GetShow(), BmnHistTrigger::Register(), and SetShow().

◆ refFile

TFile * BmnHist::refFile
protected

Definition at line 93 of file BmnHist.h.

Referenced by LoadRefRun().

◆ refID

◆ refPath

◆ refRunName


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