114 o.setf(std::ios::right, std::ios::adjustfield);
116 o << std::setw(4) << t.
id() <<
" " 120 for(
unsigned int k=0;
k<11-name.length() &&
k<12;
k++)
o <<
" ";
122 o << std::setw(6) << std::setprecision(2) << momentum1.eta() <<
" " 123 << std::setw(6) << std::setprecision(2) << momentum1.phi() <<
" " 124 << std::setw(6) << std::setprecision(2) << momentum1.pt() <<
" " 125 << std::setw(6) << std::setprecision(2) << momentum1.e() <<
" " 126 << std::setw(4) << vertexId1 <<
" " 127 << std::setw(6) << std::setprecision(1) << vertex1.x() <<
" " 128 << std::setw(6) << std::setprecision(1) << vertex1.y() <<
" " 129 << std::setw(6) << std::setprecision(1) << vertex1.z() <<
" " 136 o << std::setw(4) << vertexId2 <<
" " 137 << std::setw(6) << std::setprecision(2) << vertex2.eta() <<
" " 138 << std::setw(6) << std::setprecision(2) << vertex2.phi() <<
" " 139 << std::setw(5) << std::setprecision(1) << vertex2.pt() <<
" " 140 << std::setw(6) << std::setprecision(1) << vertex2.z() <<
" ";
150 o << std::setw(4) << -t.
onLayer1() <<
" " 151 << std::setw(6) << std::setprecision(2) << vertex2.eta() <<
" " 152 << std::setw(6) << std::setprecision(2) << vertex2.phi() <<
" " 153 << std::setw(5) << std::setprecision(1) << vertex2.pt() <<
" " 154 << std::setw(6) << std::setprecision(1) << vertex2.z() <<
" " 155 << std::setw(6) << std::setprecision(2) << t.
layer1Entrance().pt() <<
" " 156 << std::setw(6) << std::setprecision(2) << t.
layer1Entrance().e() <<
" ";
158 }
else if ( t.
onEcal() ) {
162 o << std::setw(4) << -t.
onEcal() <<
" " 163 << std::setw(6) << std::setprecision(2) << vertex2.eta() <<
" " 164 << std::setw(6) << std::setprecision(2) << vertex2.phi() <<
" " 165 << std::setw(5) << std::setprecision(1) << vertex2.pt() <<
" " 166 << std::setw(6) << std::setprecision(1) << vertex2.z() <<
" " 167 << std::setw(6) << std::setprecision(2) << t.
ecalEntrance().pt() <<
" " 168 << std::setw(6) << std::setprecision(2) << t.
ecalEntrance().e() <<
" ";
int id() const
the index in FBaseSimEvent
bool noEndVertex() const
no end vertex
const HepPDT::ParticleData * particleInfo() const
particle info...
const FSimVertex & endVertex() const
end vertex
const XYZTLorentzVector & momentum() const
Temporary (until move of SimTrack to Mathcore) - No! Actually very useful.
const RawParticle & layer1Entrance() const
The particle at Preshower Layer 1.
const FSimTrack & daughter(int i) const
Ith daughter.
int nDaughters() const
Number of daughters.
math::XYZVector XYZVector
const math::XYZTLorentzVector & position() const
Temporary (until CMSSW moves to Mathcore) - No ! Actually very useful.
int genpartIndex() const
index of the corresponding Generator particle in the Event container (-1 if no Genpart) ...
const RawParticle & ecalEntrance() const
The particle at ECAL entrance.
const FSimVertex & vertex() const
Origin vertex.
const XYZTLorentzVector & vertex() const
the vertex fourvector
int id() const
the index in FBaseSimEvent and other vectors
bool noMother() const
no mother particle
const FSimTrack & mother() const
mother
math::XYZTLorentzVector XYZTLorentzVector