ATLAS Offline Software
|
#include <FCS_StepInfo.h>
Public Member Functions | |
FCS_StepInfo () | |
empty default constructor More... | |
FCS_StepInfo (CLHEP::Hep3Vector l_vec, Identifier l_cell, double l_energy, double l_time, bool l_valid, int l_detector) | |
void | setP (const CLHEP::Hep3Vector &p) |
set position More... | |
void | setX (const double x) |
set x position More... | |
void | setY (const double y) |
set y position More... | |
void | setZ (const double z) |
set z position More... | |
void | setValid (const bool flag) |
set depoisted energy More... | |
void | setDetector (const int det) |
set identifier More... | |
CLHEP::Hep3Vector | position () const |
return spacial position More... | |
double | x () const |
return x position More... | |
double | y () const |
return y position More... | |
double | z () const |
return z position More... | |
bool | valid () const |
return deposited energy More... | |
int | detector () const |
double | diff2 (const FCS_StepInfo &other) const |
return spactial distance squared More... | |
FCS_StepInfo & | operator+= (const FCS_StepInfo &other) |
energy weighted sum More... | |
int | add (float energy, float time) |
Add sub-hit to a given hit. More... | |
int | add (float energy, float time, float deltaT) |
Add sub-hit to a given hit with time rounding to the center of nearest deltaT bin. More... | |
int | add (const TileHit *hitInp, float deltaT) |
Addi all sub-hits from another hit to a given hit. More... | |
void | scale (float coeff) |
Scale energy of all sub-hits in a hit More... | |
void | addEnergy (float e) |
Add energy to the first sub-hit in a hit More... | |
void | setEnergy (float e, int ind=0) |
Set energy of ind-th sub-hit in a hit More... | |
void | setTime (float t, int ind=0) |
Set time of ind-th sub-hit in a hit More... | |
void | resize (int len) |
Resize energy and time vectors in a hit More... | |
void | reserve (int len) |
Reserve length of energy and time vectors in a hit More... | |
void | setZero () |
Resize energy/time vectors in a hit to one and set energy/time to zero More... | |
Identifier | identify (void) const |
Return logical ID of the pmt. More... | |
Identifier | pmt_ID (void) const |
Return logical ID of the pmt. More... | |
HWIdentifier | pmt_HWID (void) const |
Return pmt hardware ID (== channel ID) More... | |
Identifier | tt_ID (void) const |
Return trigger tower ID More... | |
Identifier | mt_ID (void) const |
Return muon trigger ID More... | |
int | frag_ID (void) const |
Return frag ID (like in BS file) More... | |
float | energy (int ind=0) const |
Return energy of ind-th sub-hit More... | |
float | time (int ind=0) const |
Return time of ind-th sub-hit More... | |
int | size (void) const |
Return length of energy/time vectors More... | |
std::string | whoami (void) const |
Return name of this object More... | |
void | print (void) const |
Dump contents of the hit to std::out More... | |
operator std::string () const | |
Return contents of the hit in a form of string. More... | |
bool | msgLvl (const MSG::Level lvl) const |
Check whether the logging system is active at the provided verbosity level. More... | |
MsgStream & | msg () const |
Return a stream for sending messages directly (no decoration) More... | |
MsgStream & | msg (const MSG::Level lvl) const |
Return a decorated starting stream for sending messages. More... | |
MSG::Level | level () const |
Retrieve output level. More... | |
virtual void | setLevel (MSG::Level lvl) |
Update outputlevel. More... | |
Static Public Member Functions | |
static void | print_to_stream (const std::vector< float > &val, const std::string &label, std::ostringstream &text) |
Print contents of one vector to output stream. More... | |
static std::string | startMsg (MSG::Level lvl, const std::string &file, int line) |
Make a message to decorate the start of logging. More... | |
Private Attributes | |
CLHEP::Hep3Vector | m_pos |
spatial position More... | |
bool | m_valid |
flag, if hit is valid (if valid calculator?) More... | |
int | m_detector |
dictionary value in which detector the hit is More... | |
Identifier | m_pmt_id |
Logical ID of the pmt More... | |
std::vector< float > | m_energy |
Energy deposited in scint, as seen by pmt in sepatate time bins More... | |
std::vector< float > | m_time |
Time of the energy deposition relative to BC More... | |
std::string | m_nm |
Message source name. More... | |
Static Private Attributes | |
static boost::thread_specific_ptr< MsgStream > m_msg_tls | ATLAS_THREAD_SAFE |
Do not persistify! More... | |
Definition at line 45 of file FCS_StepInfo.h.
|
inline |
|
inline |
Definition at line 51 of file FCS_StepInfo.h.
|
inherited |
|
inherited |
Add sub-hit to a given hit with time rounding to the center of nearest deltaT bin.
Definition at line 81 of file TileHit.cxx.
|
inlineinherited |
Add energy to the first sub-hit in a hit
Definition at line 61 of file TileSimEvent/TileSimEvent/TileHit.h.
|
inline |
Definition at line 93 of file FCS_StepInfo.h.
double ISF_FCS_Parametrization::FCS_StepInfo::diff2 | ( | const FCS_StepInfo & | other | ) | const |
return spactial distance squared
Definition at line 31 of file FCS_StepInfo.cxx.
|
inlineinherited |
Return energy of ind-th sub-hit
Definition at line 90 of file TileSimEvent/TileSimEvent/TileHit.h.
|
inherited |
Return frag ID (like in BS file)
Definition at line 137 of file TileHit.cxx.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Return a stream for sending messages directly (no decoration)
Definition at line 231 of file MLogging.h.
|
inlineinherited |
Return a decorated starting stream for sending messages.
Definition at line 240 of file MLogging.h.
|
inlineinherited |
Check whether the logging system is active at the provided verbosity level.
Definition at line 222 of file MLogging.h.
|
inherited |
Return muon trigger ID
Definition at line 133 of file TileHit.cxx.
|
inherited |
Return contents of the hit in a form of string.
Can be used in a cast operation : (std::string) TileHit
Definition at line 146 of file TileHit.cxx.
ISF_FCS_Parametrization::FCS_StepInfo & ISF_FCS_Parametrization::FCS_StepInfo::operator+= | ( | const FCS_StepInfo & | other | ) |
|
inherited |
Return pmt hardware ID (== channel ID)
Definition at line 125 of file TileHit.cxx.
|
inlineinherited |
|
inline |
|
inherited |
Dump contents of the hit to std::out
Definition at line 141 of file TileHit.cxx.
|
inlineinherited |
Reserve length of energy and time vectors in a hit
Definition at line 69 of file TileSimEvent/TileSimEvent/TileHit.h.
|
inlineinherited |
Resize energy and time vectors in a hit
Definition at line 67 of file TileSimEvent/TileSimEvent/TileHit.h.
|
inherited |
|
inline |
|
inlineinherited |
Set energy of ind-th sub-hit in a hit
Definition at line 63 of file TileSimEvent/TileSimEvent/TileHit.h.
|
virtualinherited |
|
inline |
|
inlineinherited |
Set time of ind-th sub-hit in a hit
Definition at line 65 of file TileSimEvent/TileSimEvent/TileHit.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineinherited |
|
inlineinherited |
Return length of energy/time vectors
Definition at line 94 of file TileSimEvent/TileSimEvent/TileHit.h.
|
staticinherited |
Make a message to decorate the start of logging.
Print a message for the start of logging.
Definition at line 116 of file MLogging.cxx.
|
inlineinherited |
Return time of ind-th sub-hit
Definition at line 92 of file TileSimEvent/TileSimEvent/TileHit.h.
|
inherited |
Return trigger tower ID
Definition at line 129 of file TileHit.cxx.
|
inline |
return deposited energy
return time of hit return validity flag
Definition at line 91 of file FCS_StepInfo.h.
|
inlineinherited |
Return name of this object
Definition at line 97 of file TileSimEvent/TileSimEvent/TileHit.h.
|
inline |
|
inline |
|
inline |
|
inlinestaticprivateinherited |
Do not persistify!
MsgStream instance (a std::cout like with print-out levels)
Definition at line 215 of file MLogging.h.
|
private |
dictionary value in which detector the hit is
Definition at line 107 of file FCS_StepInfo.h.
|
privateinherited |
Energy deposited in scint, as seen by pmt in sepatate time bins
Definition at line 114 of file TileSimEvent/TileSimEvent/TileHit.h.
|
privateinherited |
Message source name.
Definition at line 211 of file MLogging.h.
|
privateinherited |
Logical ID of the pmt
Definition at line 112 of file TileSimEvent/TileSimEvent/TileHit.h.
|
private |
spatial position
Definition at line 105 of file FCS_StepInfo.h.
|
privateinherited |
Time of the energy deposition relative to BC
Definition at line 116 of file TileSimEvent/TileSimEvent/TileHit.h.
|
private |
flag, if hit is valid (if valid calculator?)
Definition at line 106 of file FCS_StepInfo.h.