Skip to content

Commit 7cfb2eb

Browse files
wpierozakwpierozak
authored andcommitted
Removed HvConfiguration structure, moved DeadChannelMap definition to DataFormatsFit
1 parent 48ebf74 commit 7cfb2eb

3 files changed

Lines changed: 2 additions & 18 deletions

File tree

‎DataFormats/Detectors/FIT/common/include/DataFormatsFIT/Configuration.h‎

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -129,20 +129,5 @@ struct ChannelsConfig {
129129

130130
ClassDefNV(ChannelsConfig<NChannels>, 1);
131131
};
132-
133-
template <std::size_t NChannels>
134-
struct HvChannelsConfig {
135-
float gain[NChannels];
136-
137-
constexpr HvChannelsConfig()
138-
{
139-
config_helpers::fillDefaultArray(gain);
140-
}
141-
bool operator==(const HvChannelsConfig& other) const
142-
{
143-
return std::equal(std::begin(gain), std::end(gain), std::begin(other.gain));
144-
}
145-
ClassDefNV(HvChannelsConfig<NChannels>, 1);
146-
};
147132
} // namespace o2::fit
148133
#endif

‎DataFormats/Detectors/FIT/common/src/DataFormatsFITLinkDef.h‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828

2929
#pragma link C++ struct o2::fit::TcmConfig + ;
3030
#pragma link C++ struct o2::fit::PmConfig + ;
31+
#pragma link C++ struct o2::fit::DeadChannelMap + ;
3132
/*
3233
#include "DetectorsCommonDataFormats/DetID.h"
3334
#pragma link C++ struct o2::fit::ChannelData<o2::detectors::DetID::FDD> + ;

‎Detectors/FIT/common/dcsmonitoring/README.md‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ pass an empty FEE data description to the common base. Detector-specific FEE
1010
readers and outputs can be added in subsequent changes. Dead-channel maps use
1111
`FITDeadChannelMapReader`, formerly named `FITDCSConfigReader`.
1212

13-
# Testing DCS workflow locally
14-
1513
## Local CCDB instance
1614
Local CCDB instance is available here: `http://alimonitor.cern.ch/download/local.jar`
1715
Run it with `java -jar local.jar`.
@@ -31,7 +29,7 @@ Configuration is done via environment variables
3129

3230

3331
```bash
34-
#!/bin/bash
32+
#!/ bin / bash
3533
DET="FDD"
3634
CHANFROM="type=sub,method=connect,address=tcp://127.0.0.1:5556,rateLogging=1,transport=zeromq"
3735
CHANACK="type=push,method=connect,address=tcp://127.0.0.1:5557,rateLogging=1,transport=zeromq"

0 commit comments

Comments
 (0)