EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RawTowerGeomv3 Class Reference

#include <fun4all_coresoftware/blob/master/offline/packages/CaloBase/RawTowerGeomv3.h>

+ Inheritance diagram for RawTowerGeomv3:
+ Collaboration diagram for RawTowerGeomv3:

Public Member Functions

 RawTowerGeomv3 ()
 
 RawTowerGeomv3 (RawTowerDefs::keytype id)
 
 ~RawTowerGeomv3 () override
 
void identify (std::ostream &os=std::cout) const override
 
void set_id (RawTowerDefs::keytype key) override
 
RawTowerDefs::keytype get_id () const override
 
int get_bineta () const override
 
int get_binphi () const override
 
int get_column () const override
 
int get_row () const override
 
int get_binl () const override
 
void set_center_x (double x) override
 
void set_center_y (double y) override
 
void set_center_z (double z) override
 
void set_size_x (double dx) override
 
void set_size_y (double dy) override
 
void set_size_z (double dz) override
 
double get_center_x () const override
 
double get_center_y () const override
 
double get_center_z () const override
 
double get_size_x () const override
 
double get_size_y () const override
 
double get_size_z () const override
 
double get_volume () const override
 
double get_center_radius () const override
 
double get_eta () const override
 
double get_phi () const override
 
double get_theta () const override
 
void set_tower_type (int tt) override
 
int get_tower_type () const override
 
- Public Member Functions inherited from RawTowerGeom
 ~RawTowerGeom () override
 
virtual double get_roty () const
 
virtual double get_rotz () const
 
virtual void set_roty (double)
 
virtual void set_rotz (double)
 
- 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 void Reset ()
 Clear Event.
 
virtual int isValid () const
 isValid returns non zero if object contains vailid data
 
virtual int isValid (const float) const
 
virtual int isValid (const double) const
 
virtual int isValid (const int) const
 
virtual int isValid (const unsigned int) const
 
virtual int isImplemented (const float f) const
 
virtual int isImplemented (const double f) const
 
virtual int isImplemented (const int i) const
 
virtual int isImplemented (const unsigned int i) const
 
virtual int Integrate () const
 
virtual int Integrate (PHObject *)
 
virtual void CopyFrom (const PHObject *obj)
 

Protected Attributes

RawTowerDefs::keytype _towerid = ~0
 
double _center_x = NAN
 
double _center_y = NAN
 
double _center_z = NAN
 
double _size_x = NAN
 
double _size_y = NAN
 
double _size_z = NAN
 
int _tower_type = -1
 

Additional Inherited Members

- Protected Member Functions inherited from RawTowerGeom
 RawTowerGeom ()
 

Detailed Description

Definition at line 11 of file RawTowerGeomv3.h.

View newest version in sPHENIX GitHub at line 11 of file RawTowerGeomv3.h

Constructor & Destructor Documentation

RawTowerGeomv3::RawTowerGeomv3 ( )
inline

Definition at line 14 of file RawTowerGeomv3.h.

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

RawTowerGeomv3::RawTowerGeomv3 ( RawTowerDefs::keytype  id)

Definition at line 6 of file RawTowerGeomv3.cc.

View newest version in sPHENIX GitHub at line 6 of file RawTowerGeomv3.cc

RawTowerGeomv3::~RawTowerGeomv3 ( )
inlineoverride

Definition at line 16 of file RawTowerGeomv3.h.

View newest version in sPHENIX GitHub at line 16 of file RawTowerGeomv3.h

Member Function Documentation

int RawTowerGeomv3::get_bineta ( ) const
overridevirtual

Reimplemented from RawTowerGeom.

Definition at line 37 of file RawTowerGeomv3.cc.

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

References _towerid, RawTowerDefs::decode_caloid(), RawTowerDefs::decode_index1(), RawTowerDefs::decode_index1v2(), and RawTowerDefs::LFHCAL.

Referenced by get_column().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int RawTowerGeomv3::get_binl ( ) const
inlineoverridevirtual

Reimplemented from RawTowerGeom.

Definition at line 29 of file RawTowerGeomv3.h.

View newest version in sPHENIX GitHub at line 29 of file RawTowerGeomv3.h

References _towerid, and RawTowerDefs::decode_index3v2().

+ Here is the call graph for this function:

int RawTowerGeomv3::get_binphi ( ) const
overridevirtual

Reimplemented from RawTowerGeom.

Definition at line 50 of file RawTowerGeomv3.cc.

View newest version in sPHENIX GitHub at line 50 of file RawTowerGeomv3.cc

References _towerid, RawTowerDefs::decode_caloid(), RawTowerDefs::decode_index2(), RawTowerDefs::decode_index2v2(), and RawTowerDefs::LFHCAL.

Referenced by get_row().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

double RawTowerGeomv3::get_center_radius ( ) const
overridevirtual

