Skip to content

Commit 61cfaad

Browse files
Make comments more descriptive
1 parent 8e1cfd8 commit 61cfaad

File tree

4 files changed

+17
-16
lines changed

4 files changed

+17
-16
lines changed

DataFormats/Detectors/FIT/FDD/include/DataFormatsFDD/RecPoint.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ struct ChannelDataFloat {
3333
static constexpr double DUMMY_CFD_TIME = -20000;
3434
static constexpr double DUMMY_QTC_AMPL = -20000;
3535

36-
int mPMNumber = DUMMY_CHANNEL_ID; // channel Id
37-
int adcId = DUMMY_CHAIN_QTC; // QTC chain
38-
double mTime = DUMMY_CFD_TIME; // time in ps, 0 at the LHC clk center
39-
double mChargeADC = DUMMY_QTC_AMPL; // charge [channels]
36+
int mPMNumber = DUMMY_CHANNEL_ID; ///< Channel ID
37+
int adcId = DUMMY_CHAIN_QTC; ///< Channel data bits
38+
double mTime = DUMMY_CFD_TIME; ///< Channel time (ns), 0 at the LHC clock center
39+
double mChargeADC = DUMMY_QTC_AMPL; ///< Channel charge (ADC channels)
4040

4141
ChannelDataFloat() = default;
4242
ChannelDataFloat(int Channel, double Time, double Charge, int AdcId)

DataFormats/Detectors/FIT/FT0/include/DataFormatsFT0/RecPoints.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ struct ChannelDataFloat {
3939
static constexpr float DUMMY_CFD_TIME = -20000;
4040
static constexpr float DUMMY_QTC_AMPL = -20000;
4141

42-
int ChId = DUMMY_CHANNEL_ID; // channel Id
43-
int ChainQTC = DUMMY_CHAIN_QTC; // QTC chain
44-
float CFDTime = DUMMY_CFD_TIME; // time in ps, 0 at the LHC clk center
45-
float QTCAmpl = DUMMY_QTC_AMPL; // Amplitude mV
42+
int ChId = DUMMY_CHANNEL_ID; ///< Channel ID
43+
int ChainQTC = DUMMY_CHAIN_QTC; ///< Channel data bits
44+
float CFDTime = DUMMY_CFD_TIME; ///< Channel time (ns), 0 at the LHC clock center
45+
float QTCAmpl = DUMMY_QTC_AMPL; ///< Channel charge (ADC channels)
4646

4747
ChannelDataFloat() = default;
4848
ChannelDataFloat(int iPmt, float time, float charge, int chainQTC)

DataFormats/Detectors/FIT/FV0/include/DataFormatsFV0/RecPoints.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ struct ChannelDataFloat {
3232
static constexpr double DUMMY_CFD_TIME = -20000.0;
3333
static constexpr double DUMMY_QTC_AMPL = -20000.0;
3434

35-
int channel = DUMMY_CHANNEL_ID; // channel Id
36-
double time = DUMMY_CFD_TIME; // time in ns, 0 at the LHC clk center
37-
double charge = DUMMY_QTC_AMPL; // charge [channels]
38-
int adcId = DUMMY_CHAIN_QTC; // QTC chain
35+
int channel = DUMMY_CHANNEL_ID; ///< Channel ID
36+
double time = DUMMY_CFD_TIME; ///< Channel time (ns), 0 at the LHC clock center
37+
double charge = DUMMY_QTC_AMPL; ///< Channel charge (ADC channels)
38+
int adcId = DUMMY_CHAIN_QTC; ///< Channel data bits
3939

4040
ChannelDataFloat() = default;
4141
ChannelDataFloat(int Channel, double Time, double Charge, int AdcId)

DataFormats/Detectors/FIT/common/include/DataFormatsFIT/ChannelDataBit.h

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,13 @@
99
// granted to it by virtue of its status as an Intergovernmental Organization
1010
// or submit itself to any jurisdiction.
1111

12-
/// \file EEventDataBit.h
13-
/// \brief Enum type describing bits in ChainQTC flag
12+
/// \file ChannelDataBit.h
13+
/// \brief Enum type describing channel data bits
14+
///
1415
/// \author wiktor.pierozak@cern.ch
1516

16-
#ifndef O2_FIT_EEVENT_DATA_BIT_
17-
#define O2_FIT_EEVENT_DATA_BIT_
17+
#ifndef O2_FIT_CHANNEL_DATA_BIT_
18+
#define O2_FIT_CHANNEL_DATA_BIT_
1819

1920
namespace o2
2021
{

0 commit comments

Comments
 (0)