|
ATLAS Offline Software
|
Go to the documentation of this file.
20 m_mcChannelNumber(-999),
21 m_mcBeamSpotWeight(1.0)
32 m_mcChannelNumber(-999),
33 m_mcBeamSpotWeight(1.0)
163 m_e.push_back(
mu.e());
183 if( !(
mu.parameter(
value, xAOD::Muon::ParamDef::msInnerMatchChi2)) )
value=-999.;
185 if( !(
mu.parameter(ivalue, xAOD::Muon::ParamDef::msInnerMatchDOF)) ) ivalue=-999;
187 if( !(
mu.parameter(
value, xAOD::Muon::ParamDef::msOuterMatchChi2)) )
value=-999.;
189 if( !(
mu.parameter(ivalue, xAOD::Muon::ParamDef::msOuterMatchDOF)) ) ivalue=-999;
191 if( !(
mu.parameter(
value, xAOD::Muon::ParamDef::CaloLRLikelihood)) )
value=-999.;
193 if( !(
mu.parameter(ivalue, xAOD::Muon::ParamDef::CaloMuonIDTag)) ) ivalue=-999;
195 if( !(
mu.parameter(
value, xAOD::Muon::ParamDef::EnergyLoss)) )
value=-999.;
212 m_trkp_d0.push_back(
mu.primaryTrackParticle()->d0() );
213 m_trkp_z0.push_back(
mu.primaryTrackParticle()->z0() );
219 size_t nMuonSegments =
mu.nMuonSegments();
223 m_museg_x.push_back( std::vector<float >() );
224 m_museg_y.push_back( std::vector<float >() );
225 m_museg_z.push_back( std::vector<float >() );
233 for(
int i=0; (size_t)
i<nMuonSegments;
i++ ) {
235 m_museg_x[ muonIndx ].push_back(muonSegment->
x());
236 m_museg_y[ muonIndx ].push_back(muonSegment->
y());
237 m_museg_z[ muonIndx ].push_back(muonSegment->
z());
281 TVector3
v(caloEnt_pxAcc(truthMu),
282 caloEnt_pyAcc(truthMu),
283 caloEnt_pzAcc(truthMu));
296 TVector3
v(muonEnt_pxAcc(truthMu),
297 muonEnt_pyAcc(truthMu),
298 muonEnt_pzAcc(truthMu));
311 TVector3
v(muonExit_pxAcc(truthMu),
312 muonExit_pyAcc(truthMu),
313 muonExit_pzAcc(truthMu));
348 if(isGoodTruthTrack)
return;
350 if(truthMu.
status())
return;
std::vector< float > m_rapidity
std::vector< bool > m_th_isGoodTruthTrack
std::vector< int > m_th_truthOrigin
@ topoetcone20
Topo-cluster ET-sum.
std::vector< std::vector< unsigned int > > m_museg_chamberIndex
std::vector< int8_t > m_th_ntrigEtaLayers
@ ptvarcone20
Mini-Isolation http://arxiv.org/abs/1007.2221.
TTree * BookTree(const std::string &name, bool prependDir=true)
Book a TTree.
@ neflowisol20
Neutral eflow isolation.
uint64_t eventNumber() const
The current event's event number.
std::vector< std::vector< unsigned int > > m_museg_technology
std::vector< float > m_trkp_chiSquared
int nTrigEtaLayers() const
Returns the number of trigger eta layers.
std::vector< int8_t > m_innerSmallHits
unsigned long long m_eventNumber
std::vector< int8_t > m_th_nphiLayers
std::vector< float > m_iso_ptvarcon20
std::vector< std::vector< float > > m_museg_y
uint32_t m_mcChannelNumber
@ ptcone20
Track isolation.
Class describing a MuonSegment.
void fillTruthMuonBranches(const xAOD::TruthParticle &truthMu, bool isGoodTruthTrack)
std::vector< std::vector< int > > m_museg_sector
std::vector< double > m_th_phi
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
std::vector< std::vector< int > > m_museg_nTrigEtaLayers
uint32_t runNumber() const
The current event's run number.
@ innerLargeHits
number of precision hits in the inner large layer
std::vector< float > m_iso_neflowisol20
std::vector< size_t > m_nMuonSegments
MuonTree(PlotBase *pParent, const std::string &sDir, bool mcFlag)
uint32_t mcChannelNumber() const
The MC generator's channel number.
std::vector< int8_t > m_innerLargeHits
std::vector< float > m_trkp_d0
@ innerLargeHoles
number of precision holes in the inner large layer
void fillRecoMuonBranches(const xAOD::Muon &mu)
std::vector< std::vector< int > > m_museg_nPrecisionHits
void postFillTreeActions()
std::vector< std::vector< float > > m_museg_z
Class describing a truth particle in the MC record.
std::vector< float > m_trkp_qOverP
std::vector< std::vector< int > > m_museg_nPhiLayers
std::vector< std::vector< float > > m_museg_x
std::vector< float > m_th_MuonExit_p
std::vector< int > m_th_truthType
std::vector< int8_t > m_th_nprecLayers
std::vector< float > m_pt
::Muon::MuonStationIndex::TechnologyIndex technology() const
Returns the main technology of the segment.
int nPhiLayers() const
Returns the number of phi layers.
uint32_t lumiBlock() const
The current event's luminosity block number.
std::vector< float > m_msOuterMatchChi2
int nPrecisionHits() const
std::vector< float > m_eta
@ innerSmallHoles
number of precision holes in the inner small layer
std::vector< int > m_msInnerMatchDOF
std::vector< uint16_t > m_allAuthors
std::vector< int > m_msOuterMatchDOF
std::vector< float > m_trkp_z0
virtual double eta() const override final
The pseudorapidity ( ) of the particle.
std::vector< float > m_iso_ptcone20
std::vector< double > m_th_eta
Class describing the basic event information.
float z() const
Returns the y position.
std::vector< float > m_phi
int status() const
Status code.
std::vector< float > m_msInnerMatchChi2
float y() const
Returns the x position.
virtual double phi() const override final
The azimuthal angle ( ) of the particle.
std::vector< double > m_th_pt
std::vector< float > m_th_CaloEntry_p
virtual double pt() const override final
The transverse momentum ( ) of the particle.
std::vector< int8_t > m_innerLargeHoles
bool isAvailable(const ELT &e) const
Test to see if this variable exists in the store.
std::vector< float > m_EnergyLoss
std::vector< int > m_muonType
std::vector< float > m_trkp_numberDoF
Helper class to provide constant type-safe access to aux data.
std::vector< int > m_CaloMuonIDTag
@ innerSmallHits
number of precision hits in the inner small layer
std::vector< float > m_iso_topoetcon20
float beamSpotWeight() const
Weight for beam spot size reweighting.
void fillEventBranches(const xAOD::EventInfo *eventInfo, bool isData)
::Muon::MuonStationIndex::ChIndex chamberIndex() const
Returns the chamber index.
std::vector< int8_t > m_innerSmallHoles
Float_t m_mcBeamSpotWeight
std::vector< float > m_CaloLRLikelihood
std::vector< float > m_th_MuonEntry_p
uint64_t mcEventNumber() const
The MC generator's event number.
std::vector< int > m_Quality