139 |
|
<< "No beam spot available in the event \n"; |
140 |
|
} |
141 |
|
cout << beamSpot.x0() << " " << beamSpot.y0() << " " << beamSpot.z0() << std::endl; |
142 |
+ |
cout << "beamSpot.BeamWidth X,Y: " << beamSpot.BeamWidthX() << ", " << beamSpot.BeamWidthY() << std::endl; |
143 |
|
// |
144 |
|
//_____ check PAT electrons _______________________________________________ |
145 |
|
// |
150 |
|
cout << "electron collection size: "<< electron_coll_size << endl; |
151 |
|
if (electron_coll_size>0){ |
152 |
|
cout << "Robust tight electron selector: " << (*electrons)[0].electronID("eidRobustTight") << std::endl; |
153 |
+ |
/* |
154 |
|
double _pt = (*electrons)[0].pt(); |
155 |
|
double _eta = (*electrons)[0].eta(); |
156 |
|
double _d0 = (*electrons)[0].dB(); |
158 |
|
cout << "PAT d0= " << _d0 << std::endl; |
159 |
|
// |
160 |
|
//_____ check that there is a track |
159 |
– |
/* |
161 |
|
reco::TrackRef _track = (*electrons)[0].track(); |
162 |
|
if(_track.isNull()){ |
163 |
|
cout << "there is no pat::electron::track()" << endl; |
173 |
|
cout << "there is a pat::electron::gsfTrack()" << endl; |
174 |
|
} |
175 |
|
*/ |
176 |
< |
reco::GsfTrackRef _gsfTrack = (*electrons)[0].gsfTrack(); |
176 |
> |
const pat::Electron & ele = (*electrons)[0]; |
177 |
> |
//reco::GsfTrackRef _gsfTrack = ele.gsfTrack(); |
178 |
|
// |
179 |
|
//_____ check isolation |
180 |
|
cout << "Isolation info is valid..." << endl; |