CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions
GEMUtils Namespace Reference

Functions

TString getSuffixName (Int_t region_id)
 
TString getSuffixName (Int_t region_id, Int_t station_id)
 
TString getSuffixName (Int_t region_id, Int_t station_id, Int_t layer_id)
 
TString getSuffixName (Int_t region_id, Int_t station_id, Int_t layer_id, Int_t eta_id)
 
TString getSuffixName (const ME2IdsKey &key)
 
TString getSuffixName (const ME3IdsKey &key)
 
TString getSuffixName (const ME4IdsKey &key)
 
TString getSuffixTitle (Int_t region_id)
 
TString getSuffixTitle (Int_t region_id, Int_t station_id)
 
TString getSuffixTitle (Int_t region_id, Int_t station_id, Int_t layer_id)
 
TString getSuffixTitle (Int_t region_id, Int_t station_id, Int_t layer_id, Int_t eta_id)
 
TString getSuffixTitle (const ME2IdsKey &key)
 
TString getSuffixTitle (const ME3IdsKey &key)
 
TString getSuffixTitle (const ME4IdsKey &key)
 

Function Documentation

TString GEMUtils::getSuffixName ( Int_t  region_id)
TString GEMUtils::getSuffixName ( Int_t  region_id,
Int_t  station_id 
)

Definition at line 7 of file GEMValidationUtils.cc.

7  {
8  return TString::Format("_GE%.2d-%c", station_id * 10 + 1, (region_id > 0 ? 'P' : 'M'));
9 }
TString GEMUtils::getSuffixName ( Int_t  region_id,
Int_t  station_id,
Int_t  layer_id 
)

Definition at line 11 of file GEMValidationUtils.cc.

11  {
12  return TString::Format("_GE%.2d-%c-L%d", station_id * 10 + 1, (region_id > 0 ? 'P' : 'M'), layer_id);
13 }
TString GEMUtils::getSuffixName ( Int_t  region_id,
Int_t  station_id,
Int_t  layer_id,
Int_t  eta_id 
)

Definition at line 15 of file GEMValidationUtils.cc.

15  {
16  return TString::Format("_GE%.2d-%c-L%d-E%d", station_id * 10 + 1, (region_id > 0 ? 'P' : 'M'), layer_id, eta_id);
17 }
TString GEMUtils::getSuffixName ( const ME2IdsKey key)

Definition at line 19 of file GEMValidationUtils.cc.

References getSuffixName(), and submitPVResolutionJobs::key.

19  {
20  auto [region_id, station_id] = key;
21  return getSuffixName(region_id, station_id);
22 }
TString getSuffixName(Int_t region_id)
tuple key
prepare the HTCondor submission files and eventually submit them
TString GEMUtils::getSuffixName ( const ME3IdsKey key)

Definition at line 24 of file GEMValidationUtils.cc.

References getSuffixName(), and submitPVResolutionJobs::key.

24  {
25  auto [region_id, station_id, layer_id] = key;
26  return getSuffixName(region_id, station_id, layer_id);
27 }
TString getSuffixName(Int_t region_id)
tuple key
prepare the HTCondor submission files and eventually submit them
TString GEMUtils::getSuffixName ( const ME4IdsKey key)

Definition at line 29 of file GEMValidationUtils.cc.

References getSuffixName(), and submitPVResolutionJobs::key.

29  {
30  auto [region_id, station_id, layer_id, eta_id] = key;
31  return getSuffixName(region_id, station_id, layer_id, eta_id);
32 }
TString getSuffixName(Int_t region_id)
tuple key
prepare the HTCondor submission files and eventually submit them
TString GEMUtils::getSuffixTitle ( Int_t  region_id)
TString GEMUtils::getSuffixTitle ( Int_t  region_id,
Int_t  station_id 
)

Definition at line 36 of file GEMValidationUtils.cc.

36  {
37  return TString::Format(" GE%.2d-%c", station_id * 10 + 1, (region_id > 0 ? 'P' : 'M'));
38 }
TString GEMUtils::getSuffixTitle ( Int_t  region_id,
Int_t  station_id,
Int_t  layer_id 
)

Definition at line 40 of file GEMValidationUtils.cc.

40  {
41  return TString::Format(" GE%.2d-%c-L%d", station_id * 10 + 1, (region_id > 0 ? 'P' : 'M'), layer_id);
42 }
TString GEMUtils::getSuffixTitle ( Int_t  region_id,
Int_t  station_id,
Int_t  layer_id,
Int_t  eta_id 
)

Definition at line 44 of file GEMValidationUtils.cc.

44  {
45  return TString::Format(" GE%.2d-%c-L%d-E%d", station_id * 10 + 1, (region_id > 0 ? 'P' : 'M'), layer_id, eta_id);
46 }
TString GEMUtils::getSuffixTitle ( const ME2IdsKey key)

Definition at line 48 of file GEMValidationUtils.cc.

References getSuffixTitle(), and submitPVResolutionJobs::key.

48  {
49  auto [region_id, station_id] = key;
50  return getSuffixTitle(region_id, station_id);
51 }
TString getSuffixTitle(Int_t region_id)
tuple key
prepare the HTCondor submission files and eventually submit them
TString GEMUtils::getSuffixTitle ( const ME3IdsKey key)

Definition at line 53 of file GEMValidationUtils.cc.

References getSuffixTitle(), and submitPVResolutionJobs::key.

53  {
54  auto [region_id, station_id, layer_id] = key;
55  return getSuffixTitle(region_id, station_id, layer_id);
56 }
TString getSuffixTitle(Int_t region_id)
tuple key
prepare the HTCondor submission files and eventually submit them
TString GEMUtils::getSuffixTitle ( const ME4IdsKey key)

Definition at line 58 of file GEMValidationUtils.cc.

References getSuffixTitle(), and submitPVResolutionJobs::key.

58  {
59  auto [region_id, station_id, layer_id, eta_id] = key;
60  return getSuffixTitle(region_id, station_id, layer_id, eta_id);
61 }
TString getSuffixTitle(Int_t region_id)
tuple key
prepare the HTCondor submission files and eventually submit them