  | 
  
    ATLAS Offline Software
    
   | 
 
 
 
 
Go to the documentation of this file.
    6 #ifndef REGSELECTORMAP_H 
    7 #define REGSELECTORMAP_H 
   16 #include "GaudiKernel/StatusCode.h" 
   56   const std::vector<IdentifierHash>& 
hashIdOut(
void) 
const;
 
   57   const std::vector<uint32_t>&        
robIdOut(
void) 
const;
 
   61   const std::vector<double>&  
etaMinOut(
void) 
const;
 
   62   const std::vector<double>&  
etaMaxOut(
void) 
const;
 
   63   const std::vector<double>&  
phiMinOut(
void) 
const;
 
   64   const std::vector<double>&  
phiMaxOut(
void) 
const;
 
   69                     double etaminIn, 
double etamaxIn,
 
   70                     double phiminIn, 
double phimaxIn,
 
   71                     std::vector<uint32_t>& 
outList ) 
const;
 
   74                 double phiminIn, 
double phimaxIn, 
 
   75                     std::vector<uint32_t>& 
outList ) 
const;
 
   78                     double etaminIn, 
double etamaxIn, 
 
   79                     double phiminIn, 
double phimaxIn, 
 
   80                     std::vector<uint32_t>& 
outList ) 
const;
 
   86                double etaminIn, 
double etamaxIn, 
 
   87                double phiminIn, 
double phimaxIn, 
 
   88                std::vector<IdentifierHash>& 
outList) 
const;
 
   91                double etaminIn, 
double etamaxIn, 
 
   92                        double phiminIn, 
double phimaxIn, 
 
   93                std::vector<IdentifierHash>& 
outList ) 
const;
 
   96                double etaminIn, 
double etamaxIn, 
 
   97                        double phiminIn, 
double phimaxIn, 
 
   98                std::vector<IdentifierHash>& 
outList ) 
const;
 
  105                  double &phiminIn, 
double &phimaxIn ) 
const;
 
  108                double &phiminIn, 
double &phimaxIn ) 
const;
 
  111                   double &phiminIn, 
double &phimaxIn ) 
const;
 
  114              double phiminIn, 
double phimaxIn,
 
  115              const std::vector<IdentifierHash>& outputIdlist ) 
const;
 
  119           double *phiMin, 
double *phiMax ) 
const;
 
  123   void findPosition( 
TYPEID typeinID, 
bool posORneg, std::list<RegSelectorMapElement>::const_iterator& 
it ) 
const;
 
  125   void findPosition( 
long layNumber, 
bool posORneg, std::list<RegSelectorMapElement>::const_iterator& 
it ) 
const;
 
  130                      double& etaminIn, 
double& etamaxIn,
 
  133   void insertList( std::list<RegSelectorMapElement> &dataList, 
 
  134            int positionIn, 
int numberIn,
 
  135            double etaminIn, 
double etamaxIn, 
 
  136            double phiminIn, 
double phimaxIn,
 
  140   void insertDataElement(
int& positionIn, 
int& numberIn, 
double& etaminIn, 
double& etamaxIn,
 
  144          double pmin, 
double pmax);
 
  
double phimaxValue(void) const
 
StatusCode read(const char *filename, DETID type)
 
double phiminValue(void) const
 
void writeLine(int barORend, int layORdsk, IdentifierHash hashId, uint32_t robId, double emin, double emax, double pmin, double pmax)
 
double etaminValue(void) const
the rest of the class starts here
 
void insertList(std::list< RegSelectorMapElement > &dataList, int positionIn, int numberIn, double etaminIn, double etamaxIn, double phiminIn, double phimaxIn, IdentifierHash hashIdIn, uint32_t &robIdIn)
 
double etamaxValue(void) const
 
const std::vector< IdentifierHash > & hashIdOut(void) const
 
void getEtaPhi(IdentifierHash hashId, double *etaMin, double *etaMax, double *phiMin, double *phiMax) const
 
std::vector< int > m_barORend
 
std::list< RegSelectorMapElement > m_posdataList
 
StatusCode verifyInputsMinusPi(double &etaminIn, double &etamaxIn, double &phiminIn, double &phimaxIn) const
 
std::vector< int > m_layORdsk
 
DETID
An enum to define subdetector names.
 
void addLut(const RegionSelectorLUT *detLut)
 
virtual void HashIDList_internal(const IRoiDescriptor &roi, std::vector< IdentifierHash > &idlist) const
internal lookup table access for full interface ...
 
const std::vector< int > & layORdskOut(void) const
 
const std::vector< double > & etaMinOut(void) const
 
RegSelectorMapElement creatingElement(int &positionIn, int &numberIn, double &etaminIn, double &etamaxIn, double &phiminIn, double &phimaxIn, IdentifierHash &hashIdIn, uint32_t &robId)
 
const std::vector< int > & barORendOut(void) const
 
::StatusCode StatusCode
StatusCode definition for legacy code.
 
Describes the API of the Region of Ineterest geometry.
 
virtual void ROBIDList_internal(const IRoiDescriptor &roi, std::vector< uint32_t > &roblist) const
Rob identifier methods.
 
const std::vector< double > & phiMinOut(void) const
 
virtual ~RegSelectorMap() override=default
 
virtual void ROBIDList(const IRoiDescriptor &roi, std::vector< uint32_t > &roblist) const override
Rob identifier methods.
 
TYPEID
An enum to define Muon chambers names.
 
#define TYPE(CODE, TYP, IOTYP)
 
void regionSelector(DETID TYPE, double etaminIn, double etamaxIn, double phiminIn, double phimaxIn, std::vector< IdentifierHash > &outList) const
 
std::vector< double > m_etamin
 
void verifyInputsInternal(double &etaminIn, double &etamaxIn, double &phiminIn, double &phimaxIn) const
 
const std::vector< double > & phiMaxOut(void) const
 
void insertDataElement(int &positionIn, int &numberIn, double &etaminIn, double &etamaxIn, double &phiminIn, double &phimaxIn, IdentifierHash &hashIdIn, uint32_t &robIdIn)
 
std::list< RegSelectorMapElement > m_barreldataList
 
std::vector< double > m_etamax
 
std::vector< double > m_phimin
 
const std::vector< double > & etaMaxOut(void) const
 
void verifyOutput(double etaminIn, double etamaxIn, double phiminIn, double phimaxIn, const std::vector< IdentifierHash > &outputIdlist) const
 
void findPosition(TYPEID typeinID, bool posORneg, std::list< RegSelectorMapElement >::const_iterator &it) const
 
std::vector< uint32_t > m_robId
 
virtual void HashIDList(const IRoiDescriptor &roi, std::vector< IdentifierHash > &idlist) const override
implementation of the IRegSelUT interface - intentionally inlined
 
void findMaxMinValues(std::list< RegSelectorMapElement > &dataList)
 
void addLut(const RegionSelectorLUT &detLut)
 
std::list< RegSelectorMapElement > m_negdataList
 
void summaryDataFile(std::list< RegSelectorMapElement > &dataList)
 
const std::vector< uint32_t > & robIdOut(void) const
 
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
 
StatusCode readTILE(const char *filename)
 
void regionSelectorRobIdUint(DETID TYPE, double etaminIn, double etamaxIn, double phiminIn, double phimaxIn, std::vector< uint32_t > &outList) const
 
std::vector< IdentifierHash > m_hashId
 
std::vector< double > m_phimax
 
StatusCode verifyInputs(double &etaminIn, double &etamaxIn, double &phiminIn, double &phimaxIn) const
 
void mountDataStruct(void)