48 std::vector<float>::const_iterator i=pers->
m_allTheData.begin();
49 int first = (int)((*i)*1e-5);
50 int second = ((int)(*i)) % 100000;
105 union toConv {
int i;
float f;} m;
111 if (i < pers->m_allTheData.end()) {
112 trans->
setNumCells (
static_cast<unsigned int>((*i++)));
121 if (i < pers->m_allTheData.end())
141 if (i < pers->m_allTheData.end())
162 if (i < pers->m_allTheData.end())
170 assert (i <= pers->m_allTheData.end());
178 CLHEP::HepLorentzVector sumPi0Vec;
256 union toConv {
int i;
float f;} m;
This file contains the class definition for the ElementLinkCnv_p1 class.
This file contains the class definition for the ElementLinkVectorCnv_p1 class.
static const ClusterLinkCnv_t clusterCnv
TPPolyCnvBase< TRANS_BASE, TRANS, PERS > T_AthenaPoolTPPolyCnvBase
static const ElementLinkVectorCnv_p1< ElementLinkVector< CaloClusterContainer > > clusterVectCnv
Converter for cluster vector.
static const HepLorentzVectorCnv_p1 hepLorentzVectorCnv
Converter for Hep lorentz vector.
static const ElementLinkVectorCnv_p1< ElementLinkVector< Rec::TrackParticleContainer > > tracksCnv
static const ElementLinkVectorCnv_p1< ElementLinkVector< Rec::TrackParticleContainer > > conversionTracksCnv
static const ElementLinkVectorCnv_p1< ElementLinkVector< Rec::TrackParticleContainer > > otherTrkCnv
static const ElementLinkVectorCnv_p1< ElementLinkVector< Rec::TrackParticleContainer > > seedTrk_wideTrkCnv
static const ElementLinkVectorCnv_p1< ElementLinkVector< Rec::TrackParticleContainer > > seedCalo_wideTrkCnv
Declaration of details class for tau event.
Basic detail class containing information for track and calo seeded tau reconstruction algorithms.
double seedTrk_isolFrac() const
Get the isolation fraction.
void setLeadTrkPt(double pt)
Set leading track p_T.
double topoMeanDeltaR() const
get mean distance to leading topocluster for topoclusters of jet associated to tau candidate
unsigned int numTopoClusters() const
get number of topocluster constituents of jet associated to tau candidate
double seedCalo_lead2ClusterEOverAllClusterE() const
Get sum of 2 leading cluster energy over all cluster energy.
double topoInvMass() const
get invariant mass from topoclusters of jet associated to tau candidate
void setSeedCalo_nStrip(int nStrip)
Set number of strips.
const Rec::TrackParticle * seedCalo_wideTrk(unsigned int i) const
Get seedCalo wide track.
double seedTrk_etNeuEM() const
Get E_T of neutral EM cells.
double seedCalo_caloIso() const
Get sum of transvers energy of clusters around jet seed within 0.2 < dR < 0.4.
double seedTrk_etChrgEM() const
Get E_T of charged EM cells.
const Rec::TrackParticle * seedTrk_wideTrk(unsigned int i) const
Get seedTrk wide track.
void setSeedCalo_etEMAtEMScale(double energy)
Set EM energy at EM scale.
double etOverPtLeadTrk() const
Get leading E_T to p_T ratio.
double seedTrk_etResNeuEM() const
Get eflow correction term.
void setSeedTrk_nOtherCoreTrk(int n)
Set number of other tracks.
void setSeedCalo_dRmax(double dRmax)
Set maximal dR of tracks associated to calo-seeded tau.
double chrgLooseTrk() const
Get chrg of loose tracks.
void set_EM_TES_scale(double value)
set EM+TES final scale
void setIpSigLeadTrk(double significance)
Set impact parameter significance.
void setMassTrkSys(double mass)
Set track system invariant mass.
void setSeedTrk_etChrgEM(double et)
Set E_T of charged EM cells.
double seedCalo_stripWidth2() const
Get strip width ^2.
const Trk::RecVertex * secVtx() const
Get secondary vertex.
double seedCalo_etEMAtEMScale() const
Get EM energy at EM scale.
void setSeedTrk_etIsolHad(double etIsolHad)
Set transverse energy in EM calo.
void setEtOverPtLeadTrk(double ratio)
Set leading E_T to p_T ratio.
void setCellBasedEnergyRing1(double value)
double ele_PresamplerFraction() const
get fraction of EM cluster energy in presampler
void setSeedCalo_trkAvgDist(double trkAvgDist)
Set average track distance to calorimeter seed.
void setEtOverPtLeadLooseTrk(double ratio)
Set E_t to p_T ratio for rau candidate leading loose track.
double EM_TES_scale() const
EM+TES final scale.
void setTrkWidth2(double trkWidth2)
Set track width ^2.
double seedTrk_EMRadius() const
Get EM radius.
double seedCalo_phi() const
Get phi of TauJet calculated from calorimeter.
void setEffTopoInvMass(double value)
set invariant mass from effective topoclusters of jet associated to tau candidate
void setTopoInvMass(double value)
set invariant mass from topoclusters of jet associated to tau candidate
void setSeedCalo_centFrac(double centFrac)
Set centrality fraction.
void setSeedTrk_etEMAtEMScale(double et)
Set hadronic E_T at EM scale.
void setSeedTrk_etChrgEM01Trk(unsigned int i, double et)
Set transverse energy around track.
void setSeedTrk_secMaxStripEt(double et)
Set hadronic leakage in Et summed over cells.
double seedTrk_secMaxStripEt() const
Get hadronic leakage in Et summed over cells.
double TauJetVtxFraction() const
Tau Jet Vertex Fraction.
void setSeedTrk_etIsolEM(double etIsolEM)
Set transverse energy in EM calo.
void setSeedTrk_isolFracWide(double fraction)
Set wide solation fraction.
void setSeedTrk_stripWidth2(double stripWidth2)
Set the strip width ^2.
const Rec::TrackParticle * looseConvTrk(unsigned int i) const
Get loose track.
double seedTrk_etHadAtEMScale() const
Get hadronic E_T at EM scale.
int seedTrk_nStrip() const
Get the number of strip cells.
double seedTrk_stripWidth2() const
Get the strip width ^2.
double seedTrk_etIsolHad() const
Get transverse energy in Had calo.
void setCellBasedEnergyRing2(double value)
void setSeedTrk_etNeuEM(double et)
Set E_T of neutral EM cells.
double trkWidth2() const
Get track width ^2.
double seedTrk_etChrgHad() const
Get charged E_T in hadronic calorimeter.
int seedTrk_nIsolTrk() const
Get number of isolated tracks.
void setSeedTrk_etEMCL(double et)
Set E_T of pure EM cells.
void setNumTopoClusters(unsigned int value)
set number of topocluster constituents of jet associated to tau candidate
void setSeedCalo_lead3ClusterEOverAllClusterE(double lead3ClusterEOverAllClusterE)
Set sum of 3 leading cluster energy over all cluster energy.
void setCellBasedEnergyRing6(double value)
double seedTrk_etIsolEM() const
Get transverse energy in EM calo.
void setNumEffTopoClusters(double value)
set number of effective topocluster constituents of jet associated to tau candidate !...
void setSeedCalo_phi(double phi)
Set phi of TauJet calculated from calorimeter.
void setCellBasedEnergyRing7(double value)
void setTauJetVtxFraction(double value)
void setSeedTrk_isolFrac(double isolFrac)
Set the isolation fraction.
double cellBasedEnergyRing3() const
Ring 3: 0.075 < R < 0.10.
void setSeedTrk_etResNeuEM(double et)
Set eflow correction term.
void setSeedTrk_etChrgHad(double et)
Set charged E_T in hadronic calorimeter.
double TRT_NHT_OVER_NLT() const
TRT hits high threshold over low threshold.
void setSeedCalo_hadRadius(double hadRadius)
Set hadron calorimeter radius.
void setEle_E237E277(double value)
set ratio of energy in window of 3X7 cells over 7X7 cells in second layer of ECAL
double seedTrk_etEMCL() const
Get E_T of pure EM cells.
void setSeedCalo_etEMCalib(double etEMCalib)
Set calibrated EM transverse energy.
double mEflow() const
Get mass from energy flow.
double seedCalo_eta() const
Get eta of TauJet calculated from calorimeter.
double effTopoMeanDeltaR() const
get mean distance to leading topocluster for effective topoclusters of jet associated to tau candidat...
void setSeedTrk_etResChrgEMTrk(unsigned int i, double et)
Set correction term for eflow calculations per track.
void setTRT_NHT_OVER_NLT(double value)
double seedCalo_trkAvgDist() const
Get the average track distance to calorimeter seed.
void setSeedCalo_caloIsoCorrected(double caloIsoCorrected)
Set sum of transvers energy of clusters around jet seed within 0.2 < dR < 0.4 (pile up corrected)
unsigned int numCells() const
get number of cells associated to tau candidate
double seedTrk_sumEMCellEtOverLeadTrkPt() const
Get ratio of LAr+EM E_T / leading track p_T.
double LC_TES_precalib() const
LC+TES precalibration.
double seedCalo_etEMCalib() const
Get calibrated EM transverse energy.
void setCellBasedEnergyRing3(double value)
void setEtEflow(double et)
Set E_T from energy flow.
void setSeedCalo_EMRadius(double EMRadius)
Set E_T radius.
double cellBasedEnergyRing5() const
Ring 5: 0.125 < R < 0.15.
double effTopoInvMass() const
get invariant mass from effective topoclusters of jet associated to tau candidate
void setEle_PresamplerFraction(double value)
set fraction of EM cluster energy in presampler
void setNumCells(unsigned int value)
set number of cells associated to tau candidate
double seedTrk_hadLeakEt() const
Get hadronic leakage in Et summed over cells.
void setSeedTrk_EMRadius(double EMRadius)
Set EM radius.
void setSeedTrk_hadLeakEt(double et)
Set hadronic leakage in Et summed over cells.
double seedCalo_trkRmsDist() const
Get the RMS of track distance to calorimeter seed.
void setSeedCalo_etHadCalib(double etHadCalib)
Set calibrated hadronic transverse energy.
void setSeedCalo_trkRmsDist(double trkRmsDist)
Set RMS of track distance to calorimeter seed.
const std::vector< double > & seedTrk_etResChrgEMTrkVector() const
void setMEflow(double m)
Set mass from energy flow.
void setSeedTrk_etHadAtEMScale(double et)
Set hadronic E_T at EM scale.
double seedTrk_isolFracWide() const
Get wide solation fraction.
double etEflow() const
Get E_T from energy flow.
double trFlightPathSig() const
Get Transverse flight path significance.
double seedCalo_EMRadius() const
Get E_T radius.
double ipSigLeadTrk() const
Get impact parameter significance.
double cellBasedEnergyRing2() const
Ring 2: 0.05 < R < 0.075.
void setSeedCalo_isolFrac(double isolFrac)
Set isolation fraction.
void setSeedCalo_caloIso(double caloIso)
Set sum of transvers energy of clusters around jet seed within 0.2 < dR < 0.4.
double massTrkSys() const
Get track system invariant mass.
double leadTrkPt() const
Get leading track p_T.
const ElementLinkVector< CaloClusterContainer > & pi0LinkVec() const
Get pi0 cluster vector (const)
void setEffTopoMeanDeltaR(double value)
set mean distance to leading topocluster for effective topoclusters of jet associated to tau candidat...
double ele_ECALFirstFraction() const
get fraction of EM cluster energy in first layer of ECAL
double cellBasedEnergyRing4() const
Ring 4: 0.10 < R < 0.125.
void setSumPi0Vec(const CLHEP::HepLorentzVector &sumPi0Vec)
Set the Pi0 energy sum vector.
void setSeedTrk_nStrip(int nStrip)
Set the number of strip cells.
void setCellBasedEnergyRing4(double value)
double cellBasedEnergyRing7() const
Ring 7: 0.2 < R < 0.4.
void setEle_ECALFirstFraction(double value)
set fraction of EM cluster energy in first layer of ECAL
int seedTrk_nOtherCoreTrk() const
Get number of other tracks.
double seedCalo_lead3ClusterEOverAllClusterE() const
Get sum of 3 leading cluster energy over all cluster energy.
void setCellBasedEnergyRing5(double value)
void setIpSigLeadLooseTrk(double significance)
Set impact parameter significance.
double ele_E237E277() const
name accessors for electron LLH variables
void setChrgLooseTrk(double charge)
Set chrg of loose tracks.
void setSeedCalo_etHadAtEMScale(double energy)
Set hadronic energy at EM scale.
const std::vector< double > & seedTrk_etChrgEM01TrkVector() const
const Rec::TrackParticle * otherTrk(unsigned int i) const
Get other track.
double seedCalo_nIsolLooseTrk() const
Get number of isolated tracks.
void setTrFlightPathSig(double significance)
Set Transverse flight path significance.
double seedCalo_hadRadius() const
Get hadron calorimeter radius.
double seedTrk_etChrgHadOverSumTrkPt() const
Get E_T over p_T.
double seedCalo_isolFrac() const
Get isolation fraction.
int seedCalo_nStrip() const
Get number of strips.
void setSeedTrk_etChrgHadOverSumTrkPt(double fraction)
Set E_T over p_T.
void setSeedCalo_nIsolLooseTrk(double nIsolTRk)
Set number of isolated tracks.
double seedCalo_etHadAtEMScale() const
Get Hadronic energy at EM scale.
void setIpZ0SinThetaSigLeadTrk(double significance)
Set significance of z0SinTheta.
void setSecVtx(const Trk::RecVertex *secVtx)
Set secondary vertex.
double seedCalo_caloIsoCorrected() const
Get sum of transvers energy of clusters around jet seed within 0.2 < dR < 0.4 (pile up corrected)
double leadLooseTrkPt() const
Get p_T of leading loose track.
double seedTrk_etEMAtEMScale() const
Get hadronic E_T at EM scale.
double seedCalo_etHadCalib() const
Get calibrated hadronic transverse energy.
void setLeadLooseTrkPt(double pT)
Set p_T of leading loose track.
double ipSigLeadLooseTrk() const
Get impact parameter significance.
double etOverPtLeadLooseTrk() const
Get E_t to p_T ratio for rau candidate leading loose track.
const CLHEP::HepLorentzVector & sumPi0Vec() const
Get the Pi0 energy sum vector.
double cellBasedEnergyRing1() const
Ring 1: 0.00 < R < 0.05.
void setTopoMeanDeltaR(double value)
set mean distance to leading topocluster for topoclusters of jet associated to tau candidate
double seedCalo_dRmax() const
Get maximal dR of tracks associated to calo-seeded tau.
void setSeedTrk_nIsolTrk(int n)
Set number of tracks.
const Rec::TrackParticle * looseTrk(unsigned int i) const
Get loose track.
const ElementLink< CaloClusterContainer > & cellEM012ClusterLink() const
Get ElementLink to EM calorimeter cell cluster (const)
void setSeedCalo_stripWidth2(double stripWidth2)
Set strip width ^2.
void setSeedCalo_eta(double eta)
Set eta of TauJet calculated from calorimeter.
double seedCalo_centFrac() const
Get centrality fraction.
double cellBasedEnergyRing6() const
Ring 6: 0.15 < R < 0.2.
void set_LC_TES_precalib(double value)
set LC+TES precalibration
void setSeedTrk_sumEMCellEtOverLeadTrkPt(double ratio)
Set LAr+EM E_T / leading track p_T.
void setSeedCalo_lead2ClusterEOverAllClusterE(double lead2ClusterEOverAllClusterE)
Set sum of 2 leading cluster energy over all cluster energy.
double ipZ0SinThetaSigLeadTrk() const
Get significance of z0SinTheta.
double numEffTopoClusters() const
get number of effective topocluster constituents of jet associated to tau candidate !...
CNV::Trans_t * createTransFromPStore(CNV **cnv, const TPObjRef &ref, MsgStream &log) const
TPObjRef toPersistent(CNV **cnv, const typename CNV::TransBase_t *transObj, MsgStream &log) const
TauCommonDetailsCnv_p2()
Constructor.
virtual void transToPers(const Analysis::TauCommonDetails *trans, TauCommonDetails_p2 *pers, MsgStream &msg)
Fills a persistent object from a transient object.
virtual ~TauCommonDetailsCnv_p2()
Destructor.
RecVertexCnv_p1 * m_recVertexCnv
Reconstruction vertex converter.
virtual void persToTrans(const TauCommonDetails_p2 *pers, Analysis::TauCommonDetails *trans, MsgStream &msg)
Fills a transient object from a persistent object.
Persistent class dor Analysis::TauCommonDetails.
TPObjRef m_secVtx
Secondary vertex.
ElementLinkIntVector_p1 m_looseConvTrk
Loose conversion track links.
ElementLinkIntVector_p1 m_pi0
Pi0 cluster links.
std::vector< float > m_allTheData
Vector containing all the data.
ElementLinkInt_p1 m_cellEM012Cluster
EM calo clusters.
ElementLinkIntVector_p1 m_seedTrk_wideTrk
SeedTrk wide tracks.
ElementLinkIntVector_p1 m_looseTrk
Loose track links.
HepLorentzVector_p1 m_sumPi0Vec
Pi0 sum vector.
ElementLinkIntVector_p1 m_seedCalo_wideTrk
SeedCalo wide tracks.
ElementLinkIntVector_p1 m_otherTrk
Other tracks.
The namespace of all packages in PhysicsAnalysis/JetTagging.