Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
BbcOutV1 Class Reference

#include <coresoftware/blob/master/offline/packages/mbd/BbcOutV1.h>

+ Inheritance diagram for BbcOutV1:
+ Collaboration diagram for BbcOutV1:

Public Member Functions

 BbcOutV1 ()
 
 ~BbcOutV1 () override
 
virtual void Reset () override
 Clear Event from memory.
 
void identify (std::ostream &os=std::cout) const override
 
int isValid () const override
 isValid returns non zero if object contains vailid data
 
Float_t get_zvtx () const override
 get ZVertex determined by Bbc
 
Float_t get_zvtxerr () const override
 get Error on ZVertex determined by Bbc
 
Float_t get_t0 () const override
 get T0 determined by Bbc
 
Float_t get_t0err () const override
 get Error on T0 determined by Bbc
 
void set_t0 (const Float_t t0, const Float_t t0err=0) override
 
void set_zvtx (const Float_t vtx, const Float_t vtxerr=0) override
 set vertex
 
void set_zvtxerr (const Float_t vtxerr) override
 
void set_arm (const int iarm, const Short_t npmt, const Float_t chargesum, const Float_t timing) override
 
Short_t get_npmt (const int iarm) const override
 
Float_t get_q (const int iarm) const override
 
Float_t get_time (const int iarm) const override
 
- Public Member Functions inherited from BbcOut
 ~BbcOut () override
 
virtual void set_t0zvtx (const Float_t t0, const Float_t t0err, const Float_t vtx, const Float_t vtxerr)
 
virtual void set_clocks (const Int_t ievt, const UShort_t iclk, const UShort_t ifemclk)
 
virtual Int_t get_evt () const
 
virtual UShort_t get_clock () const
 
virtual UShort_t get_femclock () const
 
virtual void FillFromClass (const BbcOut &old)
 
- Public Member Functions inherited from PHObject
 PHObject ()
 ctor
 
 ~PHObject () override
 dtor
 
virtual PHObjectCloneMe () const
 Virtual copy constructor.
 
virtual PHObjectclone () const final
 
PHObjectClone (const char *newname="") const final
 
void Copy (TObject &object) const final
 
virtual int Integrate () const
 
virtual int Integrate (PHObject *)
 
virtual void CopyFrom (const PHObject *obj)
 

Private Attributes

Float_t bz {std::numeric_limits<Float_t>::quiet_NaN()}
 
Float_t bzerr {std::numeric_limits<Float_t>::quiet_NaN()}
 
Float_t bt0 {std::numeric_limits<Float_t>::quiet_NaN()}
 
Float_t bt0err {std::numeric_limits<Float_t>::quiet_NaN()}
 
Float_t bns {0}
 
Float_t bnn {0}
 
Float_t bqs {0}
 
Float_t bqn {0}
 
Float_t bts {std::numeric_limits<Float_t>::quiet_NaN()}
 
Float_t btn {std::numeric_limits<Float_t>::quiet_NaN()}
 

Detailed Description

Definition at line 14 of file BbcOutV1.h.

View newest version in sPHENIX GitHub at line 14 of file BbcOutV1.h

Constructor & Destructor Documentation

BbcOutV1::BbcOutV1 ( )
default
BbcOutV1::~BbcOutV1 ( )
overridedefault

Member Function Documentation

Short_t BbcOutV1::get_npmt ( const int  iarm) const
overridevirtual

get Number of PMT's fired in North/South Bbc

Parameters
iarmArm, use Bbc::North and Bbc::South

Reimplemented from BbcOut.

Definition at line 86 of file BbcOutV1.cc.

View newest version in sPHENIX GitHub at line 86 of file BbcOutV1.cc

References bnn, and bns.

Float_t BbcOutV1::get_q ( const int  iarm) const
overridevirtual

get Number of Charged Particles into North/South Bbc

Parameters
iarmArm, use Bbc::North and Bbc::South

Reimplemented from BbcOut.

Definition at line 92 of file BbcOutV1.cc.

View newest version in sPHENIX GitHub at line 92 of file BbcOutV1.cc

References bqn, and bqs.

Float_t BbcOutV1::get_t0 ( ) const
inlineoverridevirtual

get T0 determined by Bbc

Reimplemented from BbcOut.

Definition at line 40 of file BbcOutV1.h.

View newest version in sPHENIX GitHub at line 40 of file BbcOutV1.h

References bt0.

Float_t BbcOutV1::get_t0err ( ) const
inlineoverridevirtual

get Error on T0 determined by Bbc

Reimplemented from BbcOut.

Definition at line 43 of file BbcOutV1.h.

View newest version in sPHENIX GitHub at line 43 of file BbcOutV1.h

References bt0err.

Float_t BbcOutV1::get_time ( const int  iarm) const
overridevirtual

get Timing of North/South Bbc

Parameters
iarmArm, use Bbc::North and Bbc::South

Reimplemented from BbcOut.

Definition at line 97 of file BbcOutV1.cc.

View newest version in sPHENIX GitHub at line 97 of file BbcOutV1.cc

References btn, and bts.

Float_t BbcOutV1::get_zvtx ( ) const
inlineoverridevirtual

get ZVertex determined by Bbc

Reimplemented from BbcOut.

Definition at line 34 of file BbcOutV1.h.

View newest version in sPHENIX GitHub at line 34 of file BbcOutV1.h

References bz.

Float_t BbcOutV1::get_zvtxerr ( ) const
inlineoverridevirtual

get Error on ZVertex determined by Bbc

Reimplemented from BbcOut.

Definition at line 37 of file BbcOutV1.h.

View newest version in sPHENIX GitHub at line 37 of file BbcOutV1.h

References bzerr.

