CMS 3D CMS Logo

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

◆ getSuffixName() [1/7]

TString GEMUtils::getSuffixName ( Int_t  region_id)

◆ getSuffixName() [2/7]

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 }

◆ getSuffixName() [3/7]

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 }

◆ getSuffixName() [4/7]

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 }

◆ getSuffixName() [5/7]

TString GEMUtils::getSuffixName ( const ME2IdsKey key)

Definition at line 19 of file GEMValidationUtils.cc.

References getSuffixName(), and crabWrapper::key.

19  {
20  auto [region_id, station_id] = key;
21  return getSuffixName(region_id, station_id);
22 }
TString getSuffixName(Int_t region_id)

◆ getSuffixName() [6/7]

TString GEMUtils::getSuffixName ( const ME3IdsKey key)

Definition at line 24 of file GEMValidationUtils.cc.

References getSuffixName(), and crabWrapper::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)

◆ getSuffixName() [7/7]

TString GEMUtils::getSuffixName ( const ME4IdsKey key)

Definition at line 29 of file GEMValidationUtils.cc.

References getSuffixName(), and crabWrapper::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)

◆ getSuffixTitle() [1/7]

TString GEMUtils::getSuffixTitle ( Int_t  region_id)

◆ getSuffixTitle() [2/7]

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 }

◆ getSuffixTitle() [3/7]

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 }

◆ getSuffixTitle() [4/7]

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 }

◆ getSuffixTitle() [5/7]

TString GEMUtils::getSuffixTitle ( const ME2IdsKey key)

Definition at line 48 of file GEMValidationUtils.cc.

References getSuffixTitle(), and crabWrapper::key.

48  {
49  auto [region_id, station_id] = key;
50  return getSuffixTitle(region_id, station_id);
51 }
TString getSuffixTitle(Int_t region_id)

◆ getSuffixTitle() [6/7]

TString GEMUtils::getSuffixTitle ( const ME3IdsKey key)

Definition at line 53 of file GEMValidationUtils.cc.

References getSuffixTitle(), and crabWrapper::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)

◆ getSuffixTitle() [7/7]

TString GEMUtils::getSuffixTitle ( const ME4IdsKey key)

Definition at line 58 of file GEMValidationUtils.cc.

References getSuffixTitle(), and crabWrapper::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)