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

#include <BmnHistToF700.h>

Inheritance diagram for BmnHistToF700:
Collaboration diagram for BmnHistToF700:

Public Member Functions

 BmnHistToF700 (TString title="ToF700", TString path="")
virtual ~BmnHistToF700 ()
void Register (THttpServer *serv)
void SetDir (TFile *outFile=NULL, TTree *recoTree=NULL)
void Reset ()
void DrawBoth ()
void ClearRefRun ()
BmnStatus SetRefRun (Int_t id)
void FillFromDigi (DigiArrays *fDigiArrays)
void SetSelection (Int_t Plane, Int_t Strip)
void SetPlane (Int_t v)
void SetSide (Int_t v)
void SetStrip (Int_t v)
Int_t GetPlane ()
Int_t GetSide ()
Int_t GetStrip ()
 BmnHistToF700 (TString title="ToF700", TString path="")
virtual ~BmnHistToF700 ()
void Register (THttpServer *serv)
void SetDir (TFile *outFile=NULL, TTree *recoTree=NULL)
void Reset ()
void DrawBoth ()
void ClearRefRun ()
BmnStatus SetRefRun (Int_t id)
void FillFromDigi (DigiArrays *fDigiArrays)
void SetSelection (Int_t Plane, Int_t Strip)
void SetPlane (Int_t v)
void SetSide (Int_t v)
void SetStrip (Int_t v)
Int_t GetPlane ()
Int_t GetSide ()
Int_t GetStrip ()
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 Member Functions

void SaveHist (TH1 *hist, TString path)
void SaveHist (TH1 *hist, TString path)

Private Attributes

TClonesArray * Events
TH1D * histLeadingTime
TH1D * histLeadingTimeSpecific
TH1D * histAmp
TH1D * histAmpSpecific
TH1I * histStrip
Int_t fSelectedPlane
Int_t fSelectedStrip
Int_t fSelectedSide
TH1I * histL = new TH1I("", "", TOF2_MAX_STRIPS_IN_CHAMBER, 0, TOF2_MAX_STRIPS_IN_CHAMBER)
TH1I * histR = new TH1I("", "", TOF2_MAX_STRIPS_IN_CHAMBER, 0, TOF2_MAX_STRIPS_IN_CHAMBER)
TH1I histSimultaneous
vector< TString > Names
TCanvas * canTimes
vector< PadInfo * > canTimesPads

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 36 of file BmnHistToF700.h.

Constructor & Destructor Documentation

◆ BmnHistToF700() [1/2]

BmnHistToF700::BmnHistToF700 ( TString title = "ToF700",
TString path = "" )

◆ ~BmnHistToF700() [1/2]

BmnHistToF700::~BmnHistToF700 ( )
virtual

Definition at line 73 of file BmnHistToF700.cxx.

References canTimes, canTimesPads, Events, BmnHist::fDir, histL, and histR.

◆ BmnHistToF700() [2/2]

BmnHistToF700::BmnHistToF700 ( TString title = "ToF700",
TString path = "" )

◆ ~BmnHistToF700() [2/2]

virtual BmnHistToF700::~BmnHistToF700 ( )
virtual

Member Function Documentation

◆ ClearRefRun() [1/2]

void BmnHistToF700::ClearRefRun ( )
virtual

Implements BmnHist.

Definition at line 223 of file BmnHistToF700.cxx.

References canTimesPads, and BmnHist::refID.

◆ ClearRefRun() [2/2]

void BmnHistToF700::ClearRefRun ( )
virtual

Implements BmnHist.

◆ DrawBoth() [1/2]

void BmnHistToF700::DrawBoth ( )
virtual

Implements BmnHist.

Definition at line 205 of file BmnHistToF700.cxx.

References canTimes, canTimesPads, 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 BmnHistToF700::DrawBoth ( )
virtual

Implements BmnHist.

◆ FillFromDigi() [1/2]

void BmnHistToF700::FillFromDigi ( DigiArrays * fDigiArrays)
virtual

◆ FillFromDigi() [2/2]

void BmnHistToF700::FillFromDigi ( DigiArrays * fDigiArrays)
virtual

Implements BmnHist.

◆ GetPlane() [1/2]

Int_t BmnHistToF700::GetPlane ( )
inline

Definition at line 54 of file BmnHistToF700.h.

References fSelectedPlane.

◆ GetPlane() [2/2]

Int_t BmnHistToF700::GetPlane ( )
inline

Definition at line 54 of file BmnHistToF700.h.

