91 std::vector<StableProvenance const*> theProvenance;
93 for(
auto const& provenance : theProvenance) {
95 <<provenance->moduleName()
96 <<
" "<<provenance->moduleLabel()
97 <<
" "<<provenance->productInstanceName();
117 for(
const auto & it : *(mucand.
product())) {
152 <<
" Outer "<<
track.outerMomentum()
153 <<
" "<<
track.outerPosition();
156 <<myextra->outerMomentum()<<
" " 157 <<myextra->outerPosition();
168 for (
const auto & hite : *(ecal.
product())) {
173 <<
" eta "<<posE.
eta()<<
" phi "<<posE.
phi();
175 energyECAL = energyECAL + hite.energy();
184 for (
const auto & hith : *(hbhe.
product())) {
189 <<
" eta "<<posH.
eta()<<
" phi "<<posH.
phi();
191 energyHCAL = energyHCAL + hith.energy();
212 <<
" phi "<<
jet.phi();
223 for (
const auto & iclus : *(eclus.
product())) {
225 <<iclus.energy()/cosh(iclus.eta())<<
" eta " 226 <<iclus.eta()<<
" phi "<<iclus.phi();
const CaloSubdetectorGeometry * getSubdetectorGeometry(const DetId &id) const
access the subdetector geometry for the given subdetector directly
double energyECAL(std::vector< DetId > &vdets, edm::Handle< T > &hitsEB, edm::Handle< T > &hitsEE, double ebThr=-100, double eeThr=-100, double tMin=-500, double tMax=500, bool debug=false)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
edm::EDGetTokenT< reco::TrackCollection > tok_tracks_
Geom::Phi< T > phi() const
edm::EDGetTokenT< reco::MuonCollection > tok_muons_
edm::EDGetTokenT< reco::SuperClusterCollection > tok_gamma_
edm::EDGetTokenT< HORecHitCollection > tok_ho_
edm::EDGetTokenT< HBHERecHitCollection > tok_hbheProd_
edm::EDGetTokenT< HORecHitCollection > tok_horeco_
edm::EDGetTokenT< HOCalibVariableCollection > tok_hovar_
GlobalPoint getPosition(const DetId &id) const
Get the position of a given detector id.
edm::EDGetTokenT< EcalRecHitCollection > tok_ecal_
double energyHCAL(std::vector< DetId > &vdets, edm::Handle< T > &hits, double hbThr=-100, double heThr=-100, double hfThr=-100, double hoThr=-100, double tMin=-500, double tMax=500, int useRaw=0, bool debug=false)
T const * product() const
std::vector< HOCalibVariables > HOCalibVariableCollection
collection of HOcalibration variabale
edm::EDGetTokenT< HBHERecHitCollection > tok_hbhe_
edm::EDGetTokenT< reco::CaloJetCollection > tok_jets_
edm::EDGetTokenT< HFRecHitCollection > tok_hf_
T const * product() const
void getAllStableProvenance(std::vector< StableProvenance const * > &provenances) const