|
BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
|
#include <BmnHistScWall.h>
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 | |
Definition at line 22 of file BmnHistScWall.h.
| 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().
|
virtual |
Definition at line 354 of file BmnHistScWall.cxx.
References canAmps, canModEn, canSelect, BmnHist::fDir, fGeoHandler, h2d_cell_id, h2d_cell_id_center, h2d_grid, h2d_grid_center, h2d_profile, hCellAmpl, hCellE, hModEn_scwall_nt, and wfmCell.
| BmnHistScWall::BmnHistScWall | ( | TString | title = "ScWall", |
| TString | path = "", | ||
| Int_t | periodID = 8, | ||
| BmnSetup | setup = kBMNSETUP ) |
References kBMNSETUP.
|
virtual |
|
virtual |
Implements BmnHist.
Definition at line 324 of file BmnHistScWall.cxx.
References canAmpsPads, canModEnPads, and BmnHist::refID.
|
virtual |
Implements BmnHist.
| 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().
| void BmnHistScWall::CreateHistos | ( | ) |
|
virtual |
Implements BmnHist.
Definition at line 226 of file BmnHistScWall.cxx.
References canAmps, canAmpsPads, canModEn, canModEnPads, canSelect, canSelectPads, and BmnHist::DrawRef().
Referenced by SetRefRun().
|
virtual |
Implements BmnHist.
|
virtual |
Implements BmnHist.
Definition at line 234 of file BmnHistScWall.cxx.
References TObjArray::At(), BmnDigiContainerTemplate::fAmpl, fEventCounter, fGeoHandler, fSelectedCell, fSelectedTrigger, BmnAbstractDigit::GetAddress(), BmnScWallDigit::GetCellId(), TObjArray::GetEntriesFast(), BmnEventHeader::GetInputSignalsAR(), BmnAbstractDigit::GetSignal(), BmnDigiContainerTemplate::GetWfm(), h2d_cell_id, h2d_cell_id_center, h2d_grid, h2d_grid_center, h2d_profile, hCellAmpl, hCellE, DigiArrays::header, hModEn_scwall_nt, kTOTAL_CELLS, DigiArrays::scwall, signal(), TObject::TClonesArray, and wfmCell.
|
virtual |
Implements BmnHist.
|
virtual |
Implements BmnHist.
Definition at line 155 of file BmnHistScWall.cxx.
References canAmps, canModEn, canSelect, TString::Data(), TNamed::fName, BmnHist::fServer, and TNamed::fTitle.
|
virtual |
Implements BmnHist.
|
virtual |
Implements BmnHist.
Definition at line 339 of file BmnHistScWall.cxx.
References fEventCounter, h2d_cell_id, h2d_cell_id_center, h2d_grid, h2d_grid_center, h2d_profile, hCellAmpl, hCellE, hModEn_scwall_nt, and wfmCell.
|
virtual |
Implements BmnHist.
Implements BmnHist.
Definition at line 180 of file BmnHistScWall.cxx.
References BmnHist::fDir, BmnHist::frecoTree, TNamed::fTitle, h2d_cell_id, h2d_cell_id_center, h2d_grid, h2d_grid_center, h2d_profile, hCellAmpl, hCellE, hModEn_scwall_nt, and wfmCell.
| void BmnHistScWall::SetGeometry | ( | const std::string & | path | ) |
Definition at line 15 of file BmnHistScWall.cxx.
References fGeoHandler.
Referenced by BmnHistScWall().
| 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.
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.
Definition at line 197 of file BmnHistScWall.cxx.
References TString::Data(), BmnHist::frecoTree, fSelectedCell, fSelectedTrigger, hCellAmpl, hCellE, and wfmCell.
|
private |
Definition at line 56 of file BmnHistScWall.h.
Referenced by ~BmnHistScWall(), CreateHistos(), DrawBoth(), Register(), and SetGeometry().
|
private |
Definition at line 59 of file BmnHistScWall.h.
Referenced by ClearRefRun(), CreateHistos(), DrawBoth(), SetGeometry(), and SetRefRun().
|
private |
Definition at line 57 of file BmnHistScWall.h.
Referenced by ~BmnHistScWall(), CreateHistos(), DrawBoth(), Register(), and SetGeometry().
|
private |
Definition at line 60 of file BmnHistScWall.h.
Referenced by ClearRefRun(), CreateHistos(), DrawBoth(), SetGeometry(), and SetRefRun().
|
private |
Definition at line 66 of file BmnHistScWall.h.
Referenced by SetGeometry().
|
private |
Definition at line 67 of file BmnHistScWall.h.
Referenced by SetGeometry().
|
private |
Definition at line 58 of file BmnHistScWall.h.
Referenced by ~BmnHistScWall(), CreateHistos(), DrawBoth(), Register(), and SetGeometry().
|
private |
Definition at line 61 of file BmnHistScWall.h.
Referenced by CreateHistos(), DrawBoth(), and SetGeometry().
|
private |
Definition at line 41 of file BmnHistScWall.h.
Referenced by FillFromDigi(), Reset(), and SetGeometry().
|
private |
Definition at line 42 of file BmnHistScWall.h.
Referenced by ~BmnHistScWall(), FillFromDigi(), and SetGeometry().
|
private |
Definition at line 43 of file BmnHistScWall.h.
Referenced by FillFromDigi(), SetGeometry(), and SetSelection().
|
private |
Definition at line 44 of file BmnHistScWall.h.
Referenced by FillFromDigi(), SetGeometry(), and SetSelection().
|
private |
Definition at line 49 of file BmnHistScWall.h.
Referenced by ~BmnHistScWall(), CreateHistos(), FillFromDigi(), Reset(), SetDir(), and SetGeometry().
|
private |
Definition at line 50 of file BmnHistScWall.h.
Referenced by ~BmnHistScWall(), CreateHistos(), FillFromDigi(), Reset(), SetDir(), and SetGeometry().
|
private |
Definition at line 46 of file BmnHistScWall.h.
Referenced by ~BmnHistScWall(), CreateHistos(), FillFromDigi(), Reset(), SetDir(), and SetGeometry().
|
private |
Definition at line 47 of file BmnHistScWall.h.
Referenced by ~BmnHistScWall(), CreateHistos(), FillFromDigi(), Reset(), SetDir(), and SetGeometry().
|
private |
Definition at line 48 of file BmnHistScWall.h.
Referenced by ~BmnHistScWall(), CreateHistos(), FillFromDigi(), Reset(), SetDir(), and SetGeometry().
|
private |
Definition at line 52 of file BmnHistScWall.h.
Referenced by ~BmnHistScWall(), CreateHistos(), FillFromDigi(), Reset(), SetDir(), SetGeometry(), and SetSelection().
|
private |
Definition at line 51 of file BmnHistScWall.h.
Referenced by ~BmnHistScWall(), CreateHistos(), FillFromDigi(), Reset(), SetDir(), SetGeometry(), and SetSelection().
|
private |
Definition at line 54 of file BmnHistScWall.h.
Referenced by ~BmnHistScWall(), CreateHistos(), FillFromDigi(), Reset(), SetDir(), and SetGeometry().
|
staticconstexprprivate |
Definition at line 39 of file BmnHistScWall.h.
Referenced by FillFromDigi(), and SetGeometry().
|
private |
Definition at line 62 of file BmnHistScWall.h.
Referenced by CreateHistos(), SetGeometry(), and SetRefRun().
|
private |
Definition at line 68 of file BmnHistScWall.h.
Referenced by SetGeometry().
|
private |
Definition at line 63 of file BmnHistScWall.h.
Referenced by CreateHistos(), SetGeometry(), and SetRefRun().
|
private |
Definition at line 64 of file BmnHistScWall.h.
Referenced by CreateHistos(), and SetGeometry().
|
private |
Definition at line 53 of file BmnHistScWall.h.
Referenced by ~BmnHistScWall(), CreateHistos(), FillFromDigi(), Reset(), SetDir(), SetGeometry(), and SetSelection().