BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
BmnHistScWall Class Reference

#include <BmnHistScWall.h>

Inheritance diagram for BmnHistScWall:
Collaboration diagram for BmnHistScWall:

Public Member Functions

 BmnHistScWall (TString title="ScWall", TString path="", Int_t periodID=8, BmnSetup setup=kBMNSETUP)
virtual ~BmnHistScWall ()
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 Trigger)
void SetGeometry (const std::string &path)
 BmnHistScWall (TString title="ScWall", TString path="", Int_t periodID=8, BmnSetup setup=kBMNSETUP)
virtual ~BmnHistScWall ()
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 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
Public Member Functions inherited from TNamed
 TNamed ()
 TNamed (const char *name, const char *title)
 TNamed (const TNamed &named)
 TNamed (const TString &name, const TString &title)
virtual ~TNamed ()
void Clear (Option_t *option="") override
TObject * Clone (const char *newname="") const override
Int_t Compare (const TObject *obj) const override
void Copy (TObject &named) const override
virtual void FillBuffer (char *&buffer)
const char * GetName () const override
const char * GetTitle () const override
ULong_t Hash () const override
TClass * IsA () const override
Bool_t IsSortable () const override
void ls (Option_t *option="") const override
TNamed & operator= (const TNamed &rhs)
void Print (Option_t *option="") const override
virtual void SetName (const char *name)
virtual void SetNameTitle (const char *name, const char *title)
virtual void SetTitle (const char *title="")
virtual Int_t Sizeof () const
void Streamer (TBuffer &) override
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
Public Member Functions inherited from TObject
 TObject ()
 TObject (const TObject &object)
virtual ~TObject ()
void AbstractMethod (const char *method) const
virtual void AppendPad (Option_t *option="")
virtual void Browse (TBrowser *b)
ULong_t CheckedHash ()
virtual const char * ClassName () const
virtual void Delete (Option_t *option="")
virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)
virtual void Draw (Option_t *option="")
virtual void DrawClass () const
virtual TObject * DrawClone (Option_t *option="") const
virtual void Dump () const
virtual void Error (const char *method, const char *msgfmt,...) const
virtual void Execute (const char *method, const char *params, Int_t *error=nullptr)
virtual void Execute (TMethod *method, TObjArray *params, Int_t *error=nullptr)
virtual void ExecuteEvent (Int_t event, Int_t px, Int_t py)
virtual void Fatal (const char *method, const char *msgfmt,...) const
virtual TObject * FindObject (const char *name) const
virtual TObject * FindObject (const TObject *obj) const
virtual Option_t * GetDrawOption () const
virtual const char * GetIconName () const
virtual char * GetObjectInfo (Int_t px, Int_t py) const
virtual Option_t * GetOption () const
virtual UInt_t GetUniqueID () const
virtual Bool_t HandleTimer (TTimer *timer)
Bool_t HasInconsistentHash () const
virtual void Info (const char *method, const char *msgfmt,...) const
virtual Bool_t InheritsFrom (const char *classname) const
virtual Bool_t InheritsFrom (const TClass *cl) const
virtual void Inspect () const
void InvertBit (UInt_t f)
Bool_t IsDestructed () const
virtual Bool_t IsEqual (const TObject *obj) const
virtual Bool_t IsFolder () const
R__ALWAYS_INLINE Bool_t IsOnHeap () const
R__ALWAYS_INLINE Bool_t IsZombie () const
void MayNotUse (const char *method) const
virtual Bool_t Notify ()
void Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const
void operator delete (void *ptr)
void operator delete (void *ptr, void *vp)
void operator delete[] (void *ptr)
void operator delete[] (void *ptr, void *vp)
void * operator new (size_t sz)
void * operator new (size_t sz, void *vp)
void * operator new[] (size_t sz)
void * operator new[] (size_t sz, void *vp)
TObject & operator= (const TObject &rhs)
virtual void Paint (Option_t *option="")
virtual void Pop ()
virtual Int_t Read (const char *name)
virtual void RecursiveRemove (TObject *obj)
void ResetBit (UInt_t f)
virtual void SaveAs (const char *filename="", Option_t *option="") const
virtual void SavePrimitive (std::ostream &out, Option_t *option="")
void SetBit (UInt_t f)
void SetBit (UInt_t f, Bool_t set)
virtual void SetDrawOption (Option_t *option="")
virtual void SetUniqueID (UInt_t uid)
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
virtual void SysError (const char *method, const char *msgfmt,...) const
R__ALWAYS_INLINE Bool_t TestBit (UInt_t f) const
Int_t TestBits (UInt_t f) const
virtual void UseCurrentStyle ()
virtual void Warning (const char *method, const char *msgfmt,...) const
virtual Int_t Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0)
virtual Int_t Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0) const

Private Attributes

