68 const unsigned int globalphi,
71 const std::vector<uint16_t>& Et_count,
76 const std::vector<char>& IsjTowerSat)
103 const float eta_edge[6] = { -1.6, -0.8, 0, 0.8, 1.6, 5};
111 for(
unsigned int leta=0; leta<6; leta++){
112 if(
eta() < eta_edge[leta] ){
122 for(
unsigned int lphi=0; lphi<4; lphi++){
123 if(mphi < phi_edge[lphi] ){
130 cal_fpga = cal_fpga == 2 ? 3 : cal_fpga == 3 ? 2 : cal_fpga;
132 return (
module() == cal_jfex and
fpga() == cal_fpga);
Scalar eta() const
pseudorapidity method
#define AUXSTORE_OBJECT_MOVE(CL, TYPE, NAME, SETTER)
Macro creating a move accessor for complex auxiliary properties.
#define AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(CL, TYPE, NAME, SETTER)
Macro creating the accessors of primitive auxiliary properties.
#define AUXSTORE_OBJECT_SETTER_AND_GETTER(CL, TYPE, NAME, SETTER)
Macro creating the accessors of complex auxiliary properties.
Class describing input data of a LVL1 jFEX.
float eta() const
The pseudorapidity ( )
void setModule(uint8_t)
getter for the module number [0-5] inclusive
uint8_t fpga() const
setter for the above
void setFpga(uint8_t)
getter for the fpga number [0-3] inclusive
void initialize(const float Eta, const float Phi)
setter
void setEt_count(const std::vector< uint16_t > &)
getter for the 11 energy counts
void setPhi(float)
getter for the global phi value (float)
void setChannel(uint8_t)
getter for the channel number [0-59]
unsigned int globalPhi() const
setter for the above
uint32_t jFEXtowerID() const
setter for the above
float phi() const
setter for the above
void setglobalPhi(unsigned int)
getter for the global phi value (int)
uint8_t module() const
setter for the above
uint16_t jTowerEt() const
setter for the above
void setEta(float)
getter for the global eta value (float)
int globalEta() const
setter for the above
void setjFEXtowerID(uint32_t)
getter for the jtower simulation ID
const std::vector< uint16_t > & et_count() const
setter for the above
void setJFEXdataID(uint8_t)
getter for the location in data stream where Et is placed [0-15]
void setIsjTowerSat(const std::vector< char > &)
getter for the saturation flag of jTower
void setglobalEta(int)
getter for the global eta value (int)
void setCalosource(uint8_t)
getter for the calorimeter source
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.