void BbcOutV1::identify ( std::ostream &  os = std::cout) const
overridevirtual

identify Function from PHObject

Parameters
osOutput Stream

Reimplemented from BbcOut.

Definition at line 37 of file BbcOutV1.cc.

View newest version in sPHENIX GitHub at line 37 of file BbcOutV1.cc

References bt0, bt0err, bz, and bzerr.

int BbcOutV1::isValid ( ) const
overridevirtual

isValid returns non zero if object contains vailid data

Reimplemented from BbcOut.

Definition at line 30 of file BbcOutV1.cc.

View newest version in sPHENIX GitHub at line 30 of file BbcOutV1.cc

References bt0.

void BbcOutV1::Reset ( )
overridevirtual

Clear Event from memory.

Reimplemented from BbcOut.

Definition at line 12 of file BbcOutV1.cc.

View newest version in sPHENIX GitHub at line 12 of file BbcOutV1.cc

References bnn, bns, bqn, bqs, bt0, bt0err, btn, bts, bz, and bzerr.

void BbcOutV1::set_arm ( const int  iarm,
const Short_t  npmt,
const Float_t  chargesum,
const Float_t  timing 
)
overridevirtual

Add Bbc North/South data containing Number of pmt's, Energy and Timing

Parameters
npmtNumber of PMT's fired
energyEnergy in North/South
timingTiming of North/South
iarmArm, use Bbc::North and Bbc::South

Reimplemented from BbcOut.

Definition at line 65 of file BbcOutV1.cc.

View newest version in sPHENIX GitHub at line 65 of file BbcOutV1.cc

References bnn, bns, bqn, bqs, btn, bts, and charge().

+ Here is the call graph for this function:

void BbcOutV1::set_t0 ( const Float_t  t0,
const Float_t  t0err = 0 
)
overridevirtual

set T0 for Bbc

Parameters
t0Bbc T0
t0errBbc T0 error

Reimplemented from BbcOut.

Definition at line 45 of file BbcOutV1.cc.

View newest version in sPHENIX GitHub at line 45 of file BbcOutV1.cc

References bt0, and bt0err.

void BbcOutV1::set_zvtx ( const Float_t  vtx,
const Float_t  vtxerr = 0 
)
overridevirtual

set vertex

Reimplemented from BbcOut.

Definition at line 52 of file BbcOutV1.cc.

View newest version in sPHENIX GitHub at line 52 of file BbcOutV1.cc

References bz, and bzerr.

void BbcOutV1::set_zvtxerr ( const Float_t  vtxerr)
overridevirtual

set Vtx Error for Bbc

Parameters
vtxerrBbc Vtx Error

Reimplemented from BbcOut.

Definition at line 59 of file BbcOutV1.cc.

View newest version in sPHENIX GitHub at line 59 of file BbcOutV1.cc

References bzerr.

Member Data Documentation

Float_t BbcOutV1::bnn {0}
private

Definition at line 88 of file BbcOutV1.h.

View newest version in sPHENIX GitHub at line 88 of file BbcOutV1.h

Referenced by get_npmt(), Reset(), and set_arm().

Float_t BbcOutV1::bns {0}
private

Definition at line 87 of file BbcOutV1.h.

View newest version in sPHENIX GitHub at line 87 of file BbcOutV1.h

Referenced by get_npmt(), Reset(), and set_arm().

Float_t BbcOutV1::bqn {0}
private

Definition at line 90 of file BbcOutV1.h.

View newest version in sPHENIX GitHub at line 90 of file BbcOutV1.h

Referenced by get_q(), Reset(), and set_arm().

Float_t BbcOutV1::bqs {0}
private

Definition at line 89 of file BbcOutV1.h.

View newest version in sPHENIX GitHub at line 89 of file BbcOutV1.h

Referenced by get_q(), Reset(), and set_arm().

Float_t BbcOutV1::bt0 {std::numeric_limits<Float_t>::quiet_NaN()}
private

Definition at line 85 of file BbcOutV1.h.

View newest version in sPHENIX GitHub at line 85 of file BbcOutV1.h

Referenced by get_t0(), identify(), isValid(), Reset(), and set_t0().

Float_t BbcOutV1::bt0err {std::numeric_limits<Float_t>::quiet_NaN()}
private

Definition at line 86 of file BbcOutV1.h.

View newest version in sPHENIX GitHub at line 86 of file BbcOutV1.h

Referenced by get_t0err(), identify(), Reset(), and set_t0().

Float_t BbcOutV1::btn {std::numeric_limits<Float_t>::quiet_NaN()}
private

Definition at line 92 of file BbcOutV1.h.

View newest version in sPHENIX GitHub at line 92 of file BbcOutV1.h

Referenced by get_time(), Reset(), and set_arm().

Float_t BbcOutV1::bts {std::numeric_limits<Float_t>::quiet_NaN()}
private

Definition at line 91 of file BbcOutV1.h.

View newest version in sPHENIX GitHub at line 91 of file BbcOutV1.h

Referenced by get_time(), Reset(), and set_arm().

Float_t BbcOutV1::bz {std::numeric_limits<Float_t>::quiet_NaN()}
private

Definition at line 83 of file BbcOutV1.h.

View newest version in sPHENIX GitHub at line 83 of file BbcOutV1.h

Referenced by get_zvtx(), identify(), Reset(), and set_zvtx().

Float_t BbcOutV1::bzerr {std::numeric_limits<Float_t>::quiet_NaN()}
private

Definition at line 84 of file BbcOutV1.h.

View newest version in sPHENIX GitHub at line 84 of file BbcOutV1.h

Referenced by get_zvtxerr(), identify(), Reset(), set_zvtx(), and set_zvtxerr().


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