Skip to content
Snippets Groups Projects

code cleaning and mapping tool update

Merged Chiao-Ying Lin requested to merge cylin/athena:21.3 into 21.3
Files
10
@@ -47,12 +47,12 @@ public:
Return a vector of offline Identifiers (corresponding helpers =
LArEM_ID, LArHEC_ID, LArFCAL_ID) for a TT-layer offline id (helper=CaloLVL1_ID)
*/
const std::vector<Identifier>& createCellIDvec(const Identifier& id) const ;
const std::vector<Identifier>& createCellIDvec(const int& id) const ;
/**
return the offline id (CaloLVL1_ID) of the TT to which a cell (CaloCell_ID) belongs
*/
Identifier whichTTID(const Identifier & id) const;
Identifier whichTTID(const int & id) const;
/** return the persistified map */
LArTTCell_P* getP() ;
@@ -60,20 +60,26 @@ public:
/** initialize from POOL */
void set( const LArTTCell_P& t ) ;
private:
/* Offline TT Identifier to Offline cell Identifier vector */
/* Offline TT Identifier to Offline cell Identifier vector*/
/*public, or another vector shall be contructed when buidling information into database*/
std::vector<Identifier> m_cell2ttIdVec;
std::vector<std::vector<Identifier>> m_tt2cellIdVec;
//private:
void convert_to_P(const LArTTCell &t) ; // from NOVA to POOL
void convert_to_D(const LArTTCell_P &t, LArTTCell& d) ; // POOL to NOVA
/* Offline TT Identifier to Offline cell Identifier mapping */
std::map<Identifier,Identifier> m_cell2ttIdMap;
std::map<Identifier,std::vector<Identifier> > m_tt2cellIdMap ;
// std::map<HWIdentifier,Identifier> m_on2offIdMap;
LArTTCell_P m_persData;
MsgStream* m_msg ;
MsgStream* m_msg ;
private:
};
#include "CLIDSvc/CLASS_DEF.h"
Loading