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

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

+ Inheritance diagram for RawTowerGeomv1:
+ Collaboration diagram for RawTowerGeomv1:

Public Member Functions

 RawTowerGeomv1 ()
 
 RawTowerGeomv1 (RawTowerDefs::keytype id)
 
 ~RawTowerGeomv1 () 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
 
double get_center_x () const override
 
double get_center_y () const override
 
double get_center_z () const override
 
double get_center_radius () const override
 
double get_eta () const override
 
double get_phi () const override
 
double get_theta () const override
 
- Public Member Functions inherited from RawTowerGeom
 ~RawTowerGeom () override
 
virtual int get_binl () const
 
virtual void set_size_x (double)
 
virtual void set_size_y (double)
 
virtual void set_size_z (double)
 
virtual double get_size_x () const
 
virtual double get_size_y () const
 
virtual double get_size_z () const
 
virtual double get_volume () 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 = ~0
 
double _center_x = NAN
 
double _center_y = NAN
 
double _center_z = NAN
 

Additional Inherited Members

- Protected Member Functions inherited from RawTowerGeom
 RawTowerGeom ()
 

Detailed Description

Definition at line 11 of file RawTowerGeomv1.h.

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

Constructor & Destructor Documentation

RawTowerGeomv1::RawTowerGeomv1 ( )
inline

Definition at line 14 of file RawTowerGeomv1.h.

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

RawTowerGeomv1::RawTowerGeomv1 ( RawTowerDefs::keytype  id)

Definition at line 6 of file RawTowerGeomv1.cc.

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

RawTowerGeomv1::~RawTowerGeomv1 ( )
inlineoverride

Definition at line 16 of file RawTowerGeomv1.h.

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

Member Function Documentation

int RawTowerGeomv1::get_bineta ( ) const
inlineoverridevirtual

Reimplemented from RawTowerGeom.

Definition at line 23 of file RawTowerGeomv1.h.

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

References _towerid, and RawTowerDefs::decode_index1().

+ Here is the call graph for this function:

int RawTowerGeomv1::get_binphi ( ) const
inlineoverridevirtual

Reimplemented from RawTowerGeom.

Definition at line 24 of file RawTowerGeomv1.h.

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

References _towerid, and RawTowerDefs::decode_index2().

+ Here is the call graph for this function:

double RawTowerGeomv1::get_center_radius ( ) const
overridevirtual

Reimplemented from RawTowerGeom.

Definition at line 11 of file RawTowerGeomv1.cc.

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

References _center_x, and _center_y.

double RawTowerGeomv1::get_center_x ( ) const
inlineoverridevirtual

Reimplemented from RawTowerGeom.

Definition at line 44 of file RawTowerGeomv1.h.

View newest version in sPHENIX GitHub at line 44 of file RawTowerGeomv1.h

References _center_x.

Referenced by identify().

+ Here is the caller graph for this function:

double RawTowerGeomv1::get_center_y ( ) const
inlineoverridevirtual

Reimplemented from RawTowerGeom.

Definition at line 45 of file RawTowerGeomv1.h.

View newest version in sPHENIX GitHub at line 45 of file RawTowerGeomv1.h

References _center_y.

Referenced by identify().

+ Here is the caller graph for this function:

double RawTowerGeomv1::get_center_z ( ) const
inlineoverridevirtual

Reimplemented from RawTowerGeom.

Definition at line 46 of file RawTowerGeomv1.h.

View newest version in sPHENIX GitHub at line 46 of file RawTowerGeomv1.h

References _center_z.

Referenced by identify().

+ Here is the caller graph for this function:

int RawTowerGeomv1::get_column ( ) const
inlineoverridevirtual

Reimplemented from RawTowerGeom.

Definition at line 25 of file RawTowerGeomv1.h.

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

References _towerid, and RawTowerDefs::decode_index1().

+ Here is the call graph for this function:

double RawTowerGeomv1::get_eta ( ) const
overridevirtual

Reimplemented from RawTowerGeom.

Definition at line 24 of file RawTowerGeomv1.cc.

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

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

+ Here is the call graph for this function:

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

Reimplemented from RawTowerGeom.

Definition at line 21 of file RawTowerGeomv1.h.

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

References _towerid.

double RawTowerGeomv1::get_phi ( ) const
overridevirtual

Reimplemented from RawTowerGeom.

Definition at line 32 of file RawTowerGeomv1.cc.

View newest version in sPHENIX GitHub at line 32 of file RawTowerGeomv1.cc

References _center_x, and _center_y.

int RawTowerGeomv1::get_row ( ) const
inlineoverridevirtual

Reimplemented from RawTowerGeom.

Definition at line 26 of file RawTowerGeomv1.h.

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

References _towerid, and RawTowerDefs::decode_index2().

+ Here is the call graph for this function:

double RawTowerGeomv1::get_theta ( ) const
overridevirtual

Reimplemented from RawTowerGeom.

Definition at line 17 of file RawTowerGeomv1.cc.

View newest version in sPHENIX GitHub at line 17 of file RawTowerGeomv1.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:

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

identify Function from PHObject

Parameters
osOutput Stream

Reimplemented from RawTowerGeom.

Definition at line 37 of file RawTowerGeomv1.cc.

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

References get_center_x(), get_center_y(), and get_center_z().

+ Here is the call graph for this function:

void RawTowerGeomv1::set_center_x ( double  x)
inlineoverridevirtual

Reimplemented from RawTowerGeom.

Definition at line 28 of file RawTowerGeomv1.h.

View newest version in sPHENIX GitHub at line 28 of file RawTowerGeomv1.h

References _center_x, and x.

Referenced by RawTowerCombiner::CreateNodes().

+ Here is the caller graph for this function:

void RawTowerGeomv1::set_center_y ( double  y)
inlineoverridevirtual

Reimplemented from RawTowerGeom.

Definition at line 33 of file RawTowerGeomv1.h.

View newest version in sPHENIX GitHub at line 33 of file RawTowerGeomv1.h

References _center_y, and y.

Referenced by RawTowerCombiner::CreateNodes().

+ Here is the caller graph for this function:

void RawTowerGeomv1::set_center_z ( double  z)
inlineoverridevirtual

Reimplemented from RawTowerGeom.

Definition at line 38 of file RawTowerGeomv1.h.

View newest version in sPHENIX GitHub at line 38 of file RawTowerGeomv1.h

References _center_z, and z.

Referenced by RawTowerCombiner::CreateNodes().

+ Here is the caller graph for this function:

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

Reimplemented from RawTowerGeom.

Definition at line 20 of file RawTowerGeomv1.h.

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

References _towerid.

Member Data Documentation

double RawTowerGeomv1::_center_x = NAN
protected

Definition at line 56 of file RawTowerGeomv1.h.

View newest version in sPHENIX GitHub at line 56 of file RawTowerGeomv1.h

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

double RawTowerGeomv1::_center_y = NAN
protected

Definition at line 57 of file RawTowerGeomv1.h.

View newest version in sPHENIX GitHub at line 57 of file RawTowerGeomv1.h

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

double RawTowerGeomv1::_center_z = NAN
protected

Definition at line 58 of file RawTowerGeomv1.h.

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

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

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

Definition at line 54 of file RawTowerGeomv1.h.

View newest version in sPHENIX GitHub at line 54 of file RawTowerGeomv1.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: