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

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

+ Inheritance diagram for RawTowerGeomv2:
+ Collaboration diagram for RawTowerGeomv2:

Public Member Functions

 RawTowerGeomv2 ()
 
 RawTowerGeomv2 (RawTowerDefs::keytype id)
 
 ~RawTowerGeomv2 () 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
 
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
 
- Public Member Functions inherited from RawTowerGeom
 ~RawTowerGeom () override
 
virtual int get_binl () const
 
virtual double get_theta () const
 
virtual void set_tower_type (int)
 
virtual int get_tower_type () const
 
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
 
double _center_x
 
double _center_y
 
double _center_z
 
double _size_x
 
double _size_y
 
double _size_z
 

Additional Inherited Members

- Protected Member Functions inherited from RawTowerGeom
 RawTowerGeom ()
 

Detailed Description

Definition at line 10 of file RawTowerGeomv2.h.

View newest version in sPHENIX GitHub at line 10 of file RawTowerGeomv2.h

Constructor & Destructor Documentation

RawTowerGeomv2::RawTowerGeomv2 ( )

Definition at line 8 of file RawTowerGeomv2.cc.

View newest version in sPHENIX GitHub at line 8 of file RawTowerGeomv2.cc

RawTowerGeomv2::RawTowerGeomv2 ( RawTowerDefs::keytype  id)

Definition at line 18 of file RawTowerGeomv2.cc.

View newest version in sPHENIX GitHub at line 18 of file RawTowerGeomv2.cc

RawTowerGeomv2::~RawTowerGeomv2 ( )
inlineoverride

Definition at line 15 of file RawTowerGeomv2.h.

View newest version in sPHENIX GitHub at line 15 of file RawTowerGeomv2.h

Member Function Documentation

int RawTowerGeomv2::get_bineta ( ) const
inlineoverridevirtual

Reimplemented from RawTowerGeom.

Definition at line 22 of file RawTowerGeomv2.h.

View newest version in sPHENIX GitHub at line 22 of file RawTowerGeomv2.h

References _towerid, and RawTowerDefs::decode_index1().

+ Here is the call graph for this function:

int RawTowerGeomv2::get_binphi ( ) const
inlineoverridevirtual

Reimplemented from RawTowerGeom.

Definition at line 23 of file RawTowerGeomv2.h.

View newest version in sPHENIX GitHub at line 23 of file RawTowerGeomv2.h

References _towerid, and RawTowerDefs::decode_index2().

+ Here is the call graph for this function:

double RawTowerGeomv2::get_center_radius ( ) const
overridevirtual

Reimplemented from RawTowerGeom.

Definition at line 29 of file RawTowerGeomv2.cc.

View newest version in sPHENIX GitHub at line 29 of file RawTowerGeomv2.cc

References _center_x, and _center_y.

double RawTowerGeomv2::get_center_x ( ) const
inlineoverridevirtual

Reimplemented from RawTowerGeom.

Definition at line 59 of file RawTowerGeomv2.h.

View newest version in sPHENIX GitHub at line 59 of file RawTowerGeomv2.h

References _center_x.

Referenced by identify().

+ Here is the caller graph for this function:

double RawTowerGeomv2::get_center_y ( ) const
inlineoverridevirtual

Reimplemented from RawTowerGeom.

Definition at line 60 of file RawTowerGeomv2.h.

View newest version in sPHENIX GitHub at line 60 of file RawTowerGeomv2.h

References _center_y.

Referenced by identify().

+ Here is the caller graph for this function:

double RawTowerGeomv2::get_center_z ( ) const
inlineoverridevirtual

Reimplemented from RawTowerGeom.

Definition at line 61 of file RawTowerGeomv2.h.

View newest version in sPHENIX GitHub at line 61 of file RawTowerGeomv2.h

References _center_z.

Referenced by identify().

+ Here is the caller graph for this function:

int RawTowerGeomv2::get_column ( ) const
inlineoverridevirtual

Reimplemented from RawTowerGeom.

Definition at line 24 of file RawTowerGeomv2.h.

View newest version in sPHENIX GitHub at line 24 of file RawTowerGeomv2.h

References _towerid, and RawTowerDefs::decode_index1().

+ Here is the call graph for this function:

double RawTowerGeomv2::get_eta ( ) const
overridevirtual

Reimplemented from RawTowerGeom.

Definition at line 35 of file RawTowerGeomv2.cc.

View newest version in sPHENIX GitHub at line 35 of file RawTowerGeomv2.cc

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

+ Here is the call graph for this function:

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

Reimplemented from RawTowerGeom.

Definition at line 20 of file RawTowerGeomv2.h.

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

References _towerid.

double RawTowerGeomv2::get_phi ( ) const
overridevirtual

Reimplemented from RawTowerGeom.

Definition at line 47 of file RawTowerGeomv2.cc.