Reimplemented from RawTowerGeom.

Definition at line 11 of file RawTowerGeomv3.cc.

View newest version in sPHENIX GitHub at line 11 of file RawTowerGeomv3.cc

References _center_x, and _center_y.

double RawTowerGeomv3::get_center_x ( ) const
inlineoverridevirtual

Reimplemented from RawTowerGeom.

Definition at line 64 of file RawTowerGeomv3.h.

View newest version in sPHENIX GitHub at line 64 of file RawTowerGeomv3.h

References _center_x.

Referenced by identify().

+ Here is the caller graph for this function:

double RawTowerGeomv3::get_center_y ( ) const
inlineoverridevirtual

Reimplemented from RawTowerGeom.

Definition at line 65 of file RawTowerGeomv3.h.

View newest version in sPHENIX GitHub at line 65 of file RawTowerGeomv3.h

References _center_y.

Referenced by identify().

+ Here is the caller graph for this function:

double RawTowerGeomv3::get_center_z ( ) const
inlineoverridevirtual

Reimplemented from RawTowerGeom.

Definition at line 66 of file RawTowerGeomv3.h.

View newest version in sPHENIX GitHub at line 66 of file RawTowerGeomv3.h

References _center_z.

Referenced by identify().

+ Here is the caller graph for this function:

int RawTowerGeomv3::get_column ( ) const
inlineoverridevirtual

Reimplemented from RawTowerGeom.

Definition at line 26 of file RawTowerGeomv3.h.

View newest version in sPHENIX GitHub at line 26 of file RawTowerGeomv3.h

References get_bineta().

+ Here is the call graph for this function:

double RawTowerGeomv3::get_eta ( ) const
overridevirtual

Reimplemented from RawTowerGeom.

Definition at line 24 of file RawTowerGeomv3.cc.

View newest version in sPHENIX GitHub at line 24 of file RawTowerGeomv3.cc

References Acts::VectorHelpers::eta(), get_theta(), and theta().

+ Here is the call graph for this function:

RawTowerDefs::keytype RawTowerGeomv3::get_id ( ) const
inlineoverridevirtual

Reimplemented from RawTowerGeom.

Definition at line 21 of file RawTowerGeomv3.h.

View newest version in sPHENIX GitHub at line 21 of file RawTowerGeomv3.h

References _towerid.

double RawTowerGeomv3::get_phi ( ) const
overridevirtual

Reimplemented from RawTowerGeom.

Definition at line 31 of file RawTowerGeomv3.cc.

View newest version in sPHENIX GitHub at line 31 of file RawTowerGeomv3.cc

References _center_x, and _center_y.

int RawTowerGeomv3::get_row ( ) const
inlineoverridevirtual

Reimplemented from RawTowerGeom.

Definition at line 27 of file RawTowerGeomv3.h.

View newest version in sPHENIX GitHub at line 27 of file RawTowerGeomv3.h

References get_binphi().

+ Here is the call graph for this function:

double RawTowerGeomv3::get_size_x ( ) const
inlineoverridevirtual

Reimplemented from RawTowerGeom.

Definition at line 68 of file RawTowerGeomv3.h.

View newest version in sPHENIX GitHub at line 68 of file RawTowerGeomv3.h

References _size_x.

Referenced by identify().

+ Here is the caller graph for this function:

double RawTowerGeomv3::get_size_y ( ) const
inlineoverridevirtual

Reimplemented from RawTowerGeom.

Definition at line 69 of file RawTowerGeomv3.h.

View newest version in sPHENIX GitHub at line 69 of file RawTowerGeomv3.h

References _size_y.

Referenced by identify().

+ Here is the caller graph for this function:

double RawTowerGeomv3::get_size_z ( ) const
inlineoverridevirtual

Reimplemented from RawTowerGeom.

Definition at line 70 of file RawTowerGeomv3.h.

View newest version in sPHENIX GitHub at line 70 of file RawTowerGeomv3.h

References _size_z.

Referenced by identify().

+ Here is the caller graph for this function:

double RawTowerGeomv3::get_theta ( ) const
overridevirtual

Reimplemented from RawTowerGeom.

Definition at line 17 of file RawTowerGeomv3.cc.

View newest version in sPHENIX GitHub at line 17 of file RawTowerGeomv3.cc

References _center_x, _center_y, _center_z, G4BECAL::radius, and theta().

Referenced by get_eta().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int RawTowerGeomv3::get_tower_type ( ) const
inlineoverridevirtual

Reimplemented from RawTowerGeom.

Definition at line 79 of file RawTowerGeomv3.h.

View newest version in sPHENIX GitHub at line 79 of file RawTowerGeomv3.h

References _tower_type.

double RawTowerGeomv3::get_volume ( ) const
inlineoverridevirtual

