152 o.setf(std::ios::fixed, std::ios::floatfield);
153 o.setf(std::ios::right, std::ios::adjustfield);
155 o << std::setw(4) << t.
id() <<
"; " << std::setw(4) << t.
genpartIndex() <<
"; " << name <<
"\n\t\t";
159 o <<
"Position: " << std::setw(6) << std::setprecision(2) << momentum1.eta() <<
"; " << std::setw(6)
160 << std::setprecision(2) << momentum1.phi() <<
"; " << std::setw(6) << std::setprecision(2) << momentum1.pt() <<
"; "
161 << std::setw(6) << std::setprecision(2) << momentum1.e() <<
"; " << std::setw(4) << vertexId1 <<
"; "
162 << std::setw(6) << std::setprecision(1) << vertex1.x() <<
"; " << std::setw(6) << std::setprecision(1)
163 << vertex1.y() <<
"; " << std::setw(6) << std::setprecision(1) << vertex1.z() <<
"; " << std::setw(4)
171 o <<
"Decayed particle: " << std::setw(4) << vertexId2 <<
"; " << std::setw(6) << std::setprecision(2)
172 << vertex2.eta() <<
"; " << std::setw(6) << std::setprecision(2) << vertex2.phi() <<
"; " << std::setw(5)
173 << std::setprecision(1) << vertex2.pt() <<
"; " << std::setw(6) << std::setprecision(1) << vertex2.z() <<
"; ";
182 o <<
"Layer 1: " << std::setw(4) << -t.
onLayer1() <<
"; " << std::setw(6) << std::setprecision(2) << vertex2.eta()
183 <<
"; " << std::setw(6) << std::setprecision(2) << vertex2.phi() <<
"; " << std::setw(5) << std::setprecision(1)
184 << vertex2.pt() <<
"; " << std::setw(6) << std::setprecision(1) << vertex2.z() <<
"; " << std::setw(6)
185 << std::setprecision(2) << t.
layer1Entrance().
pt() <<
"; " << std::setw(6) << std::setprecision(2)
192 o <<
"Layer 2: " << std::setw(4) << -t.
onLayer2() <<
"; " << std::setw(6) << std::setprecision(2) << vertex2.eta()
193 <<
"; " << std::setw(6) << std::setprecision(2) << vertex2.phi() <<
"; " << std::setw(5) << std::setprecision(1)
194 << vertex2.pt() <<
"; " << std::setw(6) << std::setprecision(1) << vertex2.z() <<
"; " << std::setw(6)
195 << std::setprecision(2) << t.
layer2Entrance().
pt() <<
"; " << std::setw(6) << std::setprecision(2)
203 o <<
"ECAL: " << std::setw(4) << -t.
onEcal() <<
"; " << std::setw(6) << std::setprecision(2) << vertex2.eta()
204 <<
"; " << std::setw(6) << std::setprecision(2) << vertex2.phi() <<
"; " << std::setw(5) << std::setprecision(1)
205 << vertex2.pt() <<
"; " << std::setw(6) << std::setprecision(1) << vertex2.z() <<
"; " << std::setw(6)
206 << std::setprecision(2) << t.
ecalEntrance().
pt() <<
"; " << std::setw(6) << std::setprecision(2)
214 o <<
"HCAL: " << std::setw(4) << -t.
onHcal() <<
"; " << std::setw(6) << std::setprecision(2) << vertex2.eta()
215 <<
"; " << std::setw(6) << std::setprecision(2) << vertex2.phi() <<
"; " << std::setw(5) << std::setprecision(1)
216 << vertex2.pt() <<
"; " << std::setw(6) << std::setprecision(1) << vertex2.z() <<
"; " << std::setw(6)
217 << std::setprecision(2) << t.
hcalEntrance().
pt() <<
"; " << std::setw(6) << std::setprecision(2)
225 o <<
"VFCAL: " << std::setw(4) << -t.
onVFcal() <<
"; " << std::setw(6) << std::setprecision(2) << vertex2.eta()
226 <<
"; " << std::setw(6) << std::setprecision(2) << vertex2.phi() <<
"; " << std::setw(5) << std::setprecision(1)
227 << vertex2.pt() <<
"; " << std::setw(6) << std::setprecision(1) << vertex2.z() <<
"; " << std::setw(6)
228 << std::setprecision(2) << t.
vfcalEntrance().
pt() <<
"; " << std::setw(6) << std::setprecision(2)
int id() const
the index in FBaseSimEvent
bool noEndVertex() const
no end vertex
const HepPDT::ParticleData * particleInfo() const
particle info...
double pt() const
transverse momentum
const RawParticle & vfcalEntrance() const
The particle at VFCAL entrance.
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.
double e() const
energy of the momentum
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 XYZTLorentzVector & vertex() const
the vertex fourvector
int id() const
the index in FBaseSimEvent and other vectors
const RawParticle & layer2Entrance() const
The particle at Preshower Layer 2.
bool noMother() const
no mother particle
const RawParticle & hcalEntrance() const
The particle at HCAL entrance.
const FSimVertex vertex() const
Origin vertex.
math::XYZVector XYZVector
const FSimTrack & mother() const
mother
math::XYZTLorentzVector XYZTLorentzVector