Skip to content

Commit 624f08f

Browse files
author
Mu2e
committed
yet another clang-format, now header specific
1 parent 1a257f0 commit 624f08f

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

otsdaq-mu2e-calorimeter/FEInterfaces/ROCCalorimeterInterface.h

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,13 @@
33

44
#include "otsdaq-mu2e/FEInterfaces/ROCPolarFireCoreInterface.h"
55

6-
#define MZ_ADDRESS 262
6+
#define MZ_ADDRESS 262
77
#define MZ_BUFFER_SIZE 46
88

9-
namespace ots {
10-
class ROCCalorimeterInterface : public ROCPolarFireCoreInterface {
9+
namespace ots
10+
{
11+
class ROCCalorimeterInterface : public ROCPolarFireCoreInterface
12+
{
1113
public:
1214
ROCCalorimeterInterface(const std::string& rocUID, const ConfigurationTree& theXDAQContextConfigTree, const std::string& interfaceConfigurationPath);
1315

@@ -32,7 +34,8 @@ class ROCCalorimeterInterface : public ROCPolarFireCoreInterface {
3234

3335
bool emulatorWorkLoop(void) override;
3436

35-
enum CaloRegisters {
37+
enum CaloRegisters
38+
{
3639
// clang-format off
3740
ROC_ADDRESS_DDRRESET = 14,
3841
ROC_ADDRESS_ANALOGRESET = 13,
@@ -83,12 +86,14 @@ class ROCCalorimeterInterface : public ROCPolarFireCoreInterface {
8386

8487
int GetTemperature(int idchannel);
8588
// temperature--
86-
class Thermometer {
89+
class Thermometer
90+
{
8791
private:
8892
double mnoiseTemp;
8993

9094
public:
91-
void noiseTemp(double intemp) {
95+
void noiseTemp(double intemp)
96+
{
9297
mnoiseTemp = (double)intemp + 0.05 * (intemp * ((double)rand() / (RAND_MAX)) - 0.5);
9398
return;
9499
}

0 commit comments

Comments
 (0)