|
ATLAS Offline Software
|
Go to the documentation of this file.
25 float eta = this->eta();
float phi = this->
phi();
26 int posneg = (eta >= 0 ? 1 : -1);
27 int towereta = std::abs(eta+0.025)/0.1;
30 unsigned int tower_id = towerphi + 64*towereta;
33 tower_id += (posneg > 0 ? 200000 : 100000);
35 else if (towereta == 14) {
36 tower_id += (posneg > 0 ? 400000 : 300000);
39 tower_id += (posneg > 0 ? 600000 : 500000);
54 const std::vector<uint16_t>& Et_count,
70 int etaIndex =
int( (
eta()+0.025)*10 ) + (((
eta()+0.025)<0) ? -1 : 1);
71 int phiIndex =
int( (
phi()+0.025)*32./ROOT::Math::Pi() ) + ((
phi()+0.025)<0 ? 63 : 0);
73 int fpgaIndex = (
fpga() > 3 ) ? 9 :
fpga();
74 return (std::abs(etaIndex)*100000 +
phiIndex*1000 + modIndex*10 +fpgaIndex)*(etaIndex<0 ? -1 : 1);
78 if(
idx>11)
return true;
83 if ( std::abs(
eta)>1.8 &&
idx==0 )
return true;
84 if ( std::abs(
eta)>2.4 &&
idx>0 &&
idx<5 )
return idx!=4;
86 if (
mod>23)
return false;
94 double module_central_eta = 1.6*(
mod%3-1);
96 if( std::abs(
eta)<2.4 &&
105 double fpga_central_eta = module_central_eta + 0.4*(
int(
fpga())-2) + 0.2;
106 if ( std::abs(fpga_central_eta -
eta) > 0.3 )
return true;
AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(BTagging_v1, float, IP2D_pb, setIP2D_pb) AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(BTagging_v1
Class describing input data of a LVL1 eFEX.
uint8_t module() const
setter for the above
#define AUXSTORE_OBJECT_MOVE(CL, TYPE, NAME, SETTER)
Macro creating a move accessor for complex auxiliary properties.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
float phi() const
setter for the above
Amg::RotationMatrix3D setPhi(Amg::RotationMatrix3D mat, double angle, int convention=0)
float eta() const
The pseudorapidity ( )
void setModule(uint8_t)
getter for the module number [0-23] inclusive
bool disconnectedCount(size_t idx) const
setter for the above
void initialize(const float Eta, const float Phi)
getter for the etower simulation ID
uint8_t fpga() const
setter for the above
void setPhi(float)
getter for the global phi value (float)
void setEm_status(uint32_t)
getter for the electromagnetic status bit
std::vector< std::string > remainder(const std::vector< std::string > &v1, const std::vector< std::string > &v2)
list of entries in a vector that are not in another
unsigned int phiIndex(float phi, float binsize)
calculate phi index for a given phi
void setFpga(uint8_t)
getter for the fpga number [0-3] inclusive
void setHad_status(uint32_t)
getter for hadronic status bit
int32_t id() const
setter for the above
void setEt_count(const std::vector< uint16_t > &)
getter for the 11 energy counts
AUXSTORE_OBJECT_SETTER_AND_GETTER(CaloRings_v1, RingSetLinks, ringSetLinks, setRingSetLinks) unsigned CaloRings_v1
void setEta(float)
getter for the global eta value (float)