Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MvtxRawHitv1.cc
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file MvtxRawHitv1.cc
1 #include "MvtxRawHitv1.h"
2 
4 {
5  set_bco(mvtxhit->get_bco());
6  set_strobe_bc(mvtxhit->get_strobe_bc());
7  set_chip_bc(mvtxhit->get_chip_bc());
8  set_layer_id(mvtxhit->get_layer_id());
9  set_stave_id(mvtxhit->get_stave_id());
10  set_chip_id(mvtxhit->get_chip_id());
11  set_row(mvtxhit->get_row());
12  set_col(mvtxhit->get_col());
13 }
14 
15 void MvtxRawHitv1::identify(std::ostream &os) const
16 {
17  os << "BCO: 0x" << std::hex << bco << std::dec << std::endl;
18  os << "Strobe BC: " << strobe_bc << ", Chip BC: " << chip_bc << std::endl;
19  os << "Layer: " << (unsigned) layer_id << ", stave: " << (unsigned) stave_id << ", chip: " << (unsigned) chip_id << std::endl;
20  os << "Row: " << row << ", column: " << col << std::endl;
21 }