Class to store TileMuId quantities.
More...
#include <TileMu.h>
|
| | TileMu () |
| | Constructor.
|
| | TileMu (float eta, float phi, const std::vector< float > &ener, float qual) |
| | Constructor.
|
| void | Set (float eta, float phi, const std::vector< float > &ener, float qual) |
| float | eta () const |
| | Eta (computed as the average of the eta values of the TileCal cells where the muon goes through)
|
| float | phi () const |
| | Phi (average value at the TileCal radius)
|
| const std::vector< float > & | enedep () const |
| | Energy deposition by the muons in TileCal: 1st component: energy deposited in innermost layer (A cells), 2nd component: energy deposited in central layer (BC cells), 3rd component: energy deposited in outermost layer (D cells), 4th component: energy deposited in the surrounding cells.
|
| float | quality () const |
| | Quality flag (0 or 1): set to 0 if the "energy deposition path" is MIP like in all three samples (tight muon), set to 1 if the "energy deposition path" is MIP like in two samples and a larger energy deposition is found in the remaining cell (loose muon)
|
| std::string | whoami (void) const |
| | Return identification.
|
| void | print (void) const |
| | Printing for debugging.
|
| | operator std::string () const |
| | Convertion operator to a std::string, can be used in a cast operation : (std::string) TileMu.
|
Class to store TileMuId quantities.
- Author
- G. Usai (giuli.nosp@m.o.us.nosp@m.ai@ce.nosp@m.rn.c.nosp@m.h)
Definition at line 25 of file TileMu.h.
◆ TileMu() [1/2]
Constructor.
Definition at line 30 of file TileMu.h.
34 {}
float m_quality_factor
Quality flag for tight and loose muon selection.
◆ TileMu() [2/2]
| TileMu::TileMu |
( |
float | eta, |
|
|
float | phi, |
|
|
const std::vector< float > & | ener, |
|
|
float | qual ) |
Constructor.
Definition at line 16 of file TileMu.cxx.
21{
22}
std::vector< float > m_energy_deposited
Energy deposited by the muons in TileCal.
float eta() const
Eta (computed as the average of the eta values of the TileCal cells where the muon goes through)
float phi() const
Phi (average value at the TileCal radius)
◆ enedep()
| const std::vector< float > & TileMu::enedep |
( |
| ) |
const |
|
inline |
Energy deposition by the muons in TileCal: 1st component: energy deposited in innermost layer (A cells), 2nd component: energy deposited in central layer (BC cells), 3rd component: energy deposited in outermost layer (D cells), 4th component: energy deposited in the surrounding cells.
Definition at line 54 of file TileMu.h.
◆ eta()
| float TileMu::eta |
( |
| ) |
const |
|
inline |
Eta (computed as the average of the eta values of the TileCal cells where the muon goes through)
Definition at line 43 of file TileMu.h.
◆ operator std::string()
| TileMu::operator std::string |
( |
| ) |
const |
Convertion operator to a std::string, can be used in a cast operation : (std::string) TileMu.
Definition at line 37 of file TileMu.cxx.
38{
39 std::ostringstream
text(std::ostringstream::out);
40
47
49}
std::string whoami(void) const
Return identification.
◆ phi()
| float TileMu::phi |
( |
| ) |
const |
|
inline |
◆ print()
| void TileMu::print |
( |
void | | ) |
const |
Printing for debugging.
Definition at line 32 of file TileMu.cxx.
33{
34 std::cout << (std::string) (*this) << std::endl;
35}
◆ quality()
| float TileMu::quality |
( |
| ) |
const |
|
inline |
Quality flag (0 or 1): set to 0 if the "energy deposition path" is MIP like in all three samples (tight muon), set to 1 if the "energy deposition path" is MIP like in two samples and a larger energy deposition is found in the remaining cell (loose muon)
Definition at line 60 of file TileMu.h.
◆ Set()
| void TileMu::Set |
( |
float | eta, |
|
|
float | phi, |
|
|
const std::vector< float > & | ener, |
|
|
float | qual ) |
◆ whoami()
| std::string TileMu::whoami |
( |
void | | ) |
const |
|
inline |
Return identification.
Definition at line 63 of file TileMu.h.
◆ m_energy_deposited
| std::vector<float> TileMu::m_energy_deposited |
|
private |
◆ m_eta
◆ m_phi
◆ m_quality_factor
| float TileMu::m_quality_factor |
|
private |
Quality flag for tight and loose muon selection.
Definition at line 84 of file TileMu.h.
The documentation for this class was generated from the following files: