ATLAS Offline Software
Loading...
Searching...
No Matches
MuonCosmicSetup.h File Reference
#include <string>
Include dependency graph for MuonCosmicSetup.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

bool chambersCosmicSetup (const std::string &, int)

Function Documentation

◆ chambersCosmicSetup()

bool chambersCosmicSetup ( const std::string & f_hardware_name,
int f_cosmicstation )

Sector 13 cosmic setup///

Definition at line 8 of file MuonCosmicSetup.cxx.

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}