Skip to content

Commit d8aa51a

Browse files
mfasDadavidrohr
authored andcommitted
[EMCAL-622][Doxygen] Minor fixes of params and commands
1 parent 5038ed0 commit d8aa51a

File tree

11 files changed

+87
-93
lines changed

11 files changed

+87
-93
lines changed

Detectors/EMCAL/base/include/EMCALBase/Geometry.h

Lines changed: 25 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ class Geometry
4545

4646
/// \brief Constructor for normal use.
4747
/// \param name Name of the geometry (see table for options)
48-
/// \param title Geometry title
4948
/// \param mcname Geant3/4, Flukla, needed for settings of transport
5049
/// \param mctitle Geant4 physics list
5150
///
@@ -74,9 +73,8 @@ class Geometry
7473

7574
/// \brief Get instance of the EMCAL geometry
7675
/// \param name Geometry name (see constructor for definition)
77-
/// \param title Geometry title
7876
/// \param mcname Geant3/4, Fluka, needed for settings of transport
79-
/// \param mctitle: Geant4 physics list
77+
/// \param mctitle Geant4 physics list
8078
/// \return the pointer of the unique instance of the geometry
8179
///
8280
/// Also initializes the geometry if
@@ -88,8 +86,8 @@ class Geometry
8886
/// \brief Instanciate geometry depending on the run number. Mostly used in analysis and MC anchors.
8987
/// \param runNumber as indicated
9088
/// \param geoName Geometry name, see constructor for options
91-
/// \param mcname: Geant3/4, Fluka, needed for settings of transport (check). Not really needed to be specified.
92-
/// \param mctitle: Geant4 physics list (check). Not really needed to be specified.
89+
/// \param mcname Geant3/4, Fluka, needed for settings of transport (check). Not really needed to be specified.
90+
/// \param mctitle Geant4 physics list (check). Not really needed to be specified.
9391
/// \return the pointer of the unique instance
9492
static Geometry* GetInstanceFromRunNumber(Int_t runNumber, const std::string_view = "",
9593
const std::string_view mcname = "TGeant3",
@@ -133,11 +131,11 @@ class Geometry
133131
Bool_t Impact(const TParticle* particle) const;
134132

135133
/// \brief Get the impact coordinates on EMCAL
136-
/// \param vtx[in] TVector3 with vertex
137-
/// \param theta[in] theta location
138-
/// \param phi[in] azimuthal angle
139-
/// \param absId[out] absolute ID number
140-
/// \param vimpact[out] TVector3 of impact coordinates?
134+
/// \param[in] vtx TVector3 with vertex
135+
/// \param[in] theta theta location
136+
/// \param[in] phi azimuthal angle
137+
/// \param[out] absId absolute ID number
138+
/// \param[out] vimpact TVector3 of impact coordinates?
141139
///
142140
/// Calculates the impact coordinates on EMCAL (centre of a tower/not on EMCAL surface)
143141
/// of a neutral particle emitted in the vertex vtx[3] with direction theta and phi in
@@ -267,27 +265,26 @@ class Geometry
267265
//
268266

269267
/// \brief Figure out the global coordinates from local coordinates on a supermodule.
270-
/// \param loc[in] local coordinates (double[3])
271-
/// \param glob[out] global coordinates (double[2])
272-
/// \param iSM super module number
268+
/// \param[in] loc local coordinates (double[3])
269+
/// \param[out] glob global coordinates (double[2])
270+
/// \param[in] ind super module number
273271
///
274272
/// Use the supermodule alignment.
275273
void GetGlobal(const Double_t* loc, Double_t* glob, int ind) const;
276274

277275
/// \brief Figure out the global coordinates from local coordinates on a supermodule.
278-
/// \param vloc[in] local coordinates
279-
/// \param vglob[out] global coordinates
280-
/// \param iSM: super module number
276+
/// \param[in] vloc local coordinates
277+
/// \param[out] vglob global coordinates
278+
/// \param[in] ind super module number
281279
///
282280
/// Use the supermodule alignment.
283281
void GetGlobal(const TVector3& vloc, TVector3& vglob, int ind) const;
284282

285-
///
286-
/// Figure out the global coordinates of a cell.
283+
/// \brief Figure out the global coordinates of a cell.
287284
/// Use the supermodule alignment. Use double[3].
288285
///
289-
/// \param absId: cell absolute id. number.
290-
/// \param glob: 3-double coordinates, output
286+
/// \param absId cell absolute id. number.
287+
/// \param glob 3-double coordinates, output
291288
///
292289
void GetGlobal(Int_t absId, Double_t glob[3]) const;
293290

@@ -373,23 +370,21 @@ class Geometry
373370

374371
/// \brief Get cell SM, module numbers from absolute ID number
375372
/// \param absId cell absolute id. number
376-
/// \param nSupMod super module number
377-
/// \param nModule module number
378373
/// \return tuple(supermodule ID, module number, index of cell in module in phi, index of cell in module in eta)
379374
/// \throw InvalidCellIDException
380375
std::tuple<int, int, int, int> GetCellIndex(Int_t absId) const;
381376

382377
/// \brief Get eta-phi indexes of module in SM
383-
/// \param[in] nSupMod: super module number, input
384-
/// \param[in] nModule: module number, input
378+
/// \param nSupMod super module number, input
379+
/// \param nModule module number, input
385380
/// \return tuple (index in phi direction of module, index in eta direction of module)
386381
std::tuple<int, int> GetModulePhiEtaIndexInSModule(Int_t nSupMod, Int_t nModule) const;
387382

388383
/// \brief Get eta-phi indexes of cell in SM
389-
/// \param nSupMod[in] super module number
390-
/// \param nModule[in] module number
391-
/// \param nIphi[in] index in phi direction in module
392-
/// \param nIeta[in] index in phi direction in module
384+
/// \param nSupMod super module number
385+
/// \param nModule module number
386+
/// \param nIphi index in phi direction in module
387+
/// \param nIeta index in phi direction in module
393388
std::tuple<int, int> GetCellPhiEtaIndexInSModule(Int_t nSupMod, Int_t nModule, Int_t nIphi, Int_t nIeta) const;
394389

395390
/// \brief Adapt cell indices in supermodule to online indexing
@@ -455,8 +450,8 @@ class Geometry
455450
Int_t GetAbsCellIdFromCellIndexes(Int_t nSupMod, Int_t iphi, Int_t ieta) const;
456451

457452
/// \brief Look to see what the relative position inside a given cell is for a recpoint.
458-
/// \param absId[in] cell absolute id. number, input
459-
/// \param distEff[in] shower max position? check call in RecPoint!
453+
/// \param absId cell absolute id. number, input
454+
/// \param distEf shower max position? check call in RecPoint!
460455
/// \return Point3D with x,y,z coordinates of cell with absId inside SM
461456
/// \throw InvalidCellIDException if cell ID does not exist
462457
///

Detectors/EMCAL/base/include/EMCALBase/Hit.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,12 @@ class Hit : public o2::BasicXYZEHit<float>
3434
///
3535
/// \param primary Number of primary particle
3636
/// \param trackID Index of the track, defined as parent track entering teh EMCAL
37-
/// \param parentID ID of the parent primary entering the EMCAL
3837
/// \param detID ID of the detector segment
3938
/// \param initialEnergy Energy of the primary particle enering the EMCAL
4039
/// \param pos Position vector of the point
4140
/// \param mom Momentum vector for the particle at the point
4241
/// \param tof Time of the hit
43-
/// \param length Length of the segment
42+
/// \param eLoss Energy loss
4443
Hit(Int_t primary, Int_t trackID, Int_t detID, Double_t initialEnergy, const Point3D<float>& pos,
4544
const Vector3D<float>& mom, Double_t tof, Double_t eLoss)
4645
: o2::BasicXYZEHit<float>(pos.X(), pos.Y(), pos.Z(), tof, eLoss, trackID, detID),
@@ -64,7 +63,7 @@ class Hit : public o2::BasicXYZEHit<float>
6463
Hit& operator+=(const Hit& rhs);
6564

6665
/// \brief Creates a new point base on this point but adding the energy loss of the right hand side
67-
/// \param
66+
/// \param rhs Hit to add to
6867
/// \return New EMAL point base on this point
6968
Hit operator+(const Hit& rhs) const;
7069

Detectors/EMCAL/base/include/EMCALBase/Mapper.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class Mapper
4545
struct ChannelID {
4646
uint8_t mRow; ///< Row of the channel in module
4747
uint8_t mColumn; ///< Column of the channel in module
48-
ChannelType_t mChannelType; ///< Type of the channel (see \ref o2::emcal::ChannelType for channel type definitions)
48+
ChannelType_t mChannelType; ///< Type of the channel (see o2::emcal::ChannelType for channel type definitions)
4949

5050
bool operator==(const ChannelID& other) const
5151
{
@@ -183,7 +183,7 @@ class Mapper
183183
{
184184
}
185185

186-
/// \Destructor
186+
/// \brief Destructor
187187
~FileFormatException() noexcept override = default;
188188

189189
/// \brief Access to error message of the exception

Detectors/EMCAL/calib/include/EMCALCalib/CalibDB.h

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -96,12 +96,12 @@ class CalibDB
9696
/// \return meta data
9797
const std::map<std::string, std::string> getMetaData() const { return mMetaDat; }
9898

99-
/// \Accessor to URL of the CCDB server
99+
/// \brief Accessor to URL of the CCDB server
100100
/// \return URL of the CCDB server
101101
const std::string& getServer() const { return mServ; }
102102

103-
/// \Accessor to the CCDB path in the query
104-
/// return CCDB path in the query
103+
/// \brief Accessor to the CCDB path in the query
104+
/// \return CCDB path in the query
105105
const std::string& getPath() const { return mPath; }
106106

107107
/// \brief Accessor to timestamp used in the query
@@ -172,10 +172,10 @@ class CalibDB
172172
~CalibDB() = default;
173173

174174
/// \brief Store bad channel map in the CCDB
175-
/// \brief bcm Bad channel map to be stored
176-
/// \brief metadata Additional metadata that can be used in the query
177-
/// \timestart Start of the time range of the validity of the object
178-
/// \timeend End of the time range of the validity of the object
175+
/// \param bcm Bad channel map to be stored
176+
/// \param metadata Additional metadata that can be used in the query
177+
/// \param timestart Start of the time range of the validity of the object
178+
/// \param timeend End of the time range of the validity of the object
179179
void storeBadChannelMap(BadChannelMap* bcm, const std::map<std::string, std::string>& metadata, ULong_t timestart, ULong_t timeend);
180180

181181
/// \brief Find bad channel map in the CCDB for given timestamp
@@ -186,10 +186,10 @@ class CalibDB
186186
BadChannelMap* readBadChannelMap(ULong_t timestamp, const std::map<std::string, std::string>& metadata);
187187

188188
/// \brief Store time calibration coefficiencts in the CCDB
189-
/// \brief tcp time calibration coefficiencts to be stored
190-
/// \brief metadata Additional metadata that can be used in the query
191-
/// \timestart Start of the time range of the validity of the object
192-
/// \timeend End of the time range of the validity of the object
189+
/// \param tcp time calibration coefficiencts to be stored
190+
/// \param metadata Additional metadata that can be used in the query
191+
/// \param timestart Start of the time range of the validity of the object
192+
/// \param timeend End of the time range of the validity of the object
193193
void storeTimeCalibParam(TimeCalibrationParams* tcp, const std::map<std::string, std::string>& metadata, ULong_t timestart, ULong_t timeend);
194194

195195
/// \brief Find time calibration coefficiencts in the CCDB for given timestamp
@@ -200,10 +200,10 @@ class CalibDB
200200
TimeCalibrationParams* readTimeCalibParam(ULong_t timestamp, const std::map<std::string, std::string>& metadata);
201201

202202
/// \brief Store L1 phase shifts in the CCDB
203-
/// \brief tcp L1 phase shifts to be stored
204-
/// \brief metadata Additional metadata that can be used in the query
205-
/// \timestart Start of the time range of the validity of the object
206-
/// \timeend End of the time range of the validity of the object
203+
/// \param tcp L1 phase shifts to be stored
204+
/// \param metadata Additional metadata that can be used in the query
205+
/// \param timestart Start of the time range of the validity of the object
206+
/// \param timeend End of the time range of the validity of the object
207207
void storeTimeCalibParamL1Phase(TimeCalibParamL1Phase* tcp, const std::map<std::string, std::string>& metadata, ULong_t timestart, ULong_t timeend);
208208

209209
/// \brief Find L1 phase shifts in the CCDB for given timestamp
@@ -214,10 +214,10 @@ class CalibDB
214214
TimeCalibParamL1Phase* readTimeCalibParamL1Phase(ULong_t timestamp, const std::map<std::string, std::string>& metadata);
215215

216216
/// \brief Store temperature calibration coefficiencts in the CCDB
217-
/// \brief tcp temperature calibration coefficiencts to be stored
218-
/// \brief metadata Additional metadata that can be used in the query
219-
/// \timestart Start of the time range of the validity of the object
220-
/// \timeend End of the time range of the validity of the object
217+
/// \param tcp temperature calibration coefficiencts to be stored
218+
/// \param metadata Additional metadata that can be used in the query
219+
/// \param timestart Start of the time range of the validity of the object
220+
/// \param timeend End of the time range of the validity of the object
221221
void storeTempCalibParam(TempCalibrationParams* tcp, const std::map<std::string, std::string>& metadata, ULong_t timestart, ULong_t timeend);
222222

223223
/// \brief Find temperature calibration coefficiencts in the CCDB for given timestamp
@@ -228,10 +228,10 @@ class CalibDB
228228
TempCalibrationParams* readTempCalibParam(ULong_t timestamp, const std::map<std::string, std::string>& metadata);
229229

230230
/// \brief Store temperature calibration coefficiencts per SM in the CCDB
231-
/// \brief tcp temperature calibration coefficiencts per SM to be stored
232-
/// \brief metadata Additional metadata that can be used in the query
233-
/// \timestart Start of the time range of the validity of the object
234-
/// \timeend End of the time range of the validity of the object
231+
/// \param tcp temperature calibration coefficiencts per SM to be stored
232+
/// \param metadata Additional metadata that can be used in the query
233+
/// \param timestart Start of the time range of the validity of the object
234+
/// \param timeend End of the time range of the validity of the object
235235
void storeTempCalibParamSM(TempCalibParamSM* tcp, const std::map<std::string, std::string>& metadata, ULong_t timestart, ULong_t timeend);
236236

237237
/// \brief Find temperature calibration coefficiencts per SM in the CCDB for given timestamp
@@ -242,10 +242,10 @@ class CalibDB
242242
TempCalibParamSM* readTempCalibParamSM(ULong_t timestamp, const std::map<std::string, std::string>& metadata);
243243

244244
/// \brief Store gain calibration factors in the CCDB
245-
/// \brief gcf temperature calibration coefficiencts to be stored
246-
/// \brief metadata Additional metadata that can be used in the query
247-
/// \timestart Start of the time range of the validity of the object
248-
/// \timeend End of the time range of the validity of the object
245+
/// \param gcf temperature calibration coefficiencts to be stored
246+
/// \param metadata Additional metadata that can be used in the query
247+
/// \param timestart Start of the time range of the validity of the object
248+
/// \param timeend End of the time range of the validity of the object
249249
void storeGainCalibFactors(GainCalibrationFactors* gcf, const std::map<std::string, std::string>& metadata, ULong_t timestart, ULong_t timeend);
250250

251251
/// \brief Find gain calibration factors in the CCDB for given timestamp
@@ -256,10 +256,10 @@ class CalibDB
256256
GainCalibrationFactors* readGainCalibFactors(ULong_t timestamp, const std::map<std::string, std::string>& metadata);
257257

258258
/// \brief Store Trigger DCS data in the CCDB
259-
/// \brief dcs trigger DCS data to be stored
260-
/// \brief metadata Additional metadata that can be used in the query
261-
/// \timestart Start of the time range of the validity of the object
262-
/// \timeend End of the time range of the validity of the object
259+
/// \param dcs trigger DCS data to be stored
260+
/// \param metadata Additional metadata that can be used in the query
261+
/// \param timestart Start of the time range of the validity of the object
262+
/// \param timeend End of the time range of the validity of the object
263263
void storeTriggerDCSData(TriggerDCS* dcs, const std::map<std::string, std::string>& metadata, ULong_t timestart, ULong_t timeend);
264264

265265
/// \brief Find trigger DCS data in the CCDB for given timestamp

Detectors/EMCAL/calib/include/EMCALCalib/TriggerDCS.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ class TriggerDCS
6161
TriggerTRUDCS getTRUDCS(Int_t iTRU) const { return mTRUArr.at(iTRU); }
6262

6363
/// \brief Check whether TRU is enabled
64+
/// \param iTRU Index of the TRU
6465
/// Enabled-status defined via presence of the TRU in the STU region: TRU
6566
/// is enabled if the corresponding bit is set in the STU region
6667
bool isTRUEnabled(int iTRU) const;
@@ -75,7 +76,7 @@ class TriggerDCS
7576

7677
/// \brief Streaming operator
7778
/// \param in Stream where the TRU parameters are printed on
78-
/// \param tru TRU to be printed
79+
/// \param dcs TRU to be printed
7980
/// \return Stream after printing the TRU parameters
8081
std::ostream& operator<<(std::ostream& in, const TriggerDCS& dcs);
8182

Detectors/EMCAL/calib/include/EMCALCalib/TriggerSTUDCS.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ class TriggerSTUDCS
117117

118118
/// \brief Streaming operator
119119
/// \param in Stream where the STU parameters are printed on
120-
/// \param tru STU to be printed
120+
/// \param stu STU to be printed
121121
/// \return Stream after printing the STU parameters
122122
std::ostream& operator<<(std::ostream& in, const TriggerSTUDCS& stu);
123123

Detectors/EMCAL/doxymodules.h

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@
99
// or submit itself to any jurisdiction
1010

1111
/**
12-
* @defgroup DetectorEMCAL
12+
* @defgroup DetectorEMCAL EMCAL
1313
* @brief EMCAL simulation and reconstruction
1414
*
1515
* See \ref refDetectorsEMCAL for more information
1616
*/
1717

1818
/**
19-
* @defgroup EMCALbase
19+
* @defgroup EMCALbase EMCAL base
2020
* @brief Main EMCAL components
2121
* @ingroup DetectorEMCAL
2222
*
@@ -27,7 +27,7 @@
2727
*/
2828

2929
/**
30-
* @defgroup EMCALcalibration
30+
* @defgroup EMCALcalibration EMCAL calibration
3131
* @brief EMCAL calibration objects
3232
* @ingroup DetectorEMCAL
3333
*
@@ -39,28 +39,28 @@
3939
*/
4040

4141
/**
42-
* @defgroup EMCALsimulation
42+
* @defgroup EMCALsimulation EMCAL simulation
4343
* @brief EMCAL simulation code
4444
* @ingroup DetectorEMCAL
4545
*
46-
* EMCAL simulation package. See \subpage refEMCALsimulation
46+
* EMCAL simulation package. See \ref refEMCALsimulation
4747
* for more information
4848
*/
4949

5050
/**
51-
* @defgroup EMCALreconstruction
51+
* @defgroup EMCALreconstruction EMCAL reconstruction
5252
* @brief EMCAL reconstruction code
5353
* @ingroup DetectorEMCAL
5454
*
55-
* EMCAL reconstruction package. See \subpage refEMCALreconstruction
55+
* EMCAL reconstruction package. See \ref refEMCALreconstruction
5656
* for more information
5757
*/
5858

5959
/**
60-
* @defgroup EMCALworkflow
60+
* @defgroup EMCALworkflow EMCAL workflow
6161
* @brief EMCAL reconstruction workflow
6262
* @ingroup DetectorEMCAL
6363
*
64-
* EMCAL reconstruction workflow package. See \subpage refEMCALworkflow
64+
* EMCAL reconstruction workflow package. See \ref refEMCALworkflow
6565
* for more information.
6666
*/

Detectors/EMCAL/reconstruction/include/EMCALReconstruction/AltroDecoder.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,12 +111,12 @@ class AltroDecoder
111111
/// \throw AltroDecoderError with type RCU_TRAILER_ERROR if the RCU trailer was not initialized
112112
const RCUTrailer& getRCUTrailer() const;
113113

114-
/// \Get the reference to the channel container
114+
/// \brief Get the reference to the channel container
115115
/// \return Reference to the channel container
116116
/// \throw AltroDecoderError with CHANNEL_ERROR if the channel container was not initialized for the current event
117117
const std::vector<Channel>& getChannels() const;
118118

119-
/// \read RCU trailer for the current event in the raw buffer
119+
/// \brief Read RCU trailer for the current event in the raw buffer
120120
void readRCUTrailer();
121121

122122
/// \brief Read channels for the current event in the raw buffer

0 commit comments

Comments
 (0)