|  | ATLAS Offline Software
    | 
 
 
 
Go to the documentation of this file.
   10 #include "GaudiKernel/MsgStream.h" 
   11 #include "GaudiKernel/ServiceHandle.h" 
   59   LArTTCell::const_iterator 
it  = 
m.begin();
 
   60   LArTTCell::const_iterator it_e  = 
m.end();
 
   63   std::set<Identifier> cellIdSet;
 
   66     for (; 
it!=it_e; ++
it)      {
 
   90                        <<
" region="<<
t.region
 
   91                        <<
" sample="<<
t.sample
 
   92                        <<
" eta="<<
t.eta<<
" phi="<<
t.phi
 
   94                        <<
" trig region="<<
t.tregion
 
   95                        <<
" trig sample="<<
t.tsample
 
   96                        <<
" trig eta="<<
t.teta<<
" trig phi="<<
t.tphi
 
   97                        <<
" layer="<<
t.layer );
 
  100       if(!(cellIdSet.insert(
id)).second) {
 
  108       std::map<Identifier,std::vector<Identifier> >::const_iterator it_find = 
m_tt2cellIdMap.find(sid);
 
  117                 } 
else if(
t.layer==1) {
 
  119                 }  
else if(
t.layer==2) {
 
  121                 }  
else if(
t.layer==3) {
 
  125             } 
else if(
t.tregion==1) {
 
  127             } 
else if(
t.tregion==2) {
 
  129             } 
else if(
t.tregion==3) {
 
  133         } 
else if(
t.tsample==1) {
 
  137                 } 
else if(
t.layer==1) {
 
  165  std::map<Identifier,Identifier>::const_iterator 
it =
m_cell2ttIdMap.find(
id);
 
  181 const std::vector<Identifier>&
 
  185  std::map<Identifier,std::vector<Identifier> >::const_iterator
 
  194  static const std::vector<Identifier> 
v;
 
  212  LArTTCell::const_iterator 
it = 
d.begin();
 
  213  LArTTCell::const_iterator it_e = 
d.end();
 
  215  for ( ;
it!=it_e;++
it){
 
  221      t2.sample = 
t.sample;
 
  222      t2.region = 
t.region;
 
  227      t2.tsample = 
t.tsample;
 
  228      t2.tregion = 
t.tregion;
 
  242  std::vector<LArTTCell_P::__t>::const_iterator 
it = 
p.m_v.begin();
 
  243  std::vector<LArTTCell_P::__t>::const_iterator it_e = 
p.m_v.end();
 
  246  for ( ;
it!=it_e;++
it){
 
  252      t2.region = 
t.region;
 
  253      t2.sample = 
t.sample;
 
  258      t2.tregion = 
t.tregion;
 
  259      t2.tsample = 
t.tsample;
 
  
std::map< Identifier, std::vector< Identifier > > m_tt2cellIdMap
void set(const PDATA &t)
initialize from Nova
void convert_to_D(const LArTTCell_P &t, LArTTCell &d)
Scalar phi() const
phi method
Identifier whichTTID(const Identifier &id) const
return the offline id (CaloLVL1_ID) of the TT to which a cell (CaloCell_ID) belongs
const std::vector< Identifier > & createCellIDvec(const Identifier &id) const
Return a vector of offline Identifiers (corresponding helpers = LArEM_ID, LArHEC_ID,...
value_type get_compact() const
Get the compact id.
Helper class for LArHEC offline identifiers.
std::vector< LArTTCell_t > LArTTCell
#define ATH_MSG_VERBOSE(x)
Identifier channel_id(const ExpandedIdentifier &exp_id) const
Build a cell identifier from an expanded identifier.
Identifier layer_id(int pos_neg_z, int sampling, int region, int eta, int phi, int layer) const
build a layer identifier
const LArTTCell_P * getP() const
return the persistified map
void convert_to_P(const LArTTCell &t)
::StatusCode StatusCode
StatusCode definition for legacy code.
Identifier channel_id(const ExpandedIdentifier &exp_id) const
cell identifier for a channel from ExpandedIdentifier
Class to provide easy MsgStream access and capabilities.
This is a database object holding the offline TT-cell map.
Helper class for offline TT identifiers.
Identifier channel_id(const ExpandedIdentifier &exp_id) const
channel identifier for a channel from ExpandedIdentifier
Structure definition of the LArTTCellMap.
std::map< Identifier, Identifier > m_cell2ttIdMap
std::vector< ALFA_RawDataContainer_p1 > t2
std::string show_to_string(Identifier id, const IdContext *context=0, char sep='.') const
or provide the printout in string form
Helper class for LArEM offline identifiers.
Helper class for LArFCAL offline identifiers.
Exception class for LAr Identifiers.