CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_0/src/DataFormats/PatCandidates/src/TauCaloSpecific.cc

Go to the documentation of this file.
00001 #include "DataFormats/PatCandidates/interface/TauCaloSpecific.h"
00002 
00003 pat::tau::TauCaloSpecific::TauCaloSpecific(const reco::CaloTau &tau) :
00004     CaloTauTagInfoRef_(tau.caloTauTagInfoRef()),
00005     leadTracksignedSipt_(tau.leadTracksignedSipt()),
00006     leadTrackHCAL3x3hitsEtSum_(tau.leadTrackHCAL3x3hitsEtSum()),
00007     leadTrackHCAL3x3hottesthitDEta_(tau.leadTrackHCAL3x3hottesthitDEta()),
00008     signalTracksInvariantMass_(tau.signalTracksInvariantMass()),
00009     TracksInvariantMass_(tau.TracksInvariantMass()), 
00010     isolationTracksPtSum_(tau.isolationTracksPtSum()),
00011     isolationECALhitsEtSum_(tau.isolationECALhitsEtSum()),
00012     maximumHCALhitEt_(tau.maximumHCALhitEt())
00013 {
00014   p4Jet_ = tau.caloTauTagInfoRef()->calojetRef()->p4();
00015   reco::Jet::EtaPhiMoments etaPhiStatistics = tau.caloTauTagInfoRef()->calojetRef()->etaPhiStatistics();
00016   etaetaMoment_ = etaPhiStatistics.etaEtaMoment;
00017   phiphiMoment_ = etaPhiStatistics.phiPhiMoment;
00018   etaphiMoment_ = etaPhiStatistics.etaPhiMoment;
00019 }