ATLAS Offline Software
Loading...
Searching...
No Matches
MuonCosmicSetup.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
6#include <vector>
7
8bool chambersCosmicSetup(const std::string& f_hardware_name, int f_cosmicstation)
9{
10 bool pass=false;
11
12
14 if (f_cosmicstation == 13) {
15 //vector holding sector 13 cosmic setup chamber list
16 std::vector<std::string> sector13;
17 //Filling chambers list, user could change that accordingly
18 sector13.push_back("BIL1A13");
19 sector13.push_back("BIL2A13");
20 sector13.push_back("BIL3A13");
21 sector13.push_back("BML1A13");
22 sector13.push_back("BML2A13");
23 sector13.push_back("BML3A13");
24 sector13.push_back("BOL1A13");
25 sector13.push_back("BOL2A13");
26 sector13.push_back("BOL3A13");
27 sector13.push_back("BOF1A12");
28 sector13.push_back("BOF1A14");
29 sector13.push_back("BOF3A12");
30 sector13.push_back("BOF3A14");
31 for (std::vector<std::string>::const_iterator iter=sector13.begin(); iter!=sector13.end(); ++iter){
32 if (f_hardware_name==*iter){pass=true;}
33 }
34 }
35
36 if (f_cosmicstation==0){pass=true;}
37
38 return pass;
39}
bool chambersCosmicSetup(const std::string &f_hardware_name, int f_cosmicstation)