BmnRoot
Loading...
Searching...
No Matches
BmnHistNdet Class Reference

#include <BmnHistNdet.h>

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

Public Member Functions

 BmnHistNdet (TString title="Ndet", TString path="", Int_t periodID=8, BmnSetup setup=kBMNSETUP)
 
virtual ~BmnHistNdet ()
 
void CreateHistos ()
 
void Reset ()
 
void Register (THttpServer *serv)
 
void SetDir (TFile *outFile, TTree *recoTree)
 
void DrawBoth ()
 
void ClearRefRun ()
 
void FillFromDigi (DigiArrays *fDigiArrays)
 
BmnStatus SetRefRun (Int_t id)
 
void SetSelection (Int_t Cell, Int_t Layer, Int_t Trigger)
 
void SetGeometry (const std::string &path)
 
 BmnHistNdet (TString title="Ndet", TString path="", Int_t periodID=8, BmnSetup setup=kBMNSETUP)
 
virtual ~BmnHistNdet ()
 
void CreateHistos ()
 
void Reset ()
 
void Register (THttpServer *serv)
 
void SetDir (TFile *outFile, TTree *recoTree)
 
void DrawBoth ()
 
void ClearRefRun ()
 
void FillFromDigi (DigiArrays *fDigiArrays)
 
BmnStatus SetRefRun (Int_t id)
 
void SetSelection (Int_t Cell, Int_t Layer, Int_t Trigger)
 
void SetGeometry (const std::string &path)
 
- Public Member Functions inherited from BmnHist
 BmnHist (Int_t periodID=7, BmnSetup setup=kBMNSETUP)
 
virtual ~BmnHist ()
 
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 ()
 
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
 

Additional Inherited Members

- Static Public Member Functions inherited from BmnHist
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 inherited from BmnHist
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

Definition at line 22 of file BmnHistNdet.h.

Constructor & Destructor Documentation

◆ BmnHistNdet() [1/2]

BmnHistNdet::BmnHistNdet ( TString  title = "Ndet",
TString  path = "",
Int_t  periodID = 8,
BmnSetup  setup = kBMNSETUP 
)

Definition at line 5 of file BmnHistNdet.cxx.

References CreateHistos(), and SetGeometry().

◆ ~BmnHistNdet() [1/2]

BmnHistNdet::~BmnHistNdet ( )
virtual

Definition at line 752 of file BmnHistNdet.cxx.

References BmnHist::fDir.

◆ BmnHistNdet() [2/2]

BmnHistNdet::BmnHistNdet ( TString  title = "Ndet",
TString  path = "",
Int_t  periodID = 8,
BmnSetup  setup = kBMNSETUP 
)

◆ ~BmnHistNdet() [2/2]

virtual BmnHistNdet::~BmnHistNdet ( )
virtual

Member Function Documentation

◆ ClearRefRun() [1/2]

void BmnHistNdet::ClearRefRun ( )
virtual

Implements BmnHist.

Definition at line 655 of file BmnHistNdet.cxx.

References BmnHist::refID.

◆ ClearRefRun() [2/2]

void BmnHistNdet::ClearRefRun ( )
virtual

Implements BmnHist.

◆ CreateHistos() [1/2]

void BmnHistNdet::CreateHistos ( )

Definition at line 22 of file BmnHistNdet.cxx.

References PadInfo::current, Ndet_COLS, Ndet_ROWS, PadInfo::opt, PAD_HEIGHT, and PAD_WIDTH.

Referenced by BmnHistNdet().

◆ CreateHistos() [2/2]

void BmnHistNdet::CreateHistos ( )

◆ DrawBoth() [1/2]

void BmnHistNdet::DrawBoth ( )
virtual

Implements BmnHist.

Definition at line 485 of file BmnHistNdet.cxx.

References BmnHist::DrawRef().

Referenced by SetRefRun().

◆ DrawBoth() [2/2]

void BmnHistNdet::DrawBoth ( )
virtual

Implements BmnHist.

◆ FillFromDigi() [1/2]

◆ FillFromDigi() [2/2]

void BmnHistNdet::FillFromDigi ( DigiArrays fDigiArrays)
virtual

Implements BmnHist.

◆ Register() [1/2]

void BmnHistNdet::Register ( THttpServer *  serv)
virtual

Implements BmnHist.

Definition at line 387 of file BmnHistNdet.cxx.

References BmnHist::fServer.

◆ Register() [2/2]

void BmnHistNdet::Register ( THttpServer *  serv)
virtual

Implements BmnHist.

◆ Reset() [1/2]

void BmnHistNdet::Reset ( )
virtual

Implements BmnHist.

Definition at line 715 of file BmnHistNdet.cxx.

◆ Reset() [2/2]

void BmnHistNdet::Reset ( )
virtual

Implements BmnHist.

◆ SetDir() [1/2]

void BmnHistNdet::SetDir ( TFile *  outFile = NULL,
TTree *  recoTree = NULL 
)
virtual

Implements BmnHist.

Definition at line 425 of file BmnHistNdet.cxx.

References BmnHist::fDir, and BmnHist::frecoTree.

◆ SetDir() [2/2]

void BmnHistNdet::SetDir ( TFile *  outFile,
TTree *  recoTree 
)
virtual

Implements BmnHist.

◆ SetGeometry() [1/2]

void BmnHistNdet::SetGeometry ( const std::string &  path)

Definition at line 15 of file BmnHistNdet.cxx.

References BmnGeoTemplate< Derived >::ReadGeometryFromFile().

Referenced by BmnHistNdet().

◆ SetGeometry() [2/2]

void BmnHistNdet::SetGeometry ( const std::string &  path)

◆ SetRefRun() [1/2]

BmnStatus BmnHistNdet::SetRefRun ( Int_t  id)

◆ SetRefRun() [2/2]

BmnStatus BmnHistNdet::SetRefRun ( Int_t  id)

◆ SetSelection() [1/2]

void BmnHistNdet::SetSelection ( Int_t  Cell,
Int_t  Layer,
Int_t  Trigger 
)

Definition at line 457 of file BmnHistNdet.cxx.

References BmnHist::frecoTree.

◆ SetSelection() [2/2]

void BmnHistNdet::SetSelection ( Int_t  Cell,
Int_t  Layer,
Int_t  Trigger 
)

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