View newest version in sPHENIX GitHub at line 47 of file RawTowerGeomv2.cc

References _center_x, and _center_y.

int RawTowerGeomv2::get_row ( ) const
inlineoverridevirtual

Reimplemented from RawTowerGeom.

Definition at line 25 of file RawTowerGeomv2.h.

View newest version in sPHENIX GitHub at line 25 of file RawTowerGeomv2.h

References _towerid, and RawTowerDefs::decode_index2().

+ Here is the call graph for this function:

double RawTowerGeomv2::get_size_x ( ) const
inlineoverridevirtual

Reimplemented from RawTowerGeom.

Definition at line 63 of file RawTowerGeomv2.h.

View newest version in sPHENIX GitHub at line 63 of file RawTowerGeomv2.h

References _size_x.

Referenced by identify().

+ Here is the caller graph for this function:

double RawTowerGeomv2::get_size_y ( ) const
inlineoverridevirtual

Reimplemented from RawTowerGeom.

Definition at line 64 of file RawTowerGeomv2.h.

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

References _size_y.

Referenced by identify().

+ Here is the caller graph for this function:

double RawTowerGeomv2::get_size_z ( ) const
inlineoverridevirtual

Reimplemented from RawTowerGeom.

Definition at line 65 of file RawTowerGeomv2.h.

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

References _size_z.

Referenced by identify().

+ Here is the caller graph for this function:

double RawTowerGeomv2::get_volume ( ) const
inlineoverridevirtual

Reimplemented from RawTowerGeom.

Definition at line 66 of file RawTowerGeomv2.h.

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

References _size_x, _size_y, and _size_z.

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

identify Function from PHObject

Parameters
osOutput Stream

Reimplemented from RawTowerGeom.

Definition at line 52 of file RawTowerGeomv2.cc.

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

References 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 RawTowerGeomv2::set_center_x ( double  x)
inlineoverridevirtual

Reimplemented from RawTowerGeom.

Definition at line 27 of file RawTowerGeomv2.h.

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

References _center_x, and x.

void RawTowerGeomv2::set_center_y ( double  y)
inlineoverridevirtual

Reimplemented from RawTowerGeom.

Definition at line 32 of file RawTowerGeomv2.h.

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

References _center_y, and y.

void RawTowerGeomv2::set_center_z ( double  z)
inlineoverridevirtual

Reimplemented from RawTowerGeom.

Definition at line 37 of file RawTowerGeomv2.h.

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

References _center_z, and z.

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

Reimplemented from RawTowerGeom.

Definition at line 19 of file RawTowerGeomv2.h.

View newest version in sPHENIX GitHub at line 19 of file RawTowerGeomv2.h

References _towerid.

void RawTowerGeomv2::set_size_x ( double  dx)
inlineoverridevirtual

Reimplemented from RawTowerGeom.

Definition at line 43 of file RawTowerGeomv2.h.

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

References _size_x, and dx.

void RawTowerGeomv2::set_size_y ( double  dy)
inlineoverridevirtual

Reimplemented from RawTowerGeom.

Definition at line 48 of file RawTowerGeomv2.h.

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

References _size_y, and dy.

void RawTowerGeomv2::set_size_z ( double  dz)
inlineoverridevirtual

Reimplemented from RawTowerGeom.

Definition at line 53 of file RawTowerGeomv2.h.

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

References _size_z, and dz.

Member Data Documentation

double RawTowerGeomv2::_center_x
protected

Definition at line 75 of file RawTowerGeomv2.h.

View newest version in sPHENIX GitHub at line 75 of file RawTowerGeomv2.h

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

double RawTowerGeomv2::_center_y
protected

Definition at line 76 of file RawTowerGeomv2.h.

View newest version in sPHENIX GitHub at line 76 of file RawTowerGeomv2.h

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

double RawTowerGeomv2::_center_z
protected

Definition at line 77 of file RawTowerGeomv2.h.

View newest version in sPHENIX GitHub at line 77 of file RawTowerGeomv2.h

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

double RawTowerGeomv2::_size_x
protected

Definition at line 79 of file RawTowerGeomv2.h.

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

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

double RawTowerGeomv2::_size_y
protected

Definition at line 80 of file RawTowerGeomv2.h.

View newest version in sPHENIX GitHub at line 80 of file RawTowerGeomv2.h

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

double RawTowerGeomv2::_size_z
protected

Definition at line 81 of file RawTowerGeomv2.h.

View newest version in sPHENIX GitHub at line 81 of file RawTowerGeomv2.h

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

RawTowerDefs::keytype RawTowerGeomv2::_towerid
protected

Definition at line 73 of file RawTowerGeomv2.h.

View newest version in sPHENIX GitHub at line 73 of file RawTowerGeomv2.h

Referenced by get_bineta(), get_binphi(), get_column(), get_id(), get_row(), and set_id().


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