CMS 3D CMS Logo

Functions
GEMUtils Namespace Reference

Functions

TString getSuffixName (const ME2IdsKey &key)
 
TString getSuffixName (const ME3IdsKey &key)
 
TString getSuffixName (const ME4IdsKey &key)
 
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 getSuffixTitle (const ME2IdsKey &key)
 
TString getSuffixTitle (const ME3IdsKey &key)
 
TString getSuffixTitle (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)
 

Function Documentation

◆ getSuffixName() [1/7]

TString GEMUtils::getSuffixName ( const ME2IdsKey key)

Definition at line 19 of file GEMValidationUtils.cc.

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

References getSuffixName(), and crabWrapper::key.

◆ getSuffixName() [2/7]

TString GEMUtils::getSuffixName ( const ME3IdsKey key)

Definition at line 24 of file GEMValidationUtils.cc.

24  {
25  auto [region_id, station_id, layer_id] = key;
26  return getSuffixName(region_id, station_id, layer_id);
27 }

References getSuffixName(), and crabWrapper::key.

◆ getSuffixName() [3/7]

TString GEMUtils::getSuffixName ( const ME4IdsKey key)

Definition at line 29 of file GEMValidationUtils.cc.

29  {
30  auto [region_id, station_id, layer_id, eta_id] = key;
31  return getSuffixName(region_id, station_id, layer_id, eta_id);
32 }

References getSuffixName(), and crabWrapper::key.

◆ getSuffixName() [4/7]

TString GEMUtils::getSuffixName ( Int_t  region_id)

◆ getSuffixName() [5/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() [6/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() [7/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 }

◆ getSuffixTitle() [1/7]

TString GEMUtils::getSuffixTitle ( const ME2IdsKey key)

Definition at line 48 of file GEMValidationUtils.cc.

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

References getSuffixTitle(), and crabWrapper::key.

◆ getSuffixTitle() [2/7]

TString GEMUtils::getSuffixTitle ( const ME3IdsKey key)

Definition at line 53 of file GEMValidationUtils.cc.

53  {
54  auto [region_id, station_id, layer_id] = key;
55  return getSuffixTitle(region_id, station_id, layer_id);
56 }

References getSuffixTitle(), and crabWrapper::key.

◆ getSuffixTitle() [3/7]

TString GEMUtils::getSuffixTitle ( const ME4IdsKey key)

Definition at line 58 of file GEMValidationUtils.cc.

58  {
59  auto [region_id, station_id, layer_id, eta_id] = key;
60  return getSuffixTitle(region_id, station_id, layer_id, eta_id);
61 }

References getSuffixTitle(), and crabWrapper::key.

◆ getSuffixTitle() [4/7]

TString GEMUtils::getSuffixTitle ( Int_t  region_id)

◆ getSuffixTitle() [5/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() [6/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() [7/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 }
GEMUtils::getSuffixName
TString getSuffixName(Int_t region_id)
Definition: GEMValidationUtils.cc:5
GEMUtils::getSuffixTitle
TString getSuffixTitle(Int_t region_id)
Definition: GEMValidationUtils.cc:34
crabWrapper.key
key
Definition: crabWrapper.py:19