83 dqmStore_->setCurrentFolder(
prefixME_ +
"/EERecoSummary");
95 h_recHits_EEP_Chi2 = dqmStore_->book1D(
"recHits_EEP_Chi2",
"recHits_EEP_Chi2",200,0,100);
96 h_recHits_EEP_time = dqmStore_->book1D(
"recHits_EEP_time",
"recHits_EEP_time",200,-50,50);
100 h_recHits_EEM_Chi2 = dqmStore_->book1D(
"recHits_EEM_Chi2",
"recHits_EEM_Chi2",200,0,100);
101 h_recHits_EEM_time = dqmStore_->book1D(
"recHits_EEM_time",
"recHits_EEM_time",200,-50,50);
112 h_superClusters_eta = dqmStore_->book1D(
"superClusters_eta",
"superClusters_eta",150,-3.,3.);
113 h_superClusters_EE_phi = dqmStore_->book1D(
"superClusters_EE_phi",
"superClusters_EE_phi",360,-3.1415927,3.1415927);
143 if ( ! redRecHitsEE.
isValid() ) {
148 itr != theEndcapEcalredRecHits->
end () ; ++itr)
167 float maxRecHitEnergyEEP = -999.;
168 float maxRecHitEnergyEEM = -999.;
174 itr != theEndcapEcalRecHits->
end () ; ++itr)
180 if ( eeid.
zside() > 0 ){
185 if (itr ->
energy() > maxRecHitEnergyEEP &&
186 !(eeid.
ix()>=41 && eeid.
ix()<=60 && eeid.
iy()>=41 && eeid.
iy()<=60) ) {
187 maxRecHitEnergyEEP = itr ->
energy() ;
198 if ( eeid.
zside() < 0 ){
203 if (itr ->
energy() > maxRecHitEnergyEEM &&
204 !(eeid.
ix()>=41 && eeid.
ix()<=60 && eeid.
iy()>=41 && eeid.
iy()<=60) ) {
205 maxRecHitEnergyEEM = itr ->
energy() ;
227 for (
unsigned int icl = 0; icl < basicClusters_EE_h->size(); ++icl) {
230 const std::vector<std::pair<DetId,float> > & hits= (*basicClusters_EE_h)[icl].hitsAndFractions();
231 for (std::vector<std::pair<DetId,float> > ::const_iterator rh = hits.begin(); rh!=hits.end(); ++rh){
234 if (itrechit==theEndcapEcalRecHits->
end())
continue;
249 if ( ! superClusters_EE_h.
isValid() ) {
253 for (reco::SuperClusterCollection::const_iterator itSC = theEndcapSuperClusters->begin();
254 itSC != theEndcapSuperClusters->end(); ++itSC ) {
256 double scEt = itSC ->
energy() *
sin(2.*atan(
exp(- itSC->position().eta() )));
263 if ( itSC ->
z() > 0 ){
267 if ( itSC ->
z() < 0 ){
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
MonitorElement * h_redRecHits_EE_recoFlag
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
EERecoSummary(const edm::ParameterSet &)
Sin< T >::type sin(const T &t)
std::vector< EcalRecHit >::const_iterator const_iterator
MonitorElement * h_basicClusters_recHits_EE_recoFlag
MonitorElement * h_recHits_EEM_Chi2
MonitorElement * h_recHits_EE_recoFlag
edm::EDGetTokenT< EcalRecHitCollection > recHitCollection_EE_
MonitorElement * h_recHits_EEP_Chi2
MonitorElement * h_recHits_EEP_time
std::vector< SuperCluster > SuperClusterCollection
collection of SuperCluser objectr
void Fill(HcalDetId &id, double val, std::vector< TH2F > &depth)
edm::EDGetTokenT< EcalRecHitCollection > redRecHitCollection_EE_
MonitorElement * h_superClusters_EEM_nBC
MonitorElement * h_recHits_EEM_energyMax
MonitorElement * h_superClusters_eta
MonitorElement * h_superClusters_EEP_nBC
MonitorElement * h_recHits_EEM_time
const_iterator end() const
T const * product() const
iterator find(key_type k)
edm::EDGetTokenT< reco::SuperClusterCollection > superClusterCollection_EE_
MonitorElement * h_recHits_EEP_energyMax
edm::EDGetTokenT< edm::View< reco::CaloCluster > > basicClusterCollection_EE_
MonitorElement * h_superClusters_EE_phi
const_iterator begin() const
virtual void analyze(const edm::Event &, const edm::EventSetup &)