ATLAS Offline Software
Functions
MuonCosmicSetup.h File Reference
#include <string>
#include <sstream>
#include <vector>
#include <iostream>
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 &  ,
int   
)

Sector 13 cosmic setup///

Definition at line 7 of file MuonCosmicSetup.cxx.

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 }