long int fEventCounter = 1
BmnScWallGeo * fGeoHandler
Int_t fSelectedCell
Int_t fSelectedTrigger
TH2F * h2d_grid
TH2F * h2d_grid_center
TH2F * h2d_profile
TH2F * h2d_cell_id
TH2F * h2d_cell_id_center
TH1F * hCellE
TH1F * hCellAmpl
TH1F * wfmCell
TH1F * hModEn_scwall_nt
TCanvas * canAmps
TCanvas * canModEn
TCanvas * canSelect
vector< PadInfo * > canAmpsPads
vector< PadInfo * > canModEnPads
vector< PadInfo * > canSelectPads
vector< TString > NamesAmps
vector< TString > NamesModEn
vector< TString > NamesSelect
TCanvas * canScintWall
vector< PadInfo * > canScintWallPads
vector< TString > NamescanScintWall

Static Private Attributes

static constexpr int kTOTAL_CELLS = 173

Additional Inherited Members

Public Types inherited from TObject
enum  EDeprecatedStatusBits
enum  EStatusBits
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)
Static Public Member Functions inherited from TNamed
static TClass * Class ()
static const char * Class_Name ()
static constexpr Version_t Class_Version ()
static const char * DeclFileName ()
Static Public Member Functions inherited from TObject
static TClass * Class ()
static const char * Class_Name ()
static constexpr Version_t Class_Version ()
static const char * DeclFileName ()
static Longptr_t GetDtorOnly ()
static Bool_t GetObjectStat ()
static void SetDtorOnly (void *obj)
static void SetObjectStat (Bool_t stat)
Public Attributes inherited from TObject
 kIsOnHeap
 kNotDeleted
 kZombie
 kInconsistent
 kBitMask
 kSingleKey
 kOverwrite
 kWriteDelete
 kObjInCanvas
 kCanDelete
 kMustCleanup
 kIsReferenced
 kHasUUID
 kCannotPick
 kNoContextMenu
 kInvalidObject
Protected Member Functions inherited from TNamed
void SavePrimitiveNameTitle (std::ostream &out, const char *variable_name)
Protected Member Functions inherited from TObject
virtual void DoError (int level, const char *location, const char *fmt, va_list va) const
void MakeZombie ()
Static Protected Member Functions inherited from TObject
static void SavePrimitiveConstructor (std::ostream &out, TClass *cl, const char *variable_name, const char *constructor_agrs="", Bool_t empty_line=kTRUE)
static void SavePrimitiveDraw (std::ostream &out, const char *variable_name, Option_t *option=nullptr)
static TString SavePrimitiveVector (std::ostream &out, const char *prefix, Int_t len, Double_t *arr, Bool_t empty_line=kFALSE)
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
Protected Attributes inherited from TNamed
TString fName
TString fTitle
Protected Attributes inherited from TObject
 kOnlyPrepStep

Detailed Description

Definition at line 22 of file BmnHistScWall.h.

Constructor & Destructor Documentation

◆ BmnHistScWall() [1/2]

BmnHistScWall::BmnHistScWall ( TString title = "ScWall",
TString path = "",
Int_t periodID = 8,
BmnSetup setup = kBMNSETUP )

Definition at line 5 of file BmnHistScWall.cxx.

References BmnHist::BmnHist(), CreateHistos(), TNamed::fName, TNamed::fTitle, SetGeometry(), and TGaxis::SetMaxDigits().

Referenced by SetGeometry().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ~BmnHistScWall() [1/2]

BmnHistScWall::~BmnHistScWall ( )
virtual

◆ BmnHistScWall() [2/2]

BmnHistScWall::BmnHistScWall ( TString title = "ScWall",
TString path = "",
Int_t periodID = 8,
BmnSetup setup = kBMNSETUP )

References kBMNSETUP.

◆ ~BmnHistScWall() [2/2]

virtual BmnHistScWall::~BmnHistScWall ( )
virtual

Member Function Documentation

◆ ClearRefRun() [1/2]

void BmnHistScWall::ClearRefRun ( )
virtual

Implements BmnHist.

Definition at line 324 of file BmnHistScWall.cxx.

References canAmpsPads, canModEnPads, and BmnHist::refID.

◆ ClearRefRun() [2/2]

void BmnHistScWall::ClearRefRun ( )
virtual

Implements BmnHist.

◆ CreateHistos() [1/2]

void BmnHistScWall::CreateHistos ( )

Definition at line 22 of file BmnHistScWall.cxx.

References PadInfo::aux, PadInfo::auxOpt, canAmps, canAmpsPads, canModEn, canModEnPads, canSelect, canSelectPads, PadInfo::current, TNamed::fTitle, TNamed::GetName(), h2d_cell_id, h2d_cell_id_center, h2d_grid, h2d_grid_center, h2d_profile, hCellAmpl, hCellE, hModEn_scwall_nt, NamesAmps, NamesModEn, NamesSelect, PadInfo::opt, PAD_HEIGHT, PAD_WIDTH, ScWall_COLS, ScWall_ROWS, and wfmCell.

