Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please consider the following formatting changes to #11944 #32

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions DataFormats/Detectors/CTP/include/DataFormatsCTP/Scalers.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ struct CTPScalerRecordRaw {
o2::InteractionRecord intRecord;
double_t epochTime;
std::vector<CTPScalerRaw> scalers;
//std::vector<uint32_t> scalersDets;
// std::vector<uint32_t> scalersDets;
std::vector<uint32_t> scalersInps;
void printStream(std::ostream& stream) const;
ClassDefNV(CTPScalerRecordRaw, 3);
Expand All @@ -77,7 +77,7 @@ struct CTPScalerRecordO2 {
o2::InteractionRecord intRecord;
double_t epochTime;
std::vector<CTPScalerO2> scalers;
//std::vector<uint64_t> scalersDets;
// std::vector<uint64_t> scalersDets;
std::vector<uint64_t> scalersInps;
void printStream(std::ostream& stream) const;
void printFromZero(std::ostream& stream, CTPScalerRecordO2& record0) const;
Expand Down
4 changes: 2 additions & 2 deletions DataFormats/Detectors/CTP/src/RunManager.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,9 @@ int CTPRunManager::addScalers(uint32_t irun, std::time_t time)
int NINPS = 48;
int offset = 599;
for (uint32_t i = 0; i < NINPS; i++) {
uint32_t inpcount = mCounters[offset+i];
uint32_t inpcount = mCounters[offset + i];
scalrec.scalersInps.push_back(inpcount);
//LOG(info) << "Scaler for input:" << CTPRunScalers::scalerNames[offset+i] << ":" << inpcount;
// LOG(info) << "Scaler for input:" << CTPRunScalers::scalerNames[offset+i] << ":" << inpcount;
}
//
if (mNew == 0) {
Expand Down