References fSelectedPlane.

◆ GetSide() [1/2]

Int_t BmnHistToF700::GetSide ( )
inline

Definition at line 55 of file BmnHistToF700.h.

References fSelectedSide.

◆ GetSide() [2/2]

Int_t BmnHistToF700::GetSide ( )
inline

Definition at line 55 of file BmnHistToF700.h.

References fSelectedSide.

◆ GetStrip() [1/2]

Int_t BmnHistToF700::GetStrip ( )
inline

Definition at line 56 of file BmnHistToF700.h.

References fSelectedStrip.

◆ GetStrip() [2/2]

Int_t BmnHistToF700::GetStrip ( )
inline

Definition at line 56 of file BmnHistToF700.h.

References fSelectedStrip.

◆ Register() [1/2]

void BmnHistToF700::Register ( THttpServer * serv)
virtual

Implements BmnHist.

Definition at line 118 of file BmnHistToF700.cxx.

References canTimes, TString::Data(), TNamed::fName, BmnHist::fServer, and TNamed::fTitle.

Here is the call graph for this function:

◆ Register() [2/2]

void BmnHistToF700::Register ( THttpServer * serv)
virtual

Implements BmnHist.

◆ Reset() [1/2]

void BmnHistToF700::Reset ( )
virtual

Implements BmnHist.

Definition at line 194 of file BmnHistToF700.cxx.

References histAmp, histAmpSpecific, histLeadingTime, histLeadingTimeSpecific, and histStrip.

◆ Reset() [2/2]

void BmnHistToF700::Reset ( )
virtual

Implements BmnHist.

◆ SaveHist() [1/2]

void BmnHistToF700::SaveHist ( TH1 * hist,
TString path )
inlineprivate

Definition at line 77 of file BmnHistToF700.h.

References TString::Data(), TH1::Draw(), TNamed::GetTitle(), and TPad::SaveAs().

Here is the call graph for this function:

◆ SaveHist() [2/2]

void BmnHistToF700::SaveHist ( TH1 * hist,
TString path )
inlineprivate

Definition at line 77 of file BmnHistToF700.h.

References TString::Data(), TH1::Draw(), TNamed::GetTitle(), and TPad::SaveAs().

Here is the call graph for this function:

◆ SetDir() [1/2]

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

Implements BmnHist.

Definition at line 145 of file BmnHistToF700.cxx.

References Events, BmnHist::fDir, BmnHist::frecoTree, TNamed::fTitle, histAmp, histAmpSpecific, histLeadingTime, histLeadingTimeSpecific, histStrip, TDirectoryFile::mkdir(), and TObject::TClonesArray.

Here is the call graph for this function:

◆ SetDir() [2/2]

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

Implements BmnHist.

◆ SetPlane() [1/2]

void BmnHistToF700::SetPlane ( Int_t v)
inline

Definition at line 51 of file BmnHistToF700.h.

References fSelectedPlane, and v.

Referenced by SetSelection().

Here is the caller graph for this function:

◆ SetPlane() [2/2]

void BmnHistToF700::SetPlane ( Int_t v)
inline

Definition at line 51 of file BmnHistToF700.h.

References fSelectedPlane, and v.

◆ SetRefRun() [1/2]

BmnStatus BmnHistToF700::SetRefRun ( Int_t id)

Definition at line 210 of file BmnHistToF700.cxx.

References canTimesPads, TString::Data(), DrawBoth(), TNamed::fTitle, kBMNSUCCESS, BmnHist::LoadRefRun(), Names, BmnHist::refID, BmnHist::refPath, and BmnHist::refRunName.

Here is the call graph for this function:

◆ SetRefRun() [2/2]

BmnStatus BmnHistToF700::SetRefRun ( Int_t id)

◆ SetSelection() [1/2]

void BmnHistToF700::SetSelection ( Int_t Plane,
Int_t Strip )

Definition at line 165 of file BmnHistToF700.cxx.

References BmnHist::frecoTree, fSelectedPlane, fSelectedSide, fSelectedStrip, histAmpSpecific, histLeadingTimeSpecific, TString::Length(), SetPlane(), and SetStrip().

Here is the call graph for this function:

◆ SetSelection() [2/2]

void BmnHistToF700::SetSelection ( Int_t Plane,
Int_t Strip )

◆ SetSide() [1/2]

void BmnHistToF700::SetSide ( Int_t v)
inline

Definition at line 52 of file BmnHistToF700.h.

References fSelectedSide, and v.

◆ SetSide() [2/2]

void BmnHistToF700::SetSide ( Int_t v)
inline

Definition at line 52 of file BmnHistToF700.h.

References fSelectedSide, and v.

◆ SetStrip() [1/2]

void BmnHistToF700::SetStrip ( Int_t v)
inline

Definition at line 53 of file BmnHistToF700.h.

References fSelectedStrip, and v.

Referenced by SetSelection().

Here is the caller graph for this function:

◆ SetStrip() [2/2]

void BmnHistToF700::SetStrip ( Int_t v)
inline

Definition at line 53 of file BmnHistToF700.h.

References fSelectedStrip, and v.

Member Data Documentation

◆ canTimes

TCanvas * BmnHistToF700::canTimes
private

Definition at line 74 of file BmnHistToF700.h.

Referenced by BmnHistToF700(), ~BmnHistToF700(), DrawBoth(), and Register().

◆ canTimesPads

vector< PadInfo * > BmnHistToF700::canTimesPads
private

Definition at line 75 of file BmnHistToF700.h.

Referenced by BmnHistToF700(), ~BmnHistToF700(), ClearRefRun(), DrawBoth(), and SetRefRun().

◆ Events

TClonesArray * BmnHistToF700::Events
private

Definition at line 59 of file BmnHistToF700.h.

Referenced by BmnHistToF700(), ~BmnHistToF700(), FillFromDigi(), and SetDir().

◆ fSelectedPlane

Int_t BmnHistToF700::fSelectedPlane
private

Definition at line 67 of file BmnHistToF700.h.

Referenced by BmnHistToF700(), FillFromDigi(), GetPlane(), SetPlane(), and SetSelection().

◆ fSelectedSide

Int_t BmnHistToF700::fSelectedSide
private

Definition at line 69 of file BmnHistToF700.h.

Referenced by BmnHistToF700(), GetSide(), SetSelection(), and SetSide().

◆ fSelectedStrip

Int_t BmnHistToF700::fSelectedStrip
private

Definition at line 68 of file BmnHistToF700.h.

Referenced by BmnHistToF700(), FillFromDigi(), GetStrip(), SetSelection(), and SetStrip().

◆ histAmp

TH1D * BmnHistToF700::histAmp
private

Definition at line 62 of file BmnHistToF700.h.

Referenced by BmnHistToF700(), FillFromDigi(), Reset(), and SetDir().

◆ histAmpSpecific

TH1D * BmnHistToF700::histAmpSpecific
private

Definition at line 63 of file BmnHistToF700.h.

Referenced by BmnHistToF700(), FillFromDigi(), Reset(), SetDir(), and SetSelection().

◆ histL

TH1I * BmnHistToF700::histL = new TH1I("", "", TOF2_MAX_STRIPS_IN_CHAMBER, 0, TOF2_MAX_STRIPS_IN_CHAMBER)
private

Definition at line 70 of file BmnHistToF700.h.

Referenced by BmnHistToF700(), ~BmnHistToF700(), and FillFromDigi().

◆ histLeadingTime

TH1D * BmnHistToF700::histLeadingTime
private

Definition at line 60 of file BmnHistToF700.h.

Referenced by BmnHistToF700(), FillFromDigi(), Reset(), and SetDir().

◆ histLeadingTimeSpecific

TH1D * BmnHistToF700::histLeadingTimeSpecific
private

Definition at line 61 of file BmnHistToF700.h.

Referenced by BmnHistToF700(), FillFromDigi(), Reset(), SetDir(), and SetSelection().

◆ histR

TH1I * BmnHistToF700::histR = new TH1I("", "", TOF2_MAX_STRIPS_IN_CHAMBER, 0, TOF2_MAX_STRIPS_IN_CHAMBER)
private

Definition at line 71 of file BmnHistToF700.h.

Referenced by BmnHistToF700(), ~BmnHistToF700(), and FillFromDigi().

◆ histSimultaneous

TH1I BmnHistToF700::histSimultaneous
private

Definition at line 72 of file BmnHistToF700.h.

Referenced by BmnHistToF700(), and FillFromDigi().

◆ histStrip

TH1I * BmnHistToF700::histStrip
private

Definition at line 64 of file BmnHistToF700.h.

Referenced by BmnHistToF700(), FillFromDigi(), Reset(), and SetDir().

◆ Names

vector< TString > BmnHistToF700::Names
private

Definition at line 73 of file BmnHistToF700.h.

Referenced by BmnHistToF700(), and SetRefRun().


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