Commit 6909a9bf authored by Simon Spannagel's avatar Simon Spannagel
Browse files

Remove parameters->masked, now handled by detectors list passed to modules

parent acdd3712
Pipeline #213182 passed with stage
in 3 minutes and 9 seconds
......@@ -69,12 +69,6 @@ void Timepix3EventLoader::initialise(Parameters* par) {
Detector* detector = *it;
// Check if this device is to be masked
if(parameters->masked.count(detectorID) != 0) {
LOG(DEBUG) << "Device with detector ID " << entry->d_name << " is masked.";
continue;
}
if(detector->type() != "Timepix3") {
LOG(WARNING) << "Device with detector ID " << entry->d_name << " is not of type Timepix3.";
continue;
......@@ -148,8 +142,6 @@ StatusCode Timepix3EventLoader::run(Clipboard* clipboard) {
string detectorID = detector->name();
if(detector->type() != "Timepix3")
continue;
if(parameters->masked.count(detectorID))
continue;
// Make a new container for the data
Pixels* deviceData = new Pixels();
......
......@@ -186,11 +186,6 @@ void Analysis::load_detectors() {
m_parameters->excludedFromTracking[ex] = true;
}
}
std::vector<std::string> masking = global_config.getArray<std::string>("masked");
for(auto& m : masking) {
m_parameters->masked[m] = true;
}
}
void Analysis::load_algorithms() {
......
......@@ -53,7 +53,6 @@ namespace corryvreckan {
int nDetectors{0};
double currentTime;
std::map<std::string, bool> excludedFromTracking;
std::map<std::string, bool> masked;
std::string detectorToAlign;
// Parameters for each detector (stored by detector ID)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment