6 const unsigned int cri,
const unsigned int ver,
const float etot):
8 m_mdcData(0),m_tofData(0),m_emcData(0),m_mucData(0),m_conData(0){
13 m_mdcData(0),m_tofData(0),m_emcData(0),m_mucData(0),m_conData(0){
21 m_mdcData(0),m_tofData(0),m_emcData(0),m_mucData(0),m_conData(0){
31 vector<uint32_t>::iterator
iter;
35 iter = m_mdcData.begin();
36 size = m_mdcData.size();
39 iter = m_tofData.begin();
40 size = m_tofData.size();
43 iter = m_emcData.begin();
44 size = m_emcData.size();
47 iter = m_mucData.begin();
48 size = m_mucData.size();
51 iter = m_conData.begin();
52 size = m_conData.size();
73 else return m_conData;
82 vector<uint32_t>::iterator
iter;
86 iter = m_mdcData.begin();
87 size = m_mdcData.size();
90 iter = m_tofData.begin();
91 size = m_tofData.size();
94 iter = m_emcData.begin();
95 size = m_emcData.size();
98 iter = m_mucData.begin();
99 size = m_mucData.size();
102 iter = m_conData.begin();
103 size = m_conData.size();
110 *address = *(
iter+sub);
120 std::cout <<
"MDC data:" << dec << m_mdcData.size() << std::endl;
121 for(uint32_t i=0;i<m_mdcData.size();i++){
122 std::cout <<
" #"<<i<<
"# ";
123 std::cout << *((
int*)&m_mdcData[i]) <<
"(" << *((
float*)&m_mdcData[i]) <<
")";
124 if(i==m_mdcData.size()-1) std::cout << std::endl;
126 std::cout <<
"TOF data:" << m_tofData.size() << std::endl;
127 for(uint32_t i=0;i<m_tofData.size();i++){
128 std::cout <<
" #"<<i<<
"# ";
129 std::cout << *((
int*)&m_tofData[i]) <<
"(" << *((
float*)&m_tofData[i]) <<
")";
130 if(i==m_tofData.size()-1) std::cout << std::endl;
132 std::cout <<
"EMC data:" << m_emcData.size() << std::endl;
133 for(uint32_t i=0;i<m_emcData.size();i++){
134 std::cout <<
" #"<<i<<
"# ";
135 std::cout << *((
int*)&m_emcData[i]) <<
"(" << *((
float*)&m_emcData[i]) <<
")";
136 if(i==m_emcData.size()-1) std::cout << std::endl;
138 std::cout <<
"MUC data:" << m_mucData.size() << std::endl;
139 for(uint32_t i=0;i<m_mucData.size();i++){
140 std::cout <<
" #"<<i<<
"# ";
141 std::cout << *((
int*)&m_mucData[i]) <<
"(" << *((
float*)&m_mucData[i]) <<
")";
142 if(i==m_mucData.size()-1) std::cout << std::endl;
144 std::cout <<
"CON data:" << m_conData.size() << std::endl;
145 for(uint32_t i=0;i<m_conData.size();i++){
146 std::cout <<
" #"<<i<<
"# ";
147 std::cout << *((
int*)&m_conData[i]);
148 if(i==m_conData.size()-1) std::cout << std::endl;
154 os<<
"-----HltInf-----:"<<endl;
ostream & operator<<(ostream &os, const HltInf &aHlt)
float getTotalEnergy() const
uint32_t getCriteriaTable() const
uint32_t getVersion() const
uint32_t getEventType() const
uint32_t getAlgProcess() const
DstHltInf & operator=(const DstHltInf &)
static bool is_tof_inf(const Identifier &id)
static bool is_con_inf(const Identifier &id)
static Identifier data_type_id(const unsigned int detector, const unsigned int id_in_sub=0)
For a single data.
static bool is_muc_inf(const Identifier &id)
static bool is_emc_inf(const Identifier &id)
static bool is_mdc_inf(const Identifier &id)
static unsigned int id_sub(const Identifier &id)
virtual bool setData(const Identifier &id, float data)
virtual void print() const
virtual bool getData(const Identifier &, uint32_t *)
HltInf & operator=(const DstHltInf &aHlt)
std::vector< uint32_t > & getDataVec(const Identifier &)