Reimplemented from RawTowerGeom.

Definition at line 71 of file RawTowerGeomv3.h.

View newest version in sPHENIX GitHub at line 71 of file RawTowerGeomv3.h

References _size_x, _size_y, and _size_z.

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

identify Function from PHObject

Parameters
osOutput Stream

Reimplemented from RawTowerGeom.

Definition at line 64 of file RawTowerGeomv3.cc.

View newest version in sPHENIX GitHub at line 64 of file RawTowerGeomv3.cc

References _tower_type, get_center_x(), get_center_y(), get_center_z(), get_size_x(), get_size_y(), and get_size_z().

+ Here is the call graph for this function:

void RawTowerGeomv3::set_center_x ( double  x)
inlineoverridevirtual

Reimplemented from RawTowerGeom.

Definition at line 32 of file RawTowerGeomv3.h.

View newest version in sPHENIX GitHub at line 32 of file RawTowerGeomv3.h

References _center_x, and x.

void RawTowerGeomv3::set_center_y ( double  y)
inlineoverridevirtual

Reimplemented from RawTowerGeom.

Definition at line 37 of file RawTowerGeomv3.h.

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

References _center_y, and y.

void RawTowerGeomv3::set_center_z ( double  z)
inlineoverridevirtual

Reimplemented from RawTowerGeom.

Definition at line 42 of file RawTowerGeomv3.h.

View newest version in sPHENIX GitHub at line 42 of file RawTowerGeomv3.h

References _center_z, and z.

void RawTowerGeomv3::set_id ( RawTowerDefs::keytype  key)
inlineoverridevirtual

Reimplemented from RawTowerGeom.

Definition at line 20 of file RawTowerGeomv3.h.

View newest version in sPHENIX GitHub at line 20 of file RawTowerGeomv3.h

References _towerid.

void RawTowerGeomv3::set_size_x ( double  dx)
inlineoverridevirtual

Reimplemented from RawTowerGeom.

Definition at line 48 of file RawTowerGeomv3.h.

View newest version in sPHENIX GitHub at line 48 of file RawTowerGeomv3.h

References _size_x, and dx.

void RawTowerGeomv3::set_size_y ( double  dy)
inlineoverridevirtual

Reimplemented from RawTowerGeom.

Definition at line 53 of file RawTowerGeomv3.h.

View newest version in sPHENIX GitHub at line 53 of file RawTowerGeomv3.h

References _size_y, and dy.

void RawTowerGeomv3::set_size_z ( double  dz)
inlineoverridevirtual

Reimplemented from RawTowerGeom.

Definition at line 58 of file RawTowerGeomv3.h.

View newest version in sPHENIX GitHub at line 58 of file RawTowerGeomv3.h

References _size_z, and dz.

void RawTowerGeomv3::set_tower_type ( int  tt)
inlineoverridevirtual

Reimplemented from RawTowerGeom.

Definition at line 78 of file RawTowerGeomv3.h.

View newest version in sPHENIX GitHub at line 78 of file RawTowerGeomv3.h

References _tower_type.

Member Data Documentation

double RawTowerGeomv3::_center_x = NAN
protected

Definition at line 84 of file RawTowerGeomv3.h.

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

Referenced by get_center_radius(), get_center_x(), get_phi(), get_theta(), and set_center_x().

double RawTowerGeomv3::_center_y = NAN
protected

Definition at line 85 of file RawTowerGeomv3.h.

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

Referenced by get_center_radius(), get_center_y(), get_phi(), get_theta(), and set_center_y().

double RawTowerGeomv3::_center_z = NAN
protected

Definition at line 86 of file RawTowerGeomv3.h.

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

Referenced by get_center_z(), get_theta(), and set_center_z().

double RawTowerGeomv3::_size_x = NAN
protected

Definition at line 88 of file RawTowerGeomv3.h.

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

Referenced by get_size_x(), get_volume(), and set_size_x().

double RawTowerGeomv3::_size_y = NAN
protected

Definition at line 89 of file RawTowerGeomv3.h.

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

Referenced by get_size_y(), get_volume(), and set_size_y().

double RawTowerGeomv3::_size_z = NAN
protected

Definition at line 90 of file RawTowerGeomv3.h.

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

Referenced by get_size_z(), get_volume(), and set_size_z().

int RawTowerGeomv3::_tower_type = -1
protected

Definition at line 92 of file RawTowerGeomv3.h.

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

Referenced by get_tower_type(), identify(), and set_tower_type().

RawTowerDefs::keytype RawTowerGeomv3::_towerid = ~0
protected

Definition at line 82 of file RawTowerGeomv3.h.

View newest version in sPHENIX GitHub at line 82 of file RawTowerGeomv3.h

Referenced by get_bineta(), get_binl(), get_binphi(), get_id(), and set_id().


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