ATLAS Offline Software
Namespaces | Classes | Typedefs | Functions
jet Namespace Reference

Namespaces

 CombMassComp
 
 CompCategory
 
 CompCorrelation
 
 CompFlavorLabelVar
 
 CompMassDef
 
 CompParametrization
 
 CompScaleVar
 
 CompTaggerRegionVar
 
 ExtendedBool
 
 FlavourComp
 
 Interpolate
 
 JetIsolation
 
 JetTopology
 
 PileupComp
 
 utils
 

Classes

struct  AccessorAndHisto
 
struct  AccessorAndHisto2
 
struct  AttFiller
 
struct  AttTypes
 
struct  AttvsAttFiller
 
struct  AttvsVecAttIndexFiller
 
class  BaseIndexedConstituentUserInfo
 
class  CaloCellFastMap
 
class  CellPosition
 
class  ClosebyUncertaintyComponent
 
class  CombinedMassUncertaintyComponent
 
class  ComponentHelper
 
class  ConfigHelper
 
class  CorrelationMatrix
 
class  ELogMassEtaUncertaintyComponent
 
class  ELogMassUncertaintyComponent
 
class  FlavourUncertaintyComponent
 
class  GroupHelper
 
class  HistoFiller
 
class  IConstituentUserInfo
 
class  IndexedConstituentUserInfo
 
class  IndexedTConstituentUserInfo
 
class  InfoHelper
 
class  InfoHelpereLOGmOe
 
class  InfoHelpereLOGmOeAbsEta
 
class  InfoHelpereLOGmOeEta
 
class  InfoHelperPt
 
class  InfoHelperPtAbsEta
 
class  InfoHelperPtAbsMass
 
class  InfoHelperPtAbsMassAbsEta
 
class  InfoHelperPtAbsMassEta
 
class  InfoHelperPtEta
 
class  InfoHelperPtMass
 
class  InfoHelperPtMassAbsEta
 
class  InfoHelperPtMassEta
 
class  JetCalcAverageLArQualityF
 
class  JetCalcBadCellsFrac
 Fraction of Bad energy in jet. From cluster moment ENG_BAD_CELLS. More...
 
class  JetCalcCentroid
 
class  JetCalcNegativeEnergy
 
class  JetCalcnLeadingCells
 
class  JetCalcOutOfTimeEnergyFraction
 
class  JetCalcQuality
 
class  JetCalcQualityHEC
 
class  JetCalcTimeCells
 
class  JetCaloCalculations
 Holds a list of JetCalculators. More...
 
class  JetCaloCalculator
 
class  JetCaloCellCalculations
 collection of JetCaloCellCalculator More...
 
class  JetCaloCellCalculator
 Base class (inheriting JetCaloCalculator) for calculations accessing CaloCell directly. More...
 
class  JetCaloQualityUtils
 
class  JetCellAccessor
 
class  JetConstituentFiller
 
class  JetFourMomAccessor
 JetFourMomAccessor is an extension of JetAttributeAccessor::AccessorWrapper<xAOD::JetFourMom_t> AccessorWrapper<xAOD::JetFourMom_t> purpose is to provide a direct and simple access to JetFourMom_t attributes (which are internally saved as 4 floats inside jets). More...
 
class  LabelIndex
 
class  LargeRTopologyUncertaintyComponent
 
class  OptionHelper
 
class  PerJetFlavourUncertaintyComponent
 
class  PileupUncertaintyComponent
 
class  PtAbsMassEtaUncertaintyComponent
 
class  PtAbsMassUncertaintyComponent
 
class  PtEtaUncertaintyComponent
 
class  PtLogPtMassForTagSFUncertaintyComponent
 
class  PtMassEtaUncertaintyComponent
 
class  PtMassUncertaintyComponent
 
class  PtUncertaintyComponent
 
class  PunchthroughUncertaintyComponent
 
class  ResolutionHelper
 
class  SimpleConstituentUserInfo
 
class  TrackVertexAssociation
 Class to hold N-to-one aassociations between tracks and vertices. More...
 
class  UncertaintyComponent
 
class  UncertaintyGroup
 
class  UncertaintyHistogram
 
class  UncertaintySet
 
class  ValidityHistogram
 
struct  VecAttFiller
 
struct  VecAttIndexFiller
 
class  VertexIndexedConstituentUserInfo
 

Typedefs

typedef fastjet::ClusterSequence ClusterSequence
 
typedef std::map< const xAOD::Jet *, const fastjet::PseudoJet * > PseudoJetMap
 
typedef std::vector< fastjet::PseudoJet > PseudoJetVector
 
template<typename T >
using Accessor = SG::AuxElement::Accessor< T >
 
typedef std::unordered_set< Identifiercellset_t
 

Functions

void colonSplit (const string &in, string &s1, string &s2, string &s3)
 helper More...
 
bool operator< (const UncertaintyComponent &componentA, const UncertaintyComponent &componentB)
 
bool operator== (const UncertaintyComponent &componentA, const UncertaintyComponent &componentB)
 
bool operator< (const UncertaintyGroup &groupA, const UncertaintyGroup &groupB)
 
bool operator== (const UncertaintyGroup &groupA, const UncertaintyGroup &groupB)
 
 DECLARECELLCALC (JetCalcnLeadingCells, JetCalcnLeadingCells_fromCells, m_id=JetAttribute::N90Cells;)
 
 DECLARECELLCALC (JetCalcOutOfTimeEnergyFraction, JetCalcOutOfTimeEnergyFraction_fromCells,)
 
 DECLARECELLCALC (JetCalcTimeCells, JetCalcTimeCells_fromCells,)
 
 DECLARECELLCALC (JetCalcAverageLArQualityF, JetCalcAverageLArQualityF_fromCells,)
 
 DECLARECELLCALC (JetCalcQualityHEC, JetCalcQualityHEC_fromCells,)
 
 DECLARECELLCALC (JetCalcQuality, JetCalcQuality_fromCells,)
 
 DECLARECELLCALC (JetCalcNegativeEnergy, JetCalcNegativeEnergy_fromCells,)
 
 DECLARECELLCALC (JetCalcCentroid, JetCalcCentroid_fromCells,)
 
xAOD::JetFourMom_t clusterOriginCorrection (const xAOD::Jet &jet, const xAOD::Vertex &vx)
 returns 4-vector of the jet relative to the vertex More...
 
xAOD::JetFourMom_t clusterOriginCorrection (const xAOD::Jet &jet, const xAOD::Vertex &vx, const xAOD::CaloCluster::State state=xAOD::CaloCluster::UNKNOWN)
 
bool timeAndQualityDefined (const CaloCell *theCell)
 

Typedef Documentation

◆ Accessor

template<typename T >
using jet::Accessor = typedef SG::AuxElement::Accessor< T >

Definition at line 10 of file JetAttributeHisto.cxx.

◆ cellset_t

typedef std::unordered_set<Identifier> jet::cellset_t

Definition at line 86 of file MissingCellListTool.h.

◆ ClusterSequence

typedef fastjet::ClusterSequence jet::ClusterSequence

Definition at line 21 of file ClusterSequence.h.

◆ PseudoJetMap

typedef std::map<const xAOD::Jet*, const fastjet::PseudoJet*> jet::PseudoJetMap

Definition at line 22 of file PseudoJetMap.h.

◆ PseudoJetVector

typedef std::vector<fastjet::PseudoJet> jet::PseudoJetVector

Definition at line 21 of file PseudoJetVector.h.

Function Documentation

◆ clusterOriginCorrection() [1/2]

xAOD::JetFourMom_t jet::clusterOriginCorrection ( const xAOD::Jet jet,
const xAOD::Vertex vx 
)

returns 4-vector of the jet relative to the vertex

Parameters
jetthe Jet
vxthe Vertex relative to which to compute the returned 4-vector
Returns
4-vector corrected w.r.t vx

The cluster constituents of jet are retrieved, set at the scale they were used to find jet, corrected according to vx. The 4-vector sum of this corrected cluster is returned

◆ clusterOriginCorrection() [2/2]

xAOD::JetFourMom_t jet::clusterOriginCorrection ( const xAOD::Jet jet,
const xAOD::Vertex vx,
const xAOD::CaloCluster::State  state = xAOD::CaloCluster::UNKNOWN 
)

Definition at line 12 of file JetOriginHelpers.cxx.

12  {
13 
14 
15  xAOD::CaloCluster::State constitScale = state;
16  if(constitScale==xAOD::CaloCluster::UNKNOWN) constitScale = (xAOD::CaloCluster::State) jet.getConstituentsSignalState();
17 
18  int numC = jet.numConstituents();
19  const Amg::Vector3D& vxpos= vx.position();
20 
21  xAOD::IParticle::FourMom_t corrP4(0,0,0,0);
22 
23  for(int i=0; i<numC;i++){
24  const xAOD::CaloCluster* cl = dynamic_cast<const xAOD::CaloCluster*>(jet.rawConstituent(i) );
25  if( ! cl ) continue;
26 
27  xAOD::CaloVertexedTopoCluster corrCl(*cl, constitScale, vxpos );
28  xAOD::IParticle::FourMom_t p4CorrCl=corrCl.p4();
29  if(cl->e(constitScale) < 0.) p4CorrCl*=-1.;
30  corrP4 += p4CorrCl;
31  }
32 
33  xAOD::JetFourMom_t corrJet;
34  corrJet.SetPxPyPzE(corrP4.Px(), corrP4.Py(), corrP4.Pz(), corrP4.E() );
35  return corrJet;
36 
37  }

◆ colonSplit()

void jet::colonSplit ( const string &  in,
string &  s1,
string &  s2,
string &  s3 
)

helper

Definition at line 242 of file JetIsolationTool.cxx.

242  {
243  s2=""; s3="";
244  std::stringstream str(in);
245  std::getline(str, s1, ':' );
246  std::getline(str, s2, ':');
247  std::getline(str, s3);
248  }

◆ DECLARECELLCALC() [1/8]

jet::DECLARECELLCALC ( JetCalcAverageLArQualityF  ,
JetCalcAverageLArQualityF_fromCells   
)

◆ DECLARECELLCALC() [2/8]

jet::DECLARECELLCALC ( JetCalcCentroid  ,
JetCalcCentroid_fromCells   
)

◆ DECLARECELLCALC() [3/8]

jet::DECLARECELLCALC ( JetCalcNegativeEnergy  ,
JetCalcNegativeEnergy_fromCells   
)

◆ DECLARECELLCALC() [4/8]

jet::DECLARECELLCALC ( JetCalcnLeadingCells  ,
JetCalcnLeadingCells_fromCells  ,
m_id  = JetAttribute::N90Cells; 
)

◆ DECLARECELLCALC() [5/8]

jet::DECLARECELLCALC ( JetCalcOutOfTimeEnergyFraction  ,
JetCalcOutOfTimeEnergyFraction_fromCells   
)

◆ DECLARECELLCALC() [6/8]

jet::DECLARECELLCALC ( JetCalcQuality  ,
JetCalcQuality_fromCells   
)

◆ DECLARECELLCALC() [7/8]

jet::DECLARECELLCALC ( JetCalcQualityHEC  ,
JetCalcQualityHEC_fromCells   
)

◆ DECLARECELLCALC() [8/8]

jet::DECLARECELLCALC ( JetCalcTimeCells  ,
JetCalcTimeCells_fromCells   
)

◆ operator<() [1/2]

bool jet::operator< ( const UncertaintyComponent componentA,
const UncertaintyComponent componentB 
)

Definition at line 13 of file UncertaintyComponent.cxx.

14 {
15  return componentA.getName() < componentB.getName();
16 }

◆ operator<() [2/2]

bool jet::operator< ( const UncertaintyGroup groupA,
const UncertaintyGroup groupB 
)

Definition at line 13 of file UncertaintyGroup.cxx.

14 {
15  return groupA.getName() < groupB.getName();
16 }

◆ operator==() [1/2]

bool jet::operator== ( const UncertaintyComponent componentA,
const UncertaintyComponent componentB 
)

Definition at line 18 of file UncertaintyComponent.cxx.

19 {
20  return componentA.getName() == componentB.getName();
21 }

◆ operator==() [2/2]

bool jet::operator== ( const UncertaintyGroup groupA,
const UncertaintyGroup groupB 
)

Definition at line 18 of file UncertaintyGroup.cxx.

19 {
20  return groupA.getName() == groupB.getName();
21 }

◆ timeAndQualityDefined()

bool jet::timeAndQualityDefined ( const CaloCell theCell)

Definition at line 84 of file JetCaloCellQualityUtils.cxx.

84  {
85  // ensure timing information is defined
86  bool timeIsDefined(false);
87  if(theCell->caloDDE()->is_tile())
88  {
89  if ( (theCell->provenance()) & 0x8080)
90  timeIsDefined = true;
91  }
92  else //is_lar
93  {
94  if ( (theCell->provenance() & 0x2000) &&
95  !(theCell->provenance() & 0x0800 ) // do not take masked-patched cells int
96  ) timeIsDefined = true;
97  }
98  return timeIsDefined;
99  }
ReadCellNoiseFromCoolCompare.s1
s1
Definition: ReadCellNoiseFromCoolCompare.py:378
xAOD::CaloCluster_v1::State
State
enum of possible signal states.
Definition: CaloCluster_v1.h:304
xAOD::Vertex_v1::position
const Amg::Vector3D & position() const
Returns the 3-pos.
CaloCell::provenance
uint16_t provenance() const
get provenance (data member)
Definition: CaloCell.h:338
xAOD::IParticle::FourMom_t
TLorentzVector FourMom_t
Definition of the 4-momentum type.
Definition: Event/xAOD/xAODBase/xAODBase/IParticle.h:69
xAOD::CaloCluster_v1
Description of a calorimeter cluster.
Definition: CaloCluster_v1.h:59
jet
Definition: JetCalibTools_PlotJESFactors.cxx:23
lumiFormat.i
int i
Definition: lumiFormat.py:85
CaloCell::caloDDE
const CaloDetDescrElement * caloDDE() const
get pointer to CaloDetDescrElement (data member)
Definition: CaloCell.h:305
CaloDetDescrElement::is_tile
bool is_tile() const
cell belongs to Tile
Definition: Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h:442
xAOD::JetFourMom_t
ROOT::Math::LorentzVector< ROOT::Math::PtEtaPhiM4D< double > > JetFourMom_t
Base 4 Momentum type for Jet.
Definition: JetTypes.h:17
ReadCellNoiseFromCoolCompare.s3
s3
Definition: ReadCellNoiseFromCoolCompare.py:380
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition: GeoPrimitives.h:47
python.CaloScaleNoiseConfig.str
str
Definition: CaloScaleNoiseConfig.py:78
ReadCellNoiseFromCoolCompare.s2
s2
Definition: ReadCellNoiseFromCoolCompare.py:379
str
Definition: BTagTrackIpAccessor.cxx:11
xAOD::CaloVertexedTopoCluster
Evaluate cluster kinematics with a different vertex / signal state.
Definition: Event/xAOD/xAODCaloEvent/xAODCaloEvent/CaloVertexedTopoCluster.h:38
dq_make_web_display.cl
cl
print [x.__class__ for x in toList(dqregion.getSubRegions()) ]
Definition: dq_make_web_display.py:26
xAOD::CaloCluster_v1::UNKNOWN
@ UNKNOWN
Definition: CaloCluster_v1.h:305