5#ifndef GLOBALSIM_GLOBALLARCELL_H
6#define GLOBALSIM_GLOBALLARCELL_H
10#include <boost/dynamic_bitset.hpp>
23 const std::string & FEB2,
34 void setEnergy (
float energy, boost::dynamic_bitset<>&& energy_bitset);
44 void setMUX(std::string muxname);
46 void setLASP(std::string laspname);
57 uint32_t
getID ()
const;
71 const std::string&
getFEB2 ()
const;
73 const std::string&
getMUX()
const;
75 const std::string&
getLASP()
const;
145 const std::string & FEB2,
std::vector< Identifier > ID
boost::dynamic_bitset m_energy_bitset
string of the bitstream encding the transverse energy (in MeV)
void setEnergy(float energy)
copy & move c'tor, assignment, and destructor are automatically generated
void setSampling(int sampling)
set sampling of cell
float m_phi
phi position of this cell
int getLayer() const
get the layer of the cell
const std::string & getConnector() const
get the connector of the FEB2 this cell is associated with
int getChannel() const
get the channel of this cell on its associated FEB2
GlobalLArCell()
default constructor
const boost::dynamic_bitset & getEnergyBitstring() const
get the energy bitstring
int m_connectorNumber
connector number of associated FEB2
std::string m_feb2
name of the FEB2 through which this cell is read out
std::string m_connector
connector of associated FEB2
float eta() const
get the eta position of the cell
int getSampling() const
get the sampling of the cell
float getEnergy() const
get transverse energy in MeV
void setBoardConnector(std::string connector, std::string type, int number, int fiber)
set properties of associated board connector
uint32_t m_id
identifier of this cell
std::string m_connectorType
type of connector of associated FEB2
void setMUX(std::string muxname)
set name of associated MUX
void setSigma(float sigma)
set significancy of energy deposit
int m_fiber
fiber number of associated FEB2
float m_eta
eta position of this cell
float m_sigma
significance of energy deposit (transverse energy divided by total expected noise)
float m_energy
transverse energy (in MeV)
std::string m_lasp
name of associated LASP
const std::string & getMUX() const
get the name of the MUX this cell is associated with
int m_channel
channel number of this cell on its associated FEB2
void setLASP(std::string laspname)
set name of associated LASP
const std::string & getConnectorType() const
get the type of connector of the FEB2 this cell is associated with
void setLayer(int layer)
set layer of cell
int m_sampling
sampling of this cell
std::string m_mux
name of associated MUX
float getSigma() const
get the significance of the energy deposit of this cell
int m_layer
layer of this cell
const std::string & getFEB2() const
get the name of the FEB2 this cell is associated with
float phi() const
get the phi position of the cell
const std::string & getLASP() const
get the name of the LASP this cell is associated with
uint32_t getID() const
get the short identifier of the cell
void setPosition(float eta, float phi)
set position of cell in eta-phi space
AlgTool that to test whether expected the TIP values generated by data supplied by eEmMultTestBench c...
std::string number(const double &d, const std::string &s)