Referenced by BmnHistScWall().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ CreateHistos() [2/2]

void BmnHistScWall::CreateHistos ( )

◆ DrawBoth() [1/2]

void BmnHistScWall::DrawBoth ( )
virtual

Implements BmnHist.

Definition at line 226 of file BmnHistScWall.cxx.

References canAmps, canAmpsPads, canModEn, canModEnPads, canSelect, canSelectPads, and BmnHist::DrawRef().

Referenced by SetRefRun().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DrawBoth() [2/2]

void BmnHistScWall::DrawBoth ( )
virtual

Implements BmnHist.

◆ FillFromDigi() [1/2]

◆ FillFromDigi() [2/2]

void BmnHistScWall::FillFromDigi ( DigiArrays * fDigiArrays)
virtual

Implements BmnHist.

◆ Register() [1/2]

void BmnHistScWall::Register ( THttpServer * serv)
virtual

Implements BmnHist.

Definition at line 155 of file BmnHistScWall.cxx.

References canAmps, canModEn, canSelect, TString::Data(), TNamed::fName, BmnHist::fServer, and TNamed::fTitle.

Here is the call graph for this function:

◆ Register() [2/2]

void BmnHistScWall::Register ( THttpServer * serv)
virtual

Implements BmnHist.

◆ Reset() [1/2]

void BmnHistScWall::Reset ( )
virtual

◆ Reset() [2/2]

void BmnHistScWall::Reset ( )
virtual

Implements BmnHist.

◆ SetDir() [1/2]

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

◆ SetDir() [2/2]

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

Implements BmnHist.

◆ SetGeometry() [1/2]

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

Definition at line 15 of file BmnHistScWall.cxx.

References fGeoHandler.

Referenced by BmnHistScWall().

Here is the caller graph for this function:

◆ SetGeometry() [2/2]

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

References BmnHistScWall(), canAmps, canAmpsPads, canModEn, canModEnPads, canScintWall, canScintWallPads, canSelect, canSelectPads, fEventCounter, fGeoHandler, fSelectedCell, fSelectedTrigger, h2d_cell_id, h2d_cell_id_center, h2d_grid, h2d_grid_center, h2d_profile, hCellAmpl, hCellE, hModEn_scwall_nt, kTOTAL_CELLS, NamesAmps, NamescanScintWall, NamesModEn, NamesSelect, and wfmCell.

Here is the call graph for this function:

◆ SetRefRun() [1/2]

BmnStatus BmnHistScWall::SetRefRun ( Int_t id)

Definition at line 310 of file BmnHistScWall.cxx.

References canAmpsPads, canModEnPads, TString::Data(), DrawBoth(), TNamed::fTitle, kBMNSUCCESS, BmnHist::LoadRefRun(), NamesAmps, NamesModEn, BmnHist::refID, BmnHist::refPath, and BmnHist::refRunName.

Here is the call graph for this function:

◆ SetRefRun() [2/2]

BmnStatus BmnHistScWall::SetRefRun ( Int_t id)

◆ SetSelection() [1/2]

void BmnHistScWall::SetSelection ( Int_t Cell,
Int_t Trigger )

Definition at line 197 of file BmnHistScWall.cxx.

References TString::Data(), BmnHist::frecoTree, fSelectedCell, fSelectedTrigger, hCellAmpl, hCellE, and wfmCell.

Here is the call graph for this function:

◆ SetSelection() [2/2]

void BmnHistScWall::SetSelection ( Int_t Cell,
Int_t Trigger )

Member Data Documentation

◆ canAmps

TCanvas * BmnHistScWall::canAmps
private

Definition at line 56 of file BmnHistScWall.h.

Referenced by ~BmnHistScWall(), CreateHistos(), DrawBoth(), Register(), and SetGeometry().

◆ canAmpsPads

vector< PadInfo * > BmnHistScWall::canAmpsPads
private

Definition at line 59 of file BmnHistScWall.h.

Referenced by ClearRefRun(), CreateHistos(), DrawBoth(), SetGeometry(), and SetRefRun().

◆ canModEn

TCanvas * BmnHistScWall::canModEn
private

Definition at line 57 of file BmnHistScWall.h.

Referenced by ~BmnHistScWall(), CreateHistos(), DrawBoth(), Register(), and SetGeometry().

◆ canModEnPads

vector< PadInfo * > BmnHistScWall::canModEnPads
private

Definition at line 60 of file BmnHistScWall.h.

Referenced by ClearRefRun(), CreateHistos(), DrawBoth(), SetGeometry(), and SetRefRun().

◆ canScintWall

TCanvas * BmnHistScWall::canScintWall
private

Definition at line 66 of file BmnHistScWall.h.

Referenced by SetGeometry().

◆ canScintWallPads

vector< PadInfo * > BmnHistScWall::canScintWallPads
private

Definition at line 67 of file BmnHistScWall.h.

Referenced by SetGeometry().

◆ canSelect

TCanvas * BmnHistScWall::canSelect
private

Definition at line 58 of file BmnHistScWall.h.

Referenced by ~BmnHistScWall(), CreateHistos(), DrawBoth(), Register(), and SetGeometry().

◆ canSelectPads

vector< PadInfo * > BmnHistScWall::canSelectPads
private

Definition at line 61 of file BmnHistScWall.h.

Referenced by CreateHistos(), DrawBoth(), and SetGeometry().

◆ fEventCounter

long int BmnHistScWall::fEventCounter = 1
private

Definition at line 41 of file BmnHistScWall.h.

Referenced by FillFromDigi(), Reset(), and SetGeometry().

◆ fGeoHandler

BmnScWallGeo * BmnHistScWall::fGeoHandler
private

Definition at line 42 of file BmnHistScWall.h.

Referenced by ~BmnHistScWall(), FillFromDigi(), and SetGeometry().

◆ fSelectedCell

Int_t BmnHistScWall::fSelectedCell
private

Definition at line 43 of file BmnHistScWall.h.

Referenced by FillFromDigi(), SetGeometry(), and SetSelection().

◆ fSelectedTrigger

Int_t BmnHistScWall::fSelectedTrigger
private

Definition at line 44 of file BmnHistScWall.h.

Referenced by FillFromDigi(), SetGeometry(), and SetSelection().

◆ h2d_cell_id

TH2F * BmnHistScWall::h2d_cell_id
private

Definition at line 49 of file BmnHistScWall.h.

Referenced by ~BmnHistScWall(), CreateHistos(), FillFromDigi(), Reset(), SetDir(), and SetGeometry().

◆ h2d_cell_id_center

TH2F * BmnHistScWall::h2d_cell_id_center
private

Definition at line 50 of file BmnHistScWall.h.

Referenced by ~BmnHistScWall(), CreateHistos(), FillFromDigi(), Reset(), SetDir(), and SetGeometry().

◆ h2d_grid

TH2F * BmnHistScWall::h2d_grid
private

Definition at line 46 of file BmnHistScWall.h.

Referenced by ~BmnHistScWall(), CreateHistos(), FillFromDigi(), Reset(), SetDir(), and SetGeometry().

◆ h2d_grid_center

TH2F * BmnHistScWall::h2d_grid_center
private

Definition at line 47 of file BmnHistScWall.h.

Referenced by ~BmnHistScWall(), CreateHistos(), FillFromDigi(), Reset(), SetDir(), and SetGeometry().

◆ h2d_profile

TH2F * BmnHistScWall::h2d_profile
private

Definition at line 48 of file BmnHistScWall.h.

Referenced by ~BmnHistScWall(), CreateHistos(), FillFromDigi(), Reset(), SetDir(), and SetGeometry().

◆ hCellAmpl

TH1F * BmnHistScWall::hCellAmpl
private

◆ hCellE

TH1F * BmnHistScWall::hCellE
private

◆ hModEn_scwall_nt

TH1F * BmnHistScWall::hModEn_scwall_nt
private

Definition at line 54 of file BmnHistScWall.h.

Referenced by ~BmnHistScWall(), CreateHistos(), FillFromDigi(), Reset(), SetDir(), and SetGeometry().

◆ kTOTAL_CELLS

constexpr int BmnHistScWall::kTOTAL_CELLS = 173
staticconstexprprivate

Definition at line 39 of file BmnHistScWall.h.

Referenced by FillFromDigi(), and SetGeometry().

◆ NamesAmps

vector< TString > BmnHistScWall::NamesAmps
private

Definition at line 62 of file BmnHistScWall.h.

Referenced by CreateHistos(), SetGeometry(), and SetRefRun().

◆ NamescanScintWall

vector< TString > BmnHistScWall::NamescanScintWall
private

Definition at line 68 of file BmnHistScWall.h.

Referenced by SetGeometry().

◆ NamesModEn

vector< TString > BmnHistScWall::NamesModEn
private

Definition at line 63 of file BmnHistScWall.h.

Referenced by CreateHistos(), SetGeometry(), and SetRefRun().

◆ NamesSelect

vector< TString > BmnHistScWall::NamesSelect
private

Definition at line 64 of file BmnHistScWall.h.

Referenced by CreateHistos(), and SetGeometry().

◆ wfmCell

TH1F * BmnHistScWall::wfmCell
private

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