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