160 m_pt.push_back(mu.pt());
161 m_eta.push_back(mu.eta());
162 m_phi.push_back(mu.phi());
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() );
214 m_trkp_qOverP.push_back( mu.primaryTrackParticle()->qOverP() );
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;
Helper class to provide constant type-safe access to aux data.
std::vector< float > m_iso_ptvarcon20
std::vector< std::vector< float > > m_museg_z
std::vector< int > m_th_truthType
std::vector< bool > m_th_isGoodTruthTrack
void postFillTreeActions()
unsigned long long m_eventNumber
std::vector< float > m_msInnerMatchChi2
std::vector< float > m_trkp_z0
std::vector< std::vector< unsigned int > > m_museg_technology
std::vector< int8_t > m_innerSmallHoles
std::vector< float > m_iso_topoetcon20
void fillEventBranches(const xAOD::EventInfo *eventInfo, bool isData)
std::vector< float > m_th_MuonExit_p
std::vector< float > m_CaloLRLikelihood
std::vector< int > m_msOuterMatchDOF
std::vector< int > m_Quality
std::vector< std::vector< int > > m_museg_nPhiLayers
std::vector< float > m_iso_ptcone20
std::vector< double > m_th_eta
std::vector< float > m_th_CaloEntry_p
std::vector< double > m_th_phi
std::vector< std::vector< int > > m_museg_sector
std::vector< std::vector< int > > m_museg_nTrigEtaLayers
std::vector< std::vector< float > > m_museg_x
void fillTruthMuonBranches(const xAOD::TruthParticle &truthMu, bool isGoodTruthTrack)
std::vector< int > m_CaloMuonIDTag
std::vector< int8_t > m_th_nprecLayers
std::vector< float > m_msOuterMatchChi2
std::vector< int8_t > m_innerLargeHoles
std::vector< float > m_pt
uint32_t m_mcChannelNumber
std::vector< float > m_trkp_chiSquared
MuonTree(PlotBase *pParent, const std::string &sDir, bool mcFlag)
std::vector< int8_t > m_th_ntrigEtaLayers
Float_t m_mcBeamSpotWeight
std::vector< double > m_th_pt
std::vector< float > m_trkp_qOverP
std::vector< std::vector< int > > m_museg_nPrecisionHits
std::vector< float > m_trkp_d0
void fillRecoMuonBranches(const xAOD::Muon &mu)
std::vector< int8_t > m_th_nphiLayers
std::vector< float > m_iso_neflowisol20
std::vector< float > m_th_MuonEntry_p
std::vector< float > m_rapidity
std::vector< float > m_eta
std::vector< int > m_msInnerMatchDOF
std::vector< size_t > m_nMuonSegments
std::vector< std::vector< float > > m_museg_y
std::vector< int > m_th_truthOrigin
std::vector< float > m_phi
std::vector< int > m_muonType
std::vector< float > m_EnergyLoss
std::vector< int8_t > m_innerSmallHits
std::vector< int8_t > m_innerLargeHits
std::vector< std::vector< unsigned int > > m_museg_chamberIndex
std::vector< uint16_t > m_allAuthors
std::vector< float > m_trkp_numberDoF
PlotBase(PlotBase *parent, const std::string &sDir)
TTree * BookTree(const std::string &name, bool prependDir=true)
Book a TTree.
Helper class to provide constant type-safe access to aux data.
bool isAvailable(const ELT &e) const
Test to see if this variable exists in the store.
uint64_t mcEventNumber() const
The MC generator's event number.
uint32_t lumiBlock() const
The current event's luminosity block number.
float beamSpotWeight() const
Weight for beam spot size reweighting.
uint32_t runNumber() const
The current event's run number.
uint32_t mcChannelNumber() const
The MC generator's channel number.
uint64_t eventNumber() const
The current event's event number.
float y() const
Returns the x position.
int nTrigEtaLayers() const
Returns the number of trigger eta layers.
int nPrecisionHits() const
::Muon::MuonStationIndex::TechnologyIndex technology() const
Returns the main technology of the segment.
::Muon::MuonStationIndex::ChIndex chamberIndex() const
Returns the chamber index.
int nPhiLayers() const
Returns the number of phi layers.
float z() const
Returns the y position.
int status() const
Status code.
virtual double pt() const override final
The transverse momentum ( ) of the particle.
virtual double eta() const override final
The pseudorapidity ( ) of the particle.
virtual double phi() const override final
The azimuthal angle ( ) of the particle.
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
@ neflowisol20
Neutral eflow isolation.
@ topoetcone20
Topo-cluster ET-sum.
@ ptcone20
Track isolation.
@ ptvarcone20
Mini-Isolation http://arxiv.org/abs/1007.2221.
EventInfo_v1 EventInfo
Definition of the latest event info version.
TruthParticle_v1 TruthParticle
Typedef to implementation.
TrackParticleContainer_v1 TrackParticleContainer
Definition of the current "TrackParticle container version".
Muon_v1 Muon
Reference the current persistent version:
MuonSegment_v1 MuonSegment
Reference the current persistent version:
@ innerLargeHits
number of precision hits in the inner large layer
@ innerLargeHoles
number of precision holes in the inner large layer
@ innerSmallHoles
number of precision holes in the inner small layer
@ innerSmallHits
number of precision hits in the inner small layer