|
ATLAS Offline Software
|
Go to the documentation of this file.
16 m_ipZ0SinThetaSigLeadTrk(nullptr),
17 m_etOverPtLeadTrk(nullptr),
18 m_ipSigLeadTrk(nullptr),
19 m_massTrkSys(nullptr),
21 m_trFlightPathSig(nullptr),
29 m_stripWidth2(nullptr),
31 m_trkAvgDist(nullptr),
32 m_lead2ClusterEOverAllClusterE(nullptr),
33 m_lead3ClusterEOverAllClusterE(nullptr),
35 m_mEflowTopo(nullptr),
36 m_ptRatioEflowTopo(nullptr),
38 m_PSSFraction(nullptr),
39 m_ChPiEMEOverCaloEME(nullptr),
40 m_EMPOverTrkSysP(nullptr),
41 m_innerTrkAvgDist(nullptr),
42 m_ptRatioEflowApprox(nullptr),
43 m_mEflowApprox(nullptr),
44 m_sTauJetContainerName(std::move(sTauJetContainerName))
80 m_track_logPt =
Book1D(
"track_logPt" ,
"track log(p_{T});track log(p_{T});Entries",50,6.,15);
82 m_track_d0TJVA =
Book1D(
"track_d0TJVA" ,
"track tanh(d0TJVA);track tanh(d0TJVA);Entries",50,-0.1,0.1);
89 m_track_tanhRConvII =
Book1D(
"track_tanhRConvII" ,
"track tanh(rConvII/500);track tanh(rConvII/500);Entries",50,-0.4,0.4);
107 m_cluster_logEt =
Book1D(
"cluster_logEt" ,
"log(cluster E_{T});log(cluster E_{T});Entries",50,1.5,6.5);
114 m_cluster_EMproba =
Book1D(
"cluster_EMproba" ,
"cluster EM_PROBABILITY;cluster EM_PROBABILITY;Entries",20,0.,1.);
124 m_TVz =
Book1D(
"tauVertexZ",
"tau vertex z:tau vertex z [mmm]",24,-120.,120.);
129 float avariable = 0.;
203 double logTauSeedPt =
std::log(tauSeedPt);
217 if(!trackAcc(*
track)[0]) {
225 float z0SinthetaTJVA =
track->z0sinThetaTJVA(tau);
229 float rConvII = 999.;
232 z0SinthetaTJVA =
track->z0sinthetaTJVA();
235 rConv =
track->rConv();
236 rConvII =
track->rConvII();
243 uint8_t nInnermostPixelLayerHits = 0;
295 float chargedScore = acc_trackScoreCharged(*
track);
296 float isolationScore = acc_trackScoreIso(*
track);
297 float conversionScore = acc_trackScoreConv(*
track);
298 float fakeScore = 1. - chargedScore - isolationScore - conversionScore;
311 std::vector<const xAOD::IParticle*> particleList = tau.
clusters();
312 std::vector<xAOD::CaloVertexedTopoCluster>
clusters;
319 clusters.emplace_back(*cluster, xAOD::CaloCluster::State::CALIBRATED,
vertex->position());
322 clusters.emplace_back(*cluster, xAOD::CaloCluster::State::CALIBRATED);
329 return lhs.
p4().Et() > rhs.p4().Et();
339 for(
const auto& vertexedCluster :
clusters) {
356 if(moment!=0.) moment = std::log10(std::abs(moment));
virtual double pt() const override final
The transverse momentum ( ) of the particle.
@ numberOfPixelHoles
number of pixel layers on track with absence of hits [unit8_t].
TH1 * m_track_nSCTSharedHits
TH1 * m_track_eProbabilityHT
bool CENTER_LAMBDA(const xAOD::TauJet &, const xAOD::CaloVertexedTopoCluster &cluster, double &out)
virtual FourMom_t p4() const final
The full 4-momentum of the particle.
std::string m_sTauJetContainerName
constexpr ParticleHypothesis particle[PARTICLEHYPOTHESES]
the array of masses
TH1 * m_lead2ClusterEOverAllClusterE
@ numberOfSCTSharedHits
number of SCT hits shared by several tracks [unit8_t].
TH1 * m_track_idScoreConv
TH1 * m_track_nInnermostPixHits
bool EM_PROBABILITY(const xAOD::TauJet &, const xAOD::CaloVertexedTopoCluster &cluster, double &out)
@ lead2ClusterEOverAllClusterE
Get sum of 2 leading cluster energy over all cluster energy.
Helper class to provide type-safe access to aux data.
float charge() const
Returns the charge.
@ ClustersMeanSecondLambda
TH1 * m_cluster_centerLambda
bool summaryValue(uint8_t &value, const SummaryType &information) const
Accessor for TrackSummary values.
size_t nTracks(TauJetParameters::TauTrackFlag flag=TauJetParameters::TauTrackFlag::classifiedCharged) const
TH1 * m_ChPiEMEOverCaloEME
@ ClustersMeanPresamplerFrac
float z0sinthetaSigTJVA() const
@ numberOfPixelHits
these are the pixel hits, including the b-layer [unit8_t].
@ numberOfTRTHits
number of TRT hits [unit8_t].
@ lead3ClusterEOverAllClusterE
Get sum of 3 leading cluster energy over all cluster energy.
TH1 * m_track_idScoreCharged
Class providing the definition of the 4-vector interface.
float nPixelHits(const U &p)
bool isValid() const
Test to see if the link can be dereferenced.
@ hadRadius
Get hadron calorimeter radius.
@ numberOfTRTHighThresholdHits
number of TRT hits which pass the high threshold (only xenon counted) [unit8_t].
std::vector< const IParticle * > clusters() const
@ stripWidth2
Get strip width ^2.
float nSCTSharedHits(const U &p)
TH1D * Book1D(const std::string &name, const std::string &labels, int nBins, float start, float end, bool prependDir=true)
Book a TH1D histogram.
@ centFrac
Get centrality fraction.
@ dRmax
Get maximal dR of tracks associated to calo-seeded tau.
TH1 * m_track_z0sinthetaSigTJVA
TH1 * m_clustersMeanFirstEngDens
NewCorePlots(PlotBase *pParent, const std::string &sDir, std::string sTauJetContainerName)
Description of a calorimeter cluster.
@ numberOfPixelSharedHits
number of Pixel all-layer hits shared by several tracks [unit8_t].
@ caloIso
Get sum of transvers energy of clusters around jet seed within 0.2 < dR < 0.4
float nSCTHits(const U &p)
float nTRTHits(const U &p)
bool z0sinthetaSigTJVA(const xAOD::TauJet &, const xAOD::TauTrack &track, double &out)
TH1 * m_track_z0SinthetaTJVA
@ trkAvgDist
Get calibrated EM transverse energy (DEPRECATED since r19)
@ eProbabilityNN
Electron probability from NN.
Class describing a tau jet.
TH1 * m_track_eProbabilityNN
const TauTrack * track(size_t i, TauJetParameters::TauTrackFlag flag=TauJetParameters::TauTrackFlag::classifiedCharged, int *container_index=0) const
Get the pointer to a given tauTrack associated with this tau /*container index needed by trackNonCons...
bool retrieveMoment(MomentType type, double &value) const
Retrieve individual moment.
TH1 * m_clustersMeanSecondLambda
bool SECOND_LAMBDA(const xAOD::TauJet &, const xAOD::CaloVertexedTopoCluster &cluster, double &out)
TH1 * m_clustersMeanPresamplerFrac
@ numberOfSCTHoles
number of SCT holes [unit8_t].
TH1 * m_track_nPixelSharedHits
bool trackPt(const xAOD::TauJet &, const xAOD::TauTrack &track, double &out)
TH1 * m_cluster_firstEngDens
bool detail(TauJetParameters::Detail detail, int &value) const
Set veto flag.
float qOverP() const
Returns the parameter.
TH1 * m_track_idScoreFake
@ ClustersMeanEMProbability
@ ClustersMeanCenterLambda
bool SECOND_R(const xAOD::TauJet &, const xAOD::CaloVertexedTopoCluster &cluster, double &out)
@ nStrip
Get number of strips.
Evaluate cluster kinematics with a different vertex / signal state.
float nPixelSharedHits(const U &p)
Class describing a Vertex.
TH1 * m_lead3ClusterEOverAllClusterE
void fill(const xAOD::TauJet &tau, float weight)
const Vertex * vertex() const
@ numberOfSCTDeadSensors
number of dead SCT sensors crossed [unit8_t].
virtual FourMom_t p4() const
The full 4-momentum of the particle.
TH1 * m_ipZ0SinThetaSigLeadTrk
TH1 * m_ptRatioEflowApprox
bool FIRST_ENG_DENS(const xAOD::TauJet &, const xAOD::CaloVertexedTopoCluster &cluster, double &out)
@ ClustersMeanFirstEngDens
@ eProbabilityHT
Electron probability from High Threshold (HT) information [float].
@ isolFrac
Get isolation fraction.
TH1 * m_track_eProbabilityHTorNN
@ numberOfSCTHits
number of hits in SCT [unit8_t].
bool isAvailable(const ELT &e) const
Test to see if this variable exists in the store.
@ numberOfPixelDeadSensors
number of dead pixel sensors crossed [unit8_t].
bool d0TJVA(const xAOD::TauJet &, const xAOD::TauTrack &track, double &out)
TH1 * m_track_ptRatioSeedJet
Class describing a TrackParticle.
Helper class to provide constant type-safe access to aux data.
float nTRTHighThresholdHits(const U &p)
Evaluate cluster kinematics with a different vertex / signal state.
@ EMRadius
Get E_T radius.
TH1 * m_cluster_secondLambda
TH1 * m_clustersMeanCenterLambda
std::vector< const TauTrack * > allTracks() const
Get the v<const pointer> to all tracks associated with this tau, regardless of classification.
const VertexLink_t & vertexLink() const
bool d0SigTJVA(const xAOD::TauJet &, const xAOD::TauTrack &track, double &out)
TH1 * m_clustersMeanEMProbability
@ numberOfInnermostPixelLayerHits
these are the hits in the 0th pixel barrel layer
const_reference_type withDefault(const ELT &e, const T &deflt) const
Fetch the variable for one element, as a const reference, with a default.
TH1 * m_track_dRJetSeedAxis
TH1 * m_track_tanhRConvII