|  | ATLAS Offline Software
    | 
 
 
 
Go to the documentation of this file.
   19 namespace CompCategory
 
   28             case Mixed:         
return "Mixed";
 
   30             case Other:         
return "Other";
 
   31             default:            
return "UNKNOWN";
 
   37         if (!
type.CompareTo(
"Statistical"))
 
   39         if (!
type.CompareTo(
"Detector"))
 
   41         if (!
type.CompareTo(
"Modelling"))
 
   43         if (!
type.CompareTo(
"Mixed"))
 
   45         if (!
type.CompareTo(
"Effective"))
 
   47         if (!
type.CompareTo(
"Other"))
 
   60 namespace CompCorrelation
 
   68             default:            
return "UNKNOWN";
 
   74         if (!
type.CompareTo(
"Uncorrelated"))
 
   76         if (!
type.CompareTo(
"Correlated"))
 
   89 namespace CompParametrization
 
   96             case PtEta:         
return "PtEta";
 
   99             case PtMass:        
return "PtMass";
 
  104             case eLOGmOe:       
return "eLOGmOe";
 
  108             default:            
return "UNKNOWN";
 
  114         if (!
type.CompareTo(
"Pt",TString::kIgnoreCase))
 
  116         if (!
type.CompareTo(
"PtEta",TString::kIgnoreCase))
 
  118         if (!
type.CompareTo(
"PtAbsEta",TString::kIgnoreCase))
 
  120         if (!
type.CompareTo(
"PtAbsMass",TString::kIgnoreCase))
 
  122         if (!
type.CompareTo(
"PtMass",TString::kIgnoreCase))
 
  124         if (!
type.CompareTo(
"PtMassEta",TString::kIgnoreCase))
 
  126         if (!
type.CompareTo(
"PtMassAbsEta",TString::kIgnoreCase))
 
  128         if (!
type.CompareTo(
"PtAbsMassEta",TString::kIgnoreCase))
 
  130         if (!
type.CompareTo(
"PtAbsMassAbsEta",TString::kIgnoreCase))
 
  132         if (!
type.CompareTo(
"eLOGmOe",TString::kIgnoreCase))
 
  134         if (!
type.CompareTo(
"eLOGmOeEta",TString::kIgnoreCase))
 
  136         if (!
type.CompareTo(
"eLOGmOeAbsEta",TString::kIgnoreCase))
 
  138         if (!
type.CompareTo(
"PtLOGPtMassForTagSF",TString::kIgnoreCase))
 
  152             default:            
return false;
 
  186 namespace CompMassDef
 
  199             default:            
return "UNKNOWN";
 
  205         if (!
type.CompareTo(
"FourVec",TString::kIgnoreCase) || !
type.CompareTo(
"FourVector",TString::kIgnoreCase))
 
  207         if (!
type.CompareTo(
"Calo",TString::kIgnoreCase) || !
type.CompareTo(
"Calorimeter",TString::kIgnoreCase))
 
  209         if (!
type.CompareTo(
"TA",TString::kIgnoreCase) || !
type.CompareTo(
"TrackAssisted",TString::kIgnoreCase))
 
  211         if (
type.BeginsWith(
"Comb",TString::kIgnoreCase) || 
type.BeginsWith(
"Combined",TString::kIgnoreCase))
 
  213             if (
type.EndsWith(
"QCD",TString::kIgnoreCase))
 
  215             if (
type.EndsWith(
"WZ",TString::kIgnoreCase))
 
  217             if (
type.EndsWith(
"Hbb",TString::kIgnoreCase))
 
  219             if (
type.EndsWith(
"Top",TString::kIgnoreCase))
 
  229             case CaloMass:      
return "JetJMSScaleMomentumCalo";
 
  230             case TAMass:        
return "JetJMSScaleMomentumTA";
 
  231             case CombMassQCD:   
return "JetJMSScaleMomentumCombQCD";
 
  232             case CombMassWZ:    
return "JetJMSScaleMomentumCombWZ";
 
  233             case CombMassHbb:   
return "JetJMSScaleMomentumCombHbb";
 
  234             case CombMassTop:   
return "JetJMSScaleMomentumCombTop";
 
  235             default:            
return "UNKNOWN_JET_MASS_SCALE";
 
  248 namespace CompScaleVar
 
  254             case FourVec:       
return "FourVec";
 
  255             case Pt:            
return "Pt";
 
  256             case Mass:          
return "Mass";
 
  257             case D12:           
return "Split12";
 
  258             case D23:           
return "Split23";
 
  259             case Tau21:         
return "Tau21";
 
  260             case Tau32:         
return "Tau32";
 
  263             case D2Beta1:       
return "D2Beta1";
 
  264             case C2Beta1:       
return "C2Beta1";
 
  265             case Qw:            
return "Qw";
 
  266             case MassRes:       
return "MassRes";
 
  268             case PtRes:         
return "PtRes";
 
  274             default:            
return "UNKNOWN";
 
  280         if (!
type.CompareTo(
"FourVec",TString::kIgnoreCase) || !
type.CompareTo(
"4Vec",TString::kIgnoreCase) || !
type.CompareTo(
"FourVector",TString::kIgnoreCase))
 
  282         if (!
type.CompareTo(
"Pt",TString::kIgnoreCase))
 
  284         if (!
type.CompareTo(
"Mass",TString::kIgnoreCase))
 
  286         if (!
type.CompareTo(
"D12",TString::kIgnoreCase) || !
type.CompareTo(
"Split12",TString::kIgnoreCase))
 
  288         if (!
type.CompareTo(
"D23",TString::kIgnoreCase) || !
type.CompareTo(
"Split23",TString::kIgnoreCase))
 
  290         if (!
type.CompareTo(
"Tau21",TString::kIgnoreCase))
 
  292         if (!
type.CompareTo(
"Tau32",TString::kIgnoreCase))
 
  294         if (!
type.CompareTo(
"Tau21WTA",TString::kIgnoreCase))
 
  296         if (!
type.CompareTo(
"Tau32WTA",TString::kIgnoreCase))
 
  298         if (!
type.CompareTo(
"D2Beta1",TString::kIgnoreCase))
 
  300         if (!
type.CompareTo(
"C2Beta1",TString::kIgnoreCase))
 
  302         if (!
type.CompareTo(
"Qw",TString::kIgnoreCase))
 
  304         if (!
type.CompareTo(
"MassRes",TString::kIgnoreCase))
 
  306         if (!
type.CompareTo(
"MassResAbs",TString::kIgnoreCase))
 
  308         if (!
type.CompareTo(
"PtRes",TString::kIgnoreCase))
 
  310         if (!
type.CompareTo(
"PtResAbs",TString::kIgnoreCase))
 
  312         if (!
type.CompareTo(
"FourVecRes",TString::kIgnoreCase))
 
  314         if (!
type.CompareTo(
"FourVecResAbs",TString::kIgnoreCase))
 
  316         if (!
type.CompareTo(
"TagScaleFactor",TString::kIgnoreCase))
 
  318         if (!
type.CompareTo(
"TagEfficiency",TString::kIgnoreCase))
 
  401 namespace CompFlavorLabelVar
 
  407             case t_qqb:         
return "t_qqb";
 
  409         case V_qq:          
return "V_qq";
 
  410             case W_qq:          
return "W_qq";
 
  411             case Z_qq:          
return "Z_qq";
 
  413         case t_other:       
return "t_other";
 
  415             default:            
return "UNKNOWN";
 
  431     if (
type==
"W_qq_From_t")
 
  448 namespace CompTaggerRegionVar
 
  458             default:            
return "UNKNOWN";
 
  464       if (
type.Contains(
"2Var",TString::kIgnoreCase))
 
  466     if (
type.Contains(
"passMpassD2",TString::kIgnoreCase))
 
  468         if (
type.Contains(
"passMfailD2",TString::kIgnoreCase))
 
  470         if (
type.Contains(
"failMpassD2",TString::kIgnoreCase))
 
  472         if (
type.Contains(
"failMfailD2",TString::kIgnoreCase))
 
  492             case OffsetNPV:     
return "Pileup_OffsetNPV";
 
  493             case OffsetMu:      
return "Pileup_OffsetMu";
 
  494             case PtTerm:        
return "Pileup_PtTerm";
 
  496             default:            
return "UNKNOWN";
 
  502         if (
type.Contains(
"Pileup",TString::kIgnoreCase))
 
  504             if (
type.Contains(
"OffsetNPV",TString::kIgnoreCase))
 
  506             if (
type.Contains(
"OffsetMu",TString::kIgnoreCase))
 
  508             if (
type.Contains(
"PtTerm",TString::kIgnoreCase))
 
  510             if (
type.Contains(
"RhoTopology",TString::kIgnoreCase))
 
  524 namespace FlavourComp
 
  530             case Response:          
return "FlavourResponse";
 
  532             case bJES:              
return "bJES";
 
  538             default:                
return "UNKNOWN";
 
  544         if (
type.Contains(
"Flavour",TString::kIgnoreCase) || 
type.Contains(
"Flavor",TString::kIgnoreCase))
 
  546             if (
type.Contains(
"Response",TString::kIgnoreCase))
 
  548                 if (
type.Contains(
"PerJet",TString::kIgnoreCase)){
 
  559             if (
type.Contains(
"Composition",TString::kIgnoreCase))
 
  562         if (
type.Contains(
"bJES",TString::kIgnoreCase))
 
  575 namespace CombMassComp
 
  581             case Calo:      
return "Calo";
 
  582             case TA:        
return "TA";
 
  583             case Both:      
return "Both";
 
  584             default:        
return "UNKNOWN";
 
  590         if (
type.Contains(
"Calo",TString::kIgnoreCase))
 
  592         if (
type.Contains(
"TA",TString::kIgnoreCase))
 
  594         if (
type.Contains(
"Both",TString::kIgnoreCase))
 
  607 namespace JetTopology
 
  613             case QCD:   
return "QCD";
 
  614             case WZ:    
return "WZ";
 
  615             case Hbb:   
return "Hbb";
 
  616             case Top:   
return "Top";
 
  617             case MIXED: 
return "MIXED";
 
  618             default:    
return "UNKNOWN";
 
  624         if (!
type.CompareTo(
"QCD",TString::kIgnoreCase))
 
  626         if (!
type.CompareTo(
"WZ",TString::kIgnoreCase))
 
  628         if (!
type.CompareTo(
"Hbb",TString::kIgnoreCase))
 
  630         if (!
type.CompareTo(
"Top",TString::kIgnoreCase))
 
  649             case None:  
return "None";
 
  650             case Full:  
return "Full";
 
  651             case OnlyX: 
return "X";
 
  652             case OnlyY: 
return "Y";
 
  653             default:    
return "UNKNOWN";
 
  659         if (!
type.CompareTo(
"None",TString::kIgnoreCase) || !
type.CompareTo(
"false",TString::kIgnoreCase))
 
  661         if (!
type.CompareTo(
"Full",TString::kIgnoreCase) || !
type.CompareTo(
"true",TString::kIgnoreCase))
 
  663         if (!
type.CompareTo(
"OnlyX",TString::kIgnoreCase))
 
  665         if (!
type.CompareTo(
"OnlyY",TString::kIgnoreCase))
 
  
bool isResolutionType(const TypeEnum type)
TString enumToString(const TypeEnum type)
TString enumToString(const TypeEnum type)
TypeEnum stringToEnum(const TString &type)
TypeEnum stringToEnum(const TString &type)
TString enumToString(const TypeEnum type)
bool isAbsEta(const TypeEnum type)
bool isRelResolutionType(const TypeEnum type)
TypeEnum stringToEnum(const TString &type)
TypeEnum stringToEnum(const TString &type)
TString enumToString(const TypeEnum type)
TString enumToString(const TypeEnum type)
TypeEnum stringToEnum(const TString &type)
TString enumToString(const TypeEnum type)
TypeEnum stringToEnum(const TString &type)
TString enumToString(const TypeEnum type)
TString getJetScaleString(const TypeEnum type)
bool includesMass(const TypeEnum type)
TString enumToString(const TypeEnum type)
TString enumToString(const TypeEnum type)
bool isAbsResolutionType(const TypeEnum type)
TString enumToString(const TypeEnum type)
TypeEnum stringToEnum(const TString &type)
TypeEnum stringToEnum(const TString &type)
bool isScaleType(const TypeEnum type)
TypeEnum stringToEnum(const TString &type)
TypeEnum stringToEnum(const TString &type)
TypeEnum stringToEnum(const TString &type)
TypeEnum stringToEnum(const TString &type)
TString enumToString(const TypeEnum type)
float Interpolate(const float &xval, const std::vector< float > &xtabulated, const std::vector< float > &ytabulated)
Interpolation function.
TString enumToString(const TypeEnum type)