60 ecalRawDataColl_(iConfig.getParameter<edm::
InputTag>(
"ecalRawDataColl")),
61 ecalRecHitCollectionEB_ (iConfig.getParameter<edm::
InputTag>(
"ecalRecHitCollectionEB")),
62 ecalRecHitCollectionEE_ (iConfig.getParameter<edm::
InputTag>(
"ecalRecHitCollectionEE")),
63 barrelClusterCollection_ (iConfig.getParameter<edm::
InputTag>(
"barrelClusterCollection")),
64 endcapClusterCollection_ (iConfig.getParameter<edm::
InputTag>(
"endcapClusterCollection")),
65 l1GTReadoutRecTag_ (iConfig.getUntrackedParameter<std::
string>(
"L1GlobalReadoutRecord",
"gtDigis")),
66 l1GMTReadoutRecTag_ (iConfig.getUntrackedParameter<std::
string>(
"L1GlobalMuonReadoutRecord",
"gtDigis")),
68 histRangeMax_ (iConfig.getUntrackedParameter<double>(
"histogramMaxRange",1.8)),
69 histRangeMin_ (iConfig.getUntrackedParameter<double>(
"histogramMinRange",0.0)),
70 minTimingAmpEB_ (iConfig.getUntrackedParameter<double>(
"MinTimingAmpEB",0.100)),
71 minTimingAmpEE_ (iConfig.getUntrackedParameter<double>(
"MinTimingAmpEE",0.100)),
72 minRecHitAmpEB_(iConfig.getUntrackedParameter<double>(
"MinRecHitAmpEB",0.027)),
73 minRecHitAmpEE_(iConfig.getUntrackedParameter<double>(
"MinRecHitAmpEE",0.18)),
74 minHighEnergy_(iConfig.getUntrackedParameter<double>(
"MinHighEnergy",2.0)),
75 fileName_ (iConfig.getUntrackedParameter<std::
string>(
"fileName", std::
string(
"ecalCosmicHists"))),
76 runInFileName_(iConfig.getUntrackedParameter<bool>(
"runInFileName",
true)),
77 startTime_ (iConfig.getUntrackedParameter<double>(
"TimeStampStart",1215107133.)),
78 runTimeLength_ (iConfig.getUntrackedParameter<double>(
"TimeStampLength",3.)),
79 numTimingBins_(iConfig.getUntrackedParameter<int>(
"TimeStampBins",1800))
94 string title1 =
"Seed Energy for All Feds; Seed Energy (GeV)";
95 string name1 =
"SeedEnergyAllFEDs";
116 bool hasEndcapClusters =
true;
117 int ievt = iEvent.
id().
event();
133 LogWarning(
"EcalCosmicsHists") <<
"Global EB ADC->GeV scale: " << agc->
getEBValue() <<
" GeV/ADC count" ;
134 LogWarning(
"EcalCosmicsHists") <<
"Global EE ADC->GeV scale: " << agc->
getEEValue() <<
" GeV/ADC count" ;
144 unsigned int timeStampLow = ( 0xFFFFFFFF & iEvent.
time().
value() );
145 unsigned int timeStampHigh = ( iEvent.
time().
value() >> 32 );
146 double rawEventTime = ( double)(timeStampHigh)+((double )(timeStampLow)/1000000.);
157 LogDebug(
"EcalCosmicsHists") <<
"event " << ievt;
163 hasEndcapClusters =
false;
185 LogWarning(
"EcalCosmicsHists") <<
"DCC headers not available";
195 headerItr->getEventSettings();
196 int myorbit = headerItr->getOrbit();
197 int mybx = headerItr->getBX();
198 int myRunType = headerItr->getRunType();
199 int FEDid = headerItr->fedId();
201 if(dccRuntypeHist==0)
206 dccRuntypeHist->Fill(mybx,myRunType);
214 LogWarning(
"EcalCosmicsHists") <<
"This header has a conflicting bx OTHERS were " << bx <<
" here " << mybx;
226 else if (runType != myRunType)
228 LogWarning(
"EcalCosmicsHists") <<
"This header has a conflicting runType OTHERS were " << bx <<
" here " << mybx;
239 else if (orbit != myorbit)
241 LogWarning(
"EcalCosmicsHists") <<
"This header has a conflicting orbit; OTHERS were " << orbit <<
" here " << myorbit;
253 bool isEcalL1 = l1Triggers[4];
254 bool isHCALL1 = l1Triggers[3];
255 bool isRPCL1 = l1Triggers[2];
256 bool isCSCL1 = l1Triggers[1];
257 bool isDTL1 = l1Triggers[0];
264 int numberOfCosmics = 0;
265 int numberOfCosmicsEB = 0;
266 int numberOfCosmicsEEP = 0;
267 int numberOfCosmicsEEM = 0;
268 int numberOfCosmicsTop = 0;
269 int numberOfCosmicsBottom = 0;
270 int numberOfHighEClusters = 0;
272 std::vector<EBDetId> seeds;
277 for (reco::SuperClusterCollection::const_iterator clus = clusterCollection_p->begin(); clus != clusterCollection_p->end(); ++clus)
279 double energy = clus->energy();
280 double phi = clus->phi();
281 double eta = clus->eta();
282 double time = -1000.0;
284 double secondMin = 0.;
285 double secondTime = -1000.;
286 int numXtalsinCluster = 0;
296 double cphi = (*bclus)->phi();
297 double ceta = (*bclus)->eta();
302 std::vector< std::pair<DetId, float> > clusterDetIds = clus->hitsAndFractions();
303 for(std::vector<std::pair<DetId, float> >::const_iterator detitr = clusterDetIds.begin(); detitr != clusterDetIds.end(); ++detitr)
306 if ((*detitr).first.det() !=
DetId::Ecal) {
std::cout <<
" det is " <<(*detitr).first.det() << std::endl;
continue;}
307 if ((*detitr).first.subdetId() !=
EcalBarrel) {
std::cout <<
" subdet is " <<(*detitr).first.subdetId() << std::endl;
continue; }
309 if (thishit == hits->end())
continue;
314 double thisamp = myhit.
energy();
316 if (thisamp > secondMin) {secondMin = thisamp; secondTime = myhit.
time(); secDet = (
EBDetId)(*detitr).first;}
320 double fullnumXtalsinCluster = clusterDetIds.size();
322 float E2 = ampli + secondMin;
324 int FEDid = 600+elecId.
dccId();
330 seeds.push_back(maxDet);
331 int ieta = maxDet.
ieta();
332 int iphi = maxDet.
iphi();
333 int ietaSM = maxDet.
ietaSM();
334 int iphiSM = maxDet.
iphiSM();
339 if (iphi>0&&iphi<180) {
340 numberOfCosmicsTop++;
342 numberOfCosmicsBottom++;
380 uRecHist->Fill(ampli);
381 E2uRecHist->Fill(E2);
382 E2vsE1uRecHist->Fill(ampli,E2);
383 energyuRecHist->Fill(energy);
384 energyvsE1uRecHist->Fill(ampli,energy);
392 iphiProfileHist->Fill(iphi);
393 ietaProfileHist->Fill(ieta);
414 occupHist->Fill(ietaSM,iphiSM);
415 if (fullnumXtalsinCluster==1) {
422 if(isEcalL1&&!isDTL1&&!isRPCL1&&!isCSCL1&&!isHCALL1) {
434 if(!isEcalL1&&!isDTL1&&!isRPCL1&&!isCSCL1&&isHCALL1) {
446 if(!isEcalL1&&isDTL1&&!isRPCL1&&!isCSCL1&&!isHCALL1) {
458 if(!isEcalL1&&!isDTL1&&isRPCL1&&!isCSCL1&&!isHCALL1) {
470 if(!isEcalL1&&!isDTL1&&!isRPCL1&&isCSCL1&&!isHCALL1) {
511 if(isEcalL1&&(isCSCL1||isRPCL1||isDTL1)&&!isHCALL1)
515 timingHist->Fill(time);
517 timingHistVsAmp->Fill(time, ampli);
521 timingHistVsPhi->Fill(time, iphiSM);
522 timingHistVsModule->Fill(time, ietaSM);
542 LogInfo(
"EcalCosmicsHists") <<
"High energy event " << iEvent.
id().
run() <<
" : "
544 <<
" : " << energy <<
" " << numXtalsinCluster
545 <<
" : " << iphi <<
" " << ieta
546 <<
" : " << isEcalL1 << isHCALL1 << isDTL1 << isRPCL1 << isCSCL1 ;
548 numberOfHighEClusters++;
564 LogInfo(
"EcalCosmicsHists") <<
"Very high energy event " << iEvent.
id().
run() <<
" : "
566 <<
" : " << energy <<
" " << numXtalsinCluster
567 <<
" : " << iphi <<
" " << ieta
568 <<
" : " << isEcalL1 << isHCALL1 << isDTL1 << isRPCL1 << isCSCL1 ;
583 if(hasEndcapClusters) {
584 clusterCollection_p = escHandle.
product();
585 for (reco::SuperClusterCollection::const_iterator clus = clusterCollection_p->begin(); clus != clusterCollection_p->end(); ++clus) {
586 double energy = clus->energy();
589 double time = -1000.0;
591 double secondMin = 0.;
592 double secondTime = -1000.;
593 int clusSize = clus->clustersSize();
594 int numXtalsinCluster = 0;
608 std::vector<std::pair<DetId, float> > clusterDetIds = clus->hitsAndFractions();
609 for(std::vector<std::pair<DetId, float> >::const_iterator detitr = clusterDetIds.begin(); detitr != clusterDetIds.end(); ++detitr) {
615 LogError(
"EcalCosmicsHists") <<
" det is " <<(*detitr).first.det();
continue;
617 if ((*detitr).first.subdetId() !=
EcalEndcap) {
618 LogError(
"EcalCosmicsHists") <<
" subdet is " <<(*detitr).first.subdetId();
continue;
623 if (thishit == hitsEE->end()) {
624 LogInfo(
"EcalCosmicsHists") <<
" WARNING: EEDetId not found in the RecHit collection!";
633 double thisamp = myhit.
energy();
635 if (thisamp > secondMin) {secondMin = thisamp; secondTime = myhit.
time(); secDet = (
EEDetId)(*detitr).first;}
641 double fullnumXtalsinCluster = clusterDetIds.size();
643 float E2 = ampli + secondMin;
652 int ix = maxDet.
ix();
653 int iy = maxDet.
iy();
654 int iz = maxDet.
zside();
661 LogWarning(
"EcalCosmicsHists") <<
"INVALID EE DetId !!!" << endl;
667 if (iz<0) { numberOfCosmicsEEM++; }
668 else { numberOfCosmicsEEP++; }
730 if (fullnumXtalsinCluster==1) {
743 if(isEcalL1&&!isDTL1&&!isRPCL1&&!isCSCL1&&!isHCALL1) {
753 if(!isEcalL1&&!isDTL1&&!isRPCL1&&!isCSCL1&&isHCALL1) {
763 if(!isEcalL1&&isDTL1&&!isRPCL1&&!isCSCL1&&!isHCALL1) {
773 if(!isEcalL1&&!isDTL1&&isRPCL1&&!isCSCL1&&!isHCALL1) {
783 if(!isEcalL1&&!isDTL1&&!isRPCL1&&isCSCL1&&!isHCALL1) {
838 if (fullnumXtalsinCluster==1) {
851 if(isEcalL1&&!isDTL1&&!isRPCL1&&!isCSCL1&&!isHCALL1) {
861 if(!isEcalL1&&!isDTL1&&!isRPCL1&&!isCSCL1&&isHCALL1) {
871 if(!isEcalL1&&isDTL1&&!isRPCL1&&!isCSCL1&&!isHCALL1) {
881 if(!isEcalL1&&!isDTL1&&isRPCL1&&!isCSCL1&&!isHCALL1) {
891 if(!isEcalL1&&!isDTL1&&!isRPCL1&&isCSCL1&&!isHCALL1) {
936 LogInfo(
"EcalCosmicsHists") <<
"High energy event in EE " << iEvent.
id().
run() <<
" : "
938 <<
" : " << energy <<
" " << numXtalsinCluster
939 <<
" : " << ix <<
" " << iy
940 <<
" : " << isEcalL1 << isHCALL1 << isDTL1 << isRPCL1 << isCSCL1 ;
963 LogInfo(
"EcalCosmicsHists") <<
"Very high energy event in EE " << iEvent.
id().
run() <<
" : "
965 <<
" : " << energy <<
" " << numXtalsinCluster
966 <<
" : " << ix <<
" " << iy
967 <<
" : " << isEcalL1 << isHCALL1 << isDTL1 << isRPCL1 << isCSCL1 ;
987 if ( numberOfCosmics > 0 ) {
1000 if (numberOfCosmicsTop&&numberOfCosmicsBottom) {
1009 iEvent.
getByLabel(
"cosmicMuons", recoTracks);
1013 std::map<int,std::vector<DetId> > trackDetIdMap;
1015 for(reco::TrackCollection::const_iterator recoTrack = recoTracks->begin(); recoTrack != recoTracks->end(); ++recoTrack){
1017 if(fabs(recoTrack->d0())>70 || fabs(recoTrack->dz())>70)
1019 if(recoTrack->numberOfValidHits()<20)
1058 if (thishit == hits->end())
continue;
1071 trackDetIdMap.insert(std::pair<
int,std::vector<DetId> > (tracks,info.
crossedEcalIds));
1076 int numAssocTracks = 0;
1077 int numAssocClusters = 0;
1078 edm::LogVerbatim(
"TrackAssociator") <<
"Matching cosmic clusters to tracks...";
1079 int numSeeds = seeds.size();
1080 int numTracks = trackDetIdMap.size();
1081 while(seeds.size() > 0 && trackDetIdMap.size() > 0)
1083 double bestDr = 1000;
1084 double bestDPhi = 1000;
1085 double bestDEta = 1000;
1086 double bestEtaTrack = 1000;
1087 double bestEtaSeed = 1000;
1088 double bestPhiTrack = 1000;
1089 double bestPhiSeed = 1000;
1093 std::map<EBDetId,EBDetId> trackDetIdToSeedMap;
1097 for(std::vector<EBDetId>::const_iterator seedItr = seeds.begin(); seedItr != seeds.end(); ++seedItr) {
1098 for(
std::map<
int,std::vector<DetId> >::const_iterator mapItr = trackDetIdMap.begin();
1099 mapItr != trackDetIdMap.end(); ++mapItr) {
1100 for(
unsigned int i=0;
i<mapItr->second.size();
i++) {
1102 if(mapItr->second[
i].det() ==
DetId::Ecal && mapItr->second[
i].subdetId() == 1) {
1103 EBDetId ebDet = (mapItr->second[
i]);
1104 double seedEta = seedItr->
ieta();
1105 double deta = ebDet.
ieta()-seedEta;
1106 if(seedEta * ebDet.
ieta() < 0 )
1107 deta > 0 ? (deta=deta-1.) : (deta=deta+1.);
1109 double dphi = ebDet.
iphi()-seedItr->iphi();
1110 if (
abs(dphi) > 180)
1111 dphi > 0 ? (dphi=360-dphi) : (dphi=-360-dphi);
1112 dR =
sqrt(deta*deta + dphi*dphi);
1118 bestTrackDet = mapItr->second[
i];
1119 bestTrack = mapItr->first;
1120 bestSeed = (*seedItr);
1121 bestEtaTrack = ebDet.
ieta();
1122 bestEtaSeed = seedEta;
1123 bestPhiTrack = ebDet.
iphi();
1124 bestPhiSeed = seedItr->iphi();
1138 seeds.erase(
find(seeds.begin(),seeds.end(), bestSeed));
1139 trackDetIdMap.erase(trackDetIdMap.find(bestTrack));
1140 trackDetIdToSeedMap[bestTrackDet] = bestSeed;
1145 if(bestDPhi < 1.5 && bestDEta < 1.8 ) {
1150 if (Ecalhit == hits->end()) {
1153 double EcalhitEnergy = Ecalhit->energy();
1160 edm::LogVerbatim(
"TrackAssociator") <<
"could not match cluster seed to track." << bestDr;
1164 if(numSeeds>0 && numTracks>0) {
1180 iEvent.
getByLabel(
"cosmicMuonsBarrelOnly", recoTracksBarrel);
1181 if ( !recoTracksBarrel.
isValid() ) {
1187 for(reco::TrackCollection::const_iterator recoTrack = recoTracksBarrel->begin(); recoTrack != recoTracksBarrel->end(); ++recoTrack) {
1192 for (reco::SuperClusterCollection::const_iterator clus = clusterCollection_p->begin(); clus != clusterCollection_p->end(); ++clus) {
1193 double energy = clus->energy();
1194 double phi = clus->phi();
1195 double eta = clus->eta();
1201 std::vector<std::pair<DetId, float> > clusterDetIds = clus->hitsAndFractions();
1202 for(std::vector< std::pair<DetId, float> >::const_iterator detitr = clusterDetIds.begin(); detitr != clusterDetIds.end(); ++detitr)
1204 if ((*detitr).first.det() !=
DetId::Ecal) {
continue;}
1205 if ((*detitr).first.subdetId() !=
EcalBarrel) {
continue; }
1207 if (thishit == hits->end()) {
continue;}
1209 double rechitenergy = thishit->energy();
1210 int ieta = ((
EBDetId)(*detitr).first).ieta();
1211 int iphi = ((
EBDetId)(*detitr).first).iphi();
1217 if (rechitenergy > 10 )
edm::LogWarning(
"EcalCosmicsHists") <<
"!!!!! Crystal with energy " << rechitenergy <<
" at (ieta,iphi) (" << ieta <<
" ," << iphi <<
"); Id: " << (*detitr).first.det();
1223 if ( recoTracksBarrel->size() == 2 ) {
1224 reco::TrackCollection::const_iterator Track1 = recoTracksBarrel->begin();
1225 reco::TrackCollection::const_iterator Track2 = (recoTracksBarrel->begin())+1;
1226 float angle = (acos(
sin(Track1->theta()) *
cos(Track1->phi()) *
sin(Track2->theta()) *
cos(Track2->phi()) +
sin(Track1->theta()) *
sin(Track1->phi()) *
sin(Track2->theta()) *
sin(Track2->phi()) +
cos(Track1->theta()) *
cos(Track2->theta())))/0.017453292519943;
1229 if ( (Track1->innerPosition().phi()) > 0 && (Track2->innerPosition().phi()) < 0 ) {
1294 std::vector<bool> l1Triggers;
1296 for(
int i=0;
i<5;
i++)
1297 l1Triggers.push_back(
false);
1303 if (!(gmtrc_handle.
isValid()))
1305 LogWarning(
"EcalCosmicsHists") <<
"l1MuGMTReadoutCollection" <<
" not available";
1329 bool l1DoubleNoIsoEGBTBtight = menu->
gtAlgorithmResult(
"L1_DoubleNoIsoEG_BTB_tight", dWord);
1330 bool l1DoubleNoIsoEGBTBloose = menu->
gtAlgorithmResult(
"L1_DoubleNoIsoEG_BTB_loose ", dWord);
1331 bool l1DoubleNoIsoEGTopBottom = menu->
gtAlgorithmResult(
"L1_DoubleNoIsoEGTopBottom", dWord);
1332 bool l1DoubleNoIsoEGTopBottomCen = menu->
gtAlgorithmResult(
"L1_DoubleNoIsoEGTopBottomCen", dWord);
1333 bool l1DoubleNoIsoEGTopBottomCen2 = menu->
gtAlgorithmResult(
"L1_DoubleNoIsoEGTopBottomCen2", dWord);
1334 bool l1DoubleNoIsoEGTopBottomCenVert = menu->
gtAlgorithmResult(
"L1_DoubleNoIsoEGTopBottomCenVert", dWord);
1336 l1Triggers[4] = l1SingleEG1 || l1SingleEG5 || l1SingleEG8 || l1SingleEG10 || l1SingleEG12 || l1SingleEG15
1337 || l1SingleEG20 || l1SingleEG25 || l1DoubleNoIsoEGBTBtight || l1DoubleNoIsoEGBTBloose
1338 || l1DoubleNoIsoEGTopBottom || l1DoubleNoIsoEGTopBottomCen || l1DoubleNoIsoEGTopBottomCen2
1339 || l1DoubleNoIsoEGTopBottomCenVert;
1341 std::vector<L1MuGMTReadoutRecord> gmt_records = gmtrc->
getRecords();
1342 std::vector<L1MuGMTReadoutRecord>::const_iterator igmtrr;
1343 for(igmtrr=gmt_records.begin(); igmtrr!=gmt_records.end(); igmtrr++) {
1344 std::vector<L1MuRegionalCand>::const_iterator iter1;
1345 std::vector<L1MuRegionalCand> rmc;
1349 rmc = igmtrr->getDTBXCands();
1350 for(iter1=rmc.begin(); iter1!=rmc.end(); iter1++) {
1351 if ( !(*iter1).empty() ) {
1357 if(igmtrr->getBxInEvent()==0 && idt>0) l1Triggers[0] =
true;
1361 rmc = igmtrr->getBrlRPCCands();
1362 for(iter1=rmc.begin(); iter1!=rmc.end(); iter1++) {
1363 if ( !(*iter1).empty() ) {
1369 if(igmtrr->getBxInEvent()==0 && irpcb>0) l1Triggers[2] =
true;
1373 rmc = igmtrr->getCSCCands();
1374 for(iter1=rmc.begin(); iter1!=rmc.end(); iter1++) {
1375 if ( !(*iter1).empty() ) {
1381 if(igmtrr->getBxInEvent()==0 && icsc>0) l1Triggers[1] =
true;
1386 for(
int ibx=-1; ibx<=1; ibx++) {
1387 bool hcal_top =
false;
1388 bool hcal_bot =
false;
1390 std::vector<int> valid_phi;
1391 if((psb.
aData(4)&0x3f) >= 1) {valid_phi.push_back( (psb.
aData(4)>>10)&0x1f ); }
1392 if((psb.
bData(4)&0x3f) >= 1) {valid_phi.push_back( (psb.
bData(4)>>10)&0x1f ); }
1393 if((psb.
aData(5)&0x3f) >= 1) {valid_phi.push_back( (psb.
aData(5)>>10)&0x1f ); }
1394 if((psb.
bData(5)&0x3f) >= 1) {valid_phi.push_back( (psb.
bData(5)>>10)&0x1f ); }
1395 std::vector<int>::const_iterator iphi;
1396 for(iphi=valid_phi.begin(); iphi!=valid_phi.end(); iphi++) {
1398 if(*iphi<9) hcal_top=
true;
1399 if(*iphi>8) hcal_bot=
true;
1401 if(ibx==0 && hcal_top && hcal_bot) l1Triggers[3]=
true;
1404 edm::LogInfo(
"EcalCosmicsHists") <<
"**** Trigger SourceSource ****";
1405 if(l1Triggers[0])
edm::LogInfo(
"EcalCosmicsHists") <<
"DT";
1406 if(l1Triggers[2])
edm::LogInfo(
"EcalCosmicsHists") <<
"RPC";
1407 if(l1Triggers[1])
edm::LogInfo(
"EcalCosmicsHists") <<
"CSC";
1408 if(l1Triggers[3])
edm::LogInfo(
"EcalCosmicsHists") <<
"HCAL";
1409 if(l1Triggers[4])
edm::LogInfo(
"EcalCosmicsHists") <<
"ECAL";
1410 edm::LogInfo(
"EcalCosmicsHists") <<
"************************";
1418 using namespace std;
1421 string title1 =
"Energy of Seed Crystal ";
1423 title1.append(
";Seed Energy (GeV);Number of Cosmics");
1424 string name1 =
"SeedEnergyFED";
1447 title1 =
"Time for ";
1449 title1.append(
";Relative Time (1 clock = 25ns);Events");
1452 TH1F* timingHist =
new TH1F(name1.c_str(),title1.c_str(),78,-7,7);
1456 TH1F* freqHist =
new TH1F(Form(
"Frequency_FED_%d",FED),Form(
"Frequency for FED %d;Event Number",FED),100,0.,100000);
1460 TH1F* iphiProfileHist =
new TH1F(Form(
"iPhi_Profile_FED_%d",FED),Form(
"iPhi Profile for FED %d",FED),360,1.,361);
1464 TH1F* ietaProfileHist =
new TH1F(Form(
"iEta_Profile_FED_%d",FED),Form(
"iEta Profile for FED %d",FED),172,-86,86);
1468 TH2F* timingHistVsFreq =
new TH2F(Form(
"timeVsFreqFED_%d",FED),Form(
"time Vs Freq FED %d",FED),78,-7,7,100,0.,100000);
1472 TH2F* timingHistVsAmp =
new TH2F(Form(
"timeVsAmpFED_%d",FED),Form(
"time Vs Amp FED %d",FED),78,-7,7,numBins,
histRangeMin_,
histRangeMax_);
1476 TH1F* numXtalInClusterHist =
new TH1F(Form(
"NumXtalsInCluster_FED_%d",FED),Form(
"Num active Xtals In Cluster for FED %d;Num Active Xtals",FED),25,0,25);
1480 TH2F* OccupHist =
new TH2F(Form(
"occupFED_%d",FED),Form(
"Occupancy FED %d;i#eta;i#phi",FED),85,1,86,20,1,21);
1484 TH2F* timingHistVsPhi =
new TH2F(Form(
"timeVsPhiFED_%d",FED),Form(
"time Vs Phi FED %d;Relative Time (1 clock = 25ns);i#phi",FED),78,-7,7,20,1,21);
1488 TH2F* timingHistVsModule =
new TH2F(Form(
"timeVsModuleFED_%d",FED),Form(
"time Vs Module FED %d;Relative Time (1 clock = 25ns);i#eta",FED),78,-7,7,4,1,86);
1492 TH2F* dccRuntypeVsBxFED =
new TH2F(Form(
"DCCRuntypeVsBxFED_%d",FED),Form(
"DCC Runtype vs. BX FED %d",FED),3600,0,3600,24,0,24);
1510 double ttEtaBins[36] = {-85, -80, -75, -70, -65, -60, -55, -50, -45, -40, -35, -30, -25, -20, -15, -10, -5, 0, 1, 6, 11, 16, 21, 26, 31, 36, 41, 46, 51, 56, 61, 66, 71, 76, 81, 86 };
1511 double modEtaBins[10]={-85, -65, -45, -25, 0, 1, 26, 46, 66, 86};
1512 double ttPhiBins[73];
1513 double modPhiBins[19];
1514 double timingBins[79];
1515 double highEBins[11];
1516 for (
int i = 0;
i < 79; ++
i)
1518 timingBins[
i]=-7.+double(
i)*14./78.;
1524 modPhiBins[
i]=1+20*
i;
1527 highEBins[
i]=10.+double(
i)*20.;
1537 double timingBinWidth = timingEndInSeconds/double(
numTimingBins_);
1547 allFedsTimingHist_ =
new TH1F(
"timeForAllFeds",
"timeForAllFeds;Relative Time (1 clock = 25ns)",78,-7,7);
1548 allFedsTimingVsFreqHist_ =
new TH2F(
"timeVsFreqAllEvent",
"time Vs Freq All events;Relative Time (1 clock = 25ns);Event Number",78,-7,7,2000,0.,200000);
1550 allFedsFrequencyHist_ =
new TH1F(
"FrequencyAllEvent",
"Frequency for All events;Event Number",2000,0.,200000);
1553 allFedsFreqTimeHist_ =
new TH1F(
"FrequencyAllEventsInTime",Form(
"Time of Cosmic Events; Time (s);Passing Event rate/%5g s",timingBinWidth),
numTimingBins_,0.,timingEndInSeconds);
1554 allFedsFreqTimeVsPhiHist_=
new TH2F(
"FrequencyAllEventsInTimeVsPhi",Form(
"Time of Cosmic Events vs iPhi; iPhi;Time (s)/%5g s",timingBinWidth*360.),360,1.,361.,
numTimingBins_/360,0.,timingEndInSeconds);
1555 allFedsFreqTimeVsPhiTTHist_=
new TH2F(
"FrequencyAllEventsInTimeVsTTPhi",Form(
"Time of Cosmic Events vs iPhi (TT bins); iPhi;Time (s)/%5g s",timingBinWidth*72.),72,1.,361.,
numTimingBins_/72,0.,timingEndInSeconds);
1556 allFedsFreqTimeVsEtaHist_=
new TH2F(
"FrequencyAllEventsInTimeVsEta",Form(
"Time of Cosmic Events vs iEta; Time (s)/%5g s; iEta" ,timingBinWidth*172.),
numTimingBins_/172,0.,timingEndInSeconds,172,-86.,86.);
1557 allFedsFreqTimeVsEtaTTHist_=
new TH2F(
"FrequencyAllEventsInTimeVsTTEta",Form(
"Time of Cosmic Events vs Eta (TT bins);Time (s)/%5g s; iEta" ,timingBinWidth*35.),
numTimingBins_/35,0.,timingEndInSeconds,35,ttEtaBins);
1563 allOccupancy_ =
new TH2F(
"OccupancyAllEvents",
"Occupancy all events;i#phi;i#eta",360,1.,361.,172,-86,86);
1564 TrueOccupancy_ =
new TH2F(
"TrueOccupancyAllEvents",
"True Occupancy all events;#phi;#eta",360,-3.14159,3.14159,172,-1.5,1.5);
1565 allOccupancyCoarse_ =
new TH2F(
"OccupancyAllEventsCoarse",
"Occupancy all events Coarse;i#phi;i#eta",360/5,1,361.,35,ttEtaBins);
1566 TrueOccupancyCoarse_ =
new TH2F(
"TrueOccupancyAllEventsCoarse",
"True Occupancy all events Coarse;#phi;#eta",360/5,-3.14159,3.14159,34,-1.5,1.5);
1570 allOccupancySingleXtal_ =
new TH2F(
"OccupancySingleXtal",
"Occupancy single xtal clusters;i#phi;i#eta",360,1.,361.,172,-86,86);
1573 allFedsTimingPhiHist_ =
new TH2F(
"timePhiAllFEDs",
"time vs Phi for all FEDs (TT binning);i#phi;Relative Time (1 clock = 25ns)",72,1,361,78,-7,7);
1574 allFedsTimingPhiEbpHist_ =
new TH2F(
"timePhiEBP",
"time vs Phi for FEDs in EB+ (TT binning) ;i#phi;Relative Time (1 clock = 25ns)",72,1,361,78,-7,7);
1575 allFedsTimingPhiEbmHist_ =
new TH2F(
"timePhiEBM",
"time vs Phi for FEDs in EB- (TT binning);i#phi;Relative Time (1 clock = 25ns)",72,1,361,78,-7,7);
1576 allFedsTimingPhiEtaHist_ =
new TH3F(
"timePhiEtaAllFEDs",
"(Phi,Eta,time) for all FEDs (SM,M binning);i#phi;i#eta;Relative Time (1 clock = 25ns)",18,modPhiBins,9,modEtaBins,78,timingBins);
1577 allFedsTimingTTHist_ =
new TH3F(
"timeTTAllFEDs",
"(Phi,Eta,time) for all FEDs (SM,TT binning);i#phi;i#eta;Relative Time (1 clock = 25ns)",72,ttPhiBins,35,ttEtaBins,78,timingBins);
1578 allFedsTimingLMHist_ =
new TH2F(
"timeLMAllFEDs",
"(LM,time) for all FEDs (SM,LM binning);LM;Relative Time (1 clock = 25ns)",92, 1, 92,78,-7,7);
1580 allFedsTimingEbpHist_ =
new TH1F(
"timeEBP",
"time for FEDs in EB+;Relative Time (1 clock = 25ns)",78,-7,7);
1581 allFedsTimingEbmHist_ =
new TH1F(
"timeEBM",
"time for FEDs in EB-;Relative Time (1 clock = 25ns)",78,-7,7);
1582 allFedsTimingEbpTopHist_ =
new TH1F(
"timeEBPTop",
"time for FEDs in EB+ Top;Relative Time (1 clock = 25ns)",78,-7,7);
1583 allFedsTimingEbmTopHist_ =
new TH1F(
"timeEBMTop",
"time for FEDs in EB- Top;Relative Time (1 clock = 25ns)",78,-7,7);
1587 numberofCosmicsHist_ =
new TH1F(
"numberofCosmicsPerEvent",
"Number of cosmics per event;Number of Cosmics",30,0,30);
1588 numberofCosmicsHistEB_ =
new TH1F(
"numberofCosmicsPerEvent_EB",
"Number of cosmics per event EB;Number of Cosmics",30,0,30);
1591 numberofCosmicsTopBottomHist_ =
new TH1F(
"numberofCosmicsTopBottomPerEvent",
"Number of top bottom cosmics per event;Number of Cosmics",30,0,30);
1592 numberofGoodEvtFreq_ =
new TH1F(
"frequencyOfGoodEvents",
"Number of events with cosmic vs Event;Event Number;Number of Good Events/100 Events",2000,0,200000);
1594 numberofCrossedEcalIdsHist_ =
new TH1F(
"numberofCrossedEcalCosmicsPerEvent",
"Number of crossed ECAL cosmics per event;Number of Crossed Cosmics",10,0,10);
1596 allOccupancyExclusiveECAL_ =
new TH2F(
"OccupancyAllEvents_ExclusiveECAL",
"Occupancy all events Exclusive ECAL ;i#phi;i#eta",360,1.,361.,172,-86,86);
1597 allOccupancyCoarseExclusiveECAL_ =
new TH2F(
"OccupancyAllEventsCoarse_ExclusiveECAL",
"Occupancy all events Coarse Exclusive ECAL;i#phi;i#eta",360/5,ttPhiBins,35, ttEtaBins);
1598 allOccupancyECAL_ =
new TH2F(
"OccupancyAllEvents_ECAL",
"Occupancy all events ECAL;i#phi;i#eta",360,1.,361.,172,-86,86);
1599 allOccupancyCoarseECAL_ =
new TH2F(
"OccupancyAllEventsCoarse_ECAL",
"Occupancy all events Coarse ECAL;i#phi;i#eta",360/5,ttPhiBins,35, ttEtaBins);
1600 allFedsTimingHistECAL_ =
new TH1F(
"timeForAllFeds_ECAL",
"timeForAllFeds ECAL;Relative Time (1 clock = 25ns)",78,-7,7);
1601 allFedsTimingPhiEtaHistECAL_ =
new TH3F(
"timePhiEtaAllFEDs_ECAL",
"ECAL (Phi,Eta,time) for all FEDs (SM,M binning);i#phi;i#eta;Relative Time (1 clock = 25ns)",18,modPhiBins,9, modEtaBins,78,timingBins);
1602 allFedsTimingTTHistECAL_ =
new TH3F(
"timeTTAllFEDs_ECAL",
"ECAL (Phi,Eta,time) for all FEDs (SM,TT binning);i#phi;i#eta;Relative Time (1 clock = 25ns)",72,ttPhiBins,35,ttEtaBins,78,timingBins);
1603 allFedsTimingLMHistECAL_ =
new TH2F(
"timeLMAllFEDs_ECAL",
"ECAL (LM,time) for all FEDs (SM,LM binning);LM;Relative Time (1 clock = 25ns)",92, 1, 92,78,-7,7);
1605 allOccupancyExclusiveDT_ =
new TH2F(
"OccupancyAllEvents_ExclusiveDT",
"Occupancy all events Exclusive DT;i#phi;i#eta",360,1.,361.,172,-86,86);
1606 allOccupancyCoarseExclusiveDT_ =
new TH2F(
"OccupancyAllEventsCoarse_ExclusiveDT",
"Occupancy all events Coarse Exclusive DT;i#phi;i#eta",360/5,1,361.,35,ttEtaBins);
1607 allOccupancyDT_ =
new TH2F(
"OccupancyAllEvents_DT",
"Occupancy all events DT;i#phi;i#eta",360,1.,361.,172,-86,86);
1608 allOccupancyCoarseDT_ =
new TH2F(
"OccupancyAllEventsCoarse_DT",
"Occupancy all events Coarse DT;i#phi;i#eta",360/5,1,361.,35,ttEtaBins);
1609 allFedsTimingHistDT_ =
new TH1F(
"timeForAllFeds_DT",
"timeForAllFeds DT;Relative Time (1 clock = 25ns)",78,-7,7);
1610 allFedsTimingPhiEtaHistDT_ =
new TH3F(
"timePhiEtaAllFEDs_DT",
"DT (Phi,Eta,time) for all FEDs (SM,M binning);i#phi;i#eta;Relative Time (1 clock = 25ns)",18,modPhiBins,9, modEtaBins,78,timingBins);
1611 allFedsTimingTTHistDT_ =
new TH3F(
"timeTTAllFEDs_DT",
"DT (Phi,Eta,time) for all FEDs (SM,TT binning);i#phi;i#eta;Relative Time (1 clock = 25ns)",72,ttPhiBins,35,ttEtaBins,78,timingBins);
1612 allFedsTimingLMHistDT_ =
new TH2F(
"timeLMAllFEDs_DT",
"DT (LM,time) for all FEDs (SM,LM binning);LM;Relative Time (1 clock = 25ns)",92, 1, 92,78,-7,7);
1614 allOccupancyExclusiveRPC_ =
new TH2F(
"OccupancyAllEvents_ExclusiveRPC",
"Occupancy all events Exclusive RPC;i#phi;i#eta",360,1.,361.,172,-86,86);
1615 allOccupancyCoarseExclusiveRPC_ =
new TH2F(
"OccupancyAllEventsCoarse_ExclusiveRPC",
"Occupancy all events Coarse Exclusive RPC;i#phi;i#eta",360/5,1,361.,35, ttEtaBins);
1616 allOccupancyRPC_ =
new TH2F(
"OccupancyAllEvents_RPC",
"Occupancy all events RPC;i#phi;i#eta",360,1.,361.,172,-86,86);
1617 allOccupancyCoarseRPC_ =
new TH2F(
"OccupancyAllEventsCoarse_RPC",
"Occupancy all events Coarse RPC;i#phi;i#eta",360/5,1,361.,35, ttEtaBins);
1618 allFedsTimingHistRPC_ =
new TH1F(
"timeForAllFeds_RPC",
"timeForAllFeds RPC;Relative Time (1 clock = 25ns)",78,-7,7);
1619 allFedsTimingPhiEtaHistRPC_ =
new TH3F(
"timePhiEtaAllFEDs_RPC",
"RPC (Phi,Eta,time) for all FEDs (SM,M binning);i#phi;i#eta;Relative Time (1 clock = 25ns)",18,modPhiBins,9, modEtaBins,78,timingBins);
1620 allFedsTimingTTHistRPC_ =
new TH3F(
"timeTTAllFEDs_RPC",
"RPC (Phi,Eta,time) for all FEDs (SM,TT binning);i#phi;i#eta;Relative Time (1 clock = 25ns)",72,ttPhiBins,35,ttEtaBins,78,timingBins);
1621 allFedsTimingLMHistRPC_ =
new TH2F(
"timeLMAllFEDs_RPC",
"RPC (LM,time) for all FEDs (SM,LM binning);LM;Relative Time (1 clock = 25ns)",92, 1, 92,78,-7,7);
1623 allOccupancyExclusiveCSC_ =
new TH2F(
"OccupancyAllEvents_ExclusiveCSC",
"Occupancy all events Exclusive CSC;i#phi;i#eta",360,1.,361.,172,-86,86);
1624 allOccupancyCoarseExclusiveCSC_ =
new TH2F(
"OccupancyAllEventsCoarse_ExclusiveCSC",
"Occupancy all events Coarse Exclusive CSC;i#phi;i#eta",360/5,1,361.,35, ttEtaBins);
1625 allOccupancyCSC_ =
new TH2F(
"OccupancyAllEvents_CSC",
"Occupancy all events CSC;i#phi;i#eta",360,1.,361.,172,-86,86);
1626 allOccupancyCoarseCSC_ =
new TH2F(
"OccupancyAllEventsCoarse_CSC",
"Occupancy all events Coarse CSC;i#phi;i#eta",360/5,1,361.,35, ttEtaBins);
1627 allFedsTimingHistCSC_ =
new TH1F(
"timeForAllFeds_CSC",
"timeForAllFeds CSC;Relative Time (1 clock = 25ns)",78,-7,7);
1628 allFedsTimingPhiEtaHistCSC_ =
new TH3F(
"timePhiEtaAllFEDs_CSC",
"CSC (Phi,Eta,time) for all FEDs (SM,M binning);i#phi;i#eta;Relative Time (1 clock = 25ns)",18,modPhiBins,9, modEtaBins,78,timingBins);
1629 allFedsTimingTTHistCSC_ =
new TH3F(
"timeTTAllFEDs_CSC",
"CSC (Phi,Eta,time) for all FEDs (SM,TT binning);i#phi;i#eta;Relative Time (1 clock = 25ns)",72,ttPhiBins,35,ttEtaBins,78,timingBins);
1630 allFedsTimingLMHistCSC_ =
new TH2F(
"timeLMAllFEDs_CSC",
"CSC (LM,time) for all FEDs (SM,LM binning);LM;Relative Time (1 clock = 25ns)",92, 1, 62,78,-7,7);
1632 allOccupancyExclusiveHCAL_ =
new TH2F(
"OccupancyAllEvents_ExclusiveHCAL",
"Occupancy all events Exclusive HCAL;i#phi;i#eta",360,1.,361.,172,-86,86);
1633 allOccupancyCoarseExclusiveHCAL_ =
new TH2F(
"OccupancyAllEventsCoarse_ExclusiveHCAL",
"Occupancy all events Coarse Exclusive HCAL;i#phi;i#eta",360/5,1,361.,35, ttEtaBins);
1634 allOccupancyHCAL_ =
new TH2F(
"OccupancyAllEvents_HCAL",
"Occupancy all events HCAL;i#phi;i#eta",360,1.,361.,172,-86,86);
1635 allOccupancyCoarseHCAL_ =
new TH2F(
"OccupancyAllEventsCoarse_HCAL",
"Occupancy all events Coarse HCAL;i#phi;i#eta",360/5,1,361.,35, ttEtaBins);
1636 allFedsTimingHistHCAL_ =
new TH1F(
"timeForAllFeds_HCAL",
"timeForAllFeds HCAL;Relative Time (1 clock = 25ns)",78,-7,7);
1637 allFedsTimingPhiEtaHistHCAL_ =
new TH3F(
"timePhiEtaAllFEDs_HCAL",
"HCAL (Phi,Eta,time) for all FEDs (SM,M binning);i#phi;i#eta;Relative Time (1 clock = 25ns)",18,modPhiBins,9, modEtaBins,78,timingBins);
1638 allFedsTimingTTHistHCAL_ =
new TH3F(
"timeTTAllFEDs_HCAL",
"HCAL (Phi,Eta,time) for all FEDs (SM,TT binning);i#phi;i#eta;Relative Time (1 clock = 25ns)",72,ttPhiBins,35,ttEtaBins,78,timingBins);
1639 allFedsTimingLMHistHCAL_ =
new TH2F(
"timeLMAllFEDs_HCAL",
"HCAL (LM,time) for all FEDs (SM,LM binning);LM;Relative Time (1 clock = 25ns)",92, 1, 92,78,-7,7);
1641 TrueBCOccupancy_ =
new TH2F(
"BCTrueOccupancyAllEvents",
"True SB Occupancy all events;#phi;#eta",360,-3.14159,3.14159,172,-1.5,1.5);
1642 TrueBCOccupancyCoarse_ =
new TH2F(
"BCTrueOccupancyAllEventsCoarse",
"True BC Occupancy all events Coarse;#phi;#eta",360/5,-3.14159,3.14159,34,-1.5 ,1.5);
1644 numberofBCinSC_ =
new TH1F(
"numberofBCinSC",
"Number of Basic Clusters in Super Cluster;Num Basic Clusters",20,0,20);
1645 numberofBCinSCphi_ =
new TH2F(
"numberofBCinSCphi",
"Number of Basic Clusters in Super Cluster;phi;Num Basic Clusters",360/5,-3.14159,3.14159,20,0,20);
1647 allFedsTimingHistEcalMuon_ =
new TH1F(
"timeForAllFeds_EcalMuon",
"timeForAllFeds Ecal+Muon;Relative Time (1 clock = 25ns)",78,-7,7);
1649 triggerHist_ =
new TH1F(
"triggerHist",
"Trigger Number",5,0,5);
1664 deltaRHist_ =
new TH1F(
"deltaRHist",
"deltaR",500,-0.5,499.5);
1665 deltaEtaHist_ =
new TH1F(
"deltaIEtaHist",
"deltaIEta",170,-85.5,84.5);
1666 deltaPhiHist_ =
new TH1F(
"deltaIPhiHist",
"deltaIPhi",720,-360.5,359.5);
1667 ratioAssocTracksHist_ =
new TH1F(
"ratioAssocTracks",
"num assoc. tracks/tracks through Ecal",11,0,1.1);
1669 trackAssoc_muonsEcal_=
new TH2F(
"trackAssoc_muonsEcal",
"Map of muon hits in Ecal", 360,1.,361.,172,-86,86);
1670 deltaEtaDeltaPhiHist_ =
new TH2F(
"deltaEtaDeltaPhi",
"Delta ieta vs. delta iphi",170,-85.5,84.5,720,-360.5,359.5);
1671 seedTrackEtaHist_ =
new TH2F(
"seedTrackEta",
"track ieta vs. seed ieta",170,-85.5,84.5,170,-85.5,84.5);
1672 seedTrackPhiHist_ =
new TH2F(
"seedTrackPhi",
"track iphi vs. seed iphi",720,-360.5,359.5,720,-360.5,359.5);
1674 dccEventVsBxHist_ =
new TH2F(
"dccEventVsBx",
"DCC Runtype vs. bunch crossing",3600,0,3600,24,0,24);
1678 dccRuntypeHist_ =
new TH1F(
"dccRuntype",
"DCC Runtype frequency",24,0,24);
1679 dccErrorVsBxHist_ =
new TH2F(
"dccErrorVsBX",
"DCC Errors vs. BX",3600,0,3600,3,0,3);
1681 hcalEnergy_HBHE_ =
new TH1F(
"hcalEnergy_HBHE",
"RecHit Energy HBHE",440,-10,100);
1682 hcalEnergy_HF_ =
new TH1F(
"hcalEnergy_HF",
"RecHit Energy HF",440,-10,100);
1683 hcalEnergy_HO_ =
new TH1F(
"hcalEnergy_HO",
"RecHit Energy HO",440,-10,100);
1686 NumXtalsInClusterHist_ =
new TH1F(
"NumXtalsInClusterAllHist",
"Number of Xtals in Cluster;NumXtals",150,0,150);
1688 numxtalsVsHighEnergy_ =
new TH2F(
"NumXtalsVsHighEnergy",
"Number of Xtals in Cluster vs Energy;Energy (GeV);Number of Xtals in Cluster",numBins,
histRangeMin_,200., 150,0,150);
1691 allOccupancyHighEnergy_ =
new TH2F(
"OccupancyHighEnergyEvents",
"Occupancy high energy events;i#phi;i#eta",360,1.,361.,172,-86,86);
1692 allOccupancyHighEnergyCoarse_ =
new TH2F(
"OccupancyHighEnergyEventsCoarse",
"Occupancy high energy events Coarse;i#phi;i#eta",72,ttPhiBins,35,ttEtaBins);
1693 allFedsOccupancyHighEnergyHist_ =
new TH3F(
"OccupancyHighEnergyEvents3D",
"(Phi,Eta,energy) for all high energy events;i#phi;i#eta;energy (GeV)",18,modPhiBins,9,modEtaBins,10,highEBins);
1696 HighEnergy_NumXtal =
new TH1F(
"HighEnergy_NumXtal",
"Num crystals in high E clusters;num crystals",150,0,150);
1697 HighEnergy_NumXtalFedId =
new TH2F(
"HighEnergy_NumXtalFedId",
"Num crystals in cluster vs FedId;FedId;num crystals",36,610.,645.,150,0,150);
1698 HighEnergy_NumXtaliphi =
new TH2F(
"HighEnergy_NumXtaliphi",
"Num crystals in cluster vs iphi;i#phi;num crystals",360,1.,361.,150,0,150);
1699 HighEnergy_energy3D =
new TH3F(
"HighEnergy_energy3D",
"(Phi,Eta,energy) for all high energy events;i#phi;i#eta;energy (GeV)",72,ttPhiBins,35,ttEtaBins,10,highEBins);
1701 HighEnergy_energyNumXtal =
new TH2F(
"HighEnergy_energyNumXtal",
"Energy in cluster vs Num crystals in cluster;num crystals;energy",150,0,150,200,0.,200.);
1703 HighEnergy_bestSeed =
new TH1F(
"HighEnergy_bestSeedEnergy",
"BestSeed Energy from TrackAss",200,0.,200.);
1704 HighEnergy_bestSeedOccupancy =
new TH2F(
"HighEnergy_bestSeedOccupancy",
"Occupancy HighEn events from TrackAss;i#phi;i#eta",360,1.,361.,172,-86,86);
1707 HighEnergy_ratioClusters =
new TH1F(
"HighEnergy_ratioClusters",
"Num High Energy Clusters/Num tot Clusters",100,0.,1.1);
1713 HighEnergy_2GeV_occuCoarse =
new TH2F(
"HighEnergy_occu2GeV_Coarse",
"Occupancy high energy events with more than 2 GeV;i#phi;i#eta",72,ttPhiBins,35,ttEtaBins);
1714 HighEnergy_2GeV_occu3D =
new TH3F(
"HighEnergy_2GeV_energy3D",
"(iphi,ieta,energy) for all high energy events w > 10 GeV;i#phi;i#eta;energy (GeV)",72,ttPhiBins,35,ttEtaBins,10,highEBins);
1715 HighEnergy_100GeV_occuCoarse =
new TH2F(
"HighEnergy_occu100GeV_Coarse",
"Occupancy high energy events with more than 100 GeV;i#phi;i#eta",72,ttPhiBins,35,ttEtaBins);
1716 HighEnergy_100GeV_occu3D =
new TH3F(
"HighEnergy_100GeV_energy3D",
"(iphi,ieta,energy) for all high energy events more than 100 GeV;i#phi;i#eta;energy (GeV)",72,ttPhiBins,35,ttEtaBins,10,highEBins);
1717 HighEnergy_0tracks_occu3D =
new TH3F(
"HighEnergy_0Tracks_energy3D",
"(iphi,ieta,energy) for all events with 0 tracks;i#phi;i#eta;energy (GeV)",72,ttPhiBins,35,ttEtaBins,10,highEBins);
1718 HighEnergy_1tracks_occu3D =
new TH3F(
"HighEnergy_1Tracks_energy3D",
"(iphi,ieta,energy) for all events with 1 tracks;i#phi;i#eta;energy (GeV)",72,ttPhiBins,35,ttEtaBins,10,highEBins);
1719 HighEnergy_2tracks_occu3D =
new TH3F(
"HighEnergy_2Tracks_energy3D",
"(iphi,ieta,energy) for all events with 2 tracks;i#phi;i#eta;energy (GeV)",72,ttPhiBins,35,ttEtaBins,10,highEBins);
1720 HighEnergy_0tracks_occu3DXtal =
new TH3F(
"HighEnergy_0Tracks_energy3DXtal",
"(iphi,ieta,energy) for all events with 0 tracks;i#phi;i#eta;energy (GeV)",360,1.,361.,172,-86,86,200,0.,200.);
1721 HighEnergy_1tracks_occu3DXtal =
new TH3F(
"HighEnergy_1Tracks_energy3DXtal",
"(iphi,ieta,energy) for all events with 1 tracks;i#phi;i#eta;energy (GeV)",360,1.,361.,172,-86,86,200,0.,200.);
1722 HighEnergy_2tracks_occu3DXtal =
new TH3F(
"HighEnergy_2Tracks_energy3DXtal",
"(iphi,ieta,energy) for all events with 2 tracks;i#phi;i#eta;energy (GeV)",360,1.,361.,172,-86,86,200,0.,200.);
1729 EEM_AllOccupancyCoarse_ =
new TH2F(
"OccupancyAllEventsCoarse",
"Occupancy all events Coarse EEM;ix;iy",20,0,100,20,0,100);
1730 EEM_AllOccupancy_ =
new TH2F(
"OccupancyAllEvents",
"Occupancy all events EEM;ix;iy",100,0,100,100,0,100);
1737 EEM_FedsTimingHist_ =
new TH1F(
"timeForAllFeds",
"timeForAllFeds_EEM;Relative Time (1 clock = 25ns)",78,-7,7);
1738 EEM_numberofCosmicsHist_ =
new TH1F(
"numberofCosmicsPerEvent",
"Number of cosmics per event EEM;Number of Cosmics",30,0,30);
1741 EEM_FedsTimingTTHist_ =
new TH3F(
"timeTTAllFEDs",
"(ix,iy,time) for all FEDs (SM,TT binning) EEM;ix;iy;Relative Time (1 clock = 25ns)",20,0,100,20,0,100,78,-7,7);
1743 EEM_OccupancySingleXtal_ =
new TH2F(
"OccupancySingleXtal",
"Occupancy single xtal clusters EEM;ix;iy",100,0,100,100,0,100);
1746 EEM_OccupancyExclusiveECAL_ =
new TH2F(
"OccupancyAllEvents_ExclusiveECAL",
"Occupancy all events Exclusive ECAL EEM;ix;iy",100,0,100,100,0,100);
1747 EEM_OccupancyCoarseExclusiveECAL_ =
new TH2F(
"OccupancyAllEventsCoarse_ExclusiveECAL",
"Occupancy all events Coarse Exclusive ECAL EEM;ix;iy",20,0,100,20,0,100);
1748 EEM_OccupancyECAL_ =
new TH2F(
"OccupancyAllEvents_ECAL",
"Occupancy all events ECAL EEM;ix;iy",100,0,100,100,0,100);
1749 EEM_OccupancyCoarseECAL_ =
new TH2F(
"OccupancyAllEventsCoarse_ECAL",
"Occupancy all events Coarse ECAL EEM;ix;iy",20,0,100,20,0,100);
1750 EEM_FedsTimingHistECAL_ =
new TH1F(
"timeForAllFeds_ECAL",
"timeForAllFeds ECAL EEM;Relative Time (1 clock = 25ns)",78,-7,7);
1751 EEM_FedsTimingTTHistECAL_ =
new TH3F(
"timeTTAllFEDs_ECAL",
"(ix,iy,time) for all FEDs (SM,TT binning) ECAL EEM;ix;iy;Relative Time (1 clock = 25ns)",20,0,100,20,0,100,78,-7,7);
1753 EEM_OccupancyExclusiveDT_ =
new TH2F(
"OccupancyAllEvents_ExclusiveDT",
"Occupancy all events Exclusive DT EEM;ix;iy",100,0,100,100,0,100);
1754 EEM_OccupancyCoarseExclusiveDT_ =
new TH2F(
"OccupancyAllEventsCoarse_ExclusiveDT",
"Occupancy all events Coarse Exclusive DT EEM;ix;iy",20,0,100,20,0,100);
1755 EEM_OccupancyDT_ =
new TH2F(
"OccupancyAllEvents_DT",
"Occupancy all events DT EEM;ix;iy",100,0,100,100,0,100);
1756 EEM_OccupancyCoarseDT_ =
new TH2F(
"OccupancyAllEventsCoarse_DT",
"Occupancy all events Coarse DT EEM;ix;iy",20,0,100,20,0,100);
1757 EEM_FedsTimingHistDT_ =
new TH1F(
"timeForAllFeds_DT",
"timeForAllFeds DT EEM;Relative Time (1 clock = 25ns)",78,-7,7);
1758 EEM_FedsTimingTTHistDT_ =
new TH3F(
"timeTTAllFEDs_DT",
"(ix,iy,time) for all FEDs (SM,TT binning) DT EEM;ix;iy;Relative Time (1 clock = 25ns)",20,0,100,20,0,100,78,-7,7);
1760 EEM_OccupancyExclusiveRPC_ =
new TH2F(
"OccupancyAllEvents_ExclusiveRPC",
"Occupancy all events Exclusive RPC EEM;ix;iy",100,0,100,100,0,100);
1761 EEM_OccupancyCoarseExclusiveRPC_ =
new TH2F(
"OccupancyAllEventsCoarse_ExclusiveRPC",
"Occupancy all events Coarse Exclusive RPC EEM;ix;iy",20,0,100,20,0,100);
1762 EEM_OccupancyRPC_ =
new TH2F(
"OccupancyAllEvents_RPC",
"Occupancy all events RPC EEM;ix;iy",100,0,100,100,0,100);
1763 EEM_OccupancyCoarseRPC_ =
new TH2F(
"OccupancyAllEventsCoarse_RPC",
"Occupancy all events Coarse RPC EEM;ix;iy",20,0,100,20,0,100);
1764 EEM_FedsTimingHistRPC_ =
new TH1F(
"timeForAllFeds_RPC",
"timeForAllFeds RPC EEM;Relative Time (1 clock = 25ns)",78,-7,7);
1765 EEM_FedsTimingTTHistRPC_ =
new TH3F(
"timeTTAllFEDs_RPC",
"(ix,iy,time) for all FEDs (SM,TT binning) RPC EEM;ix;iy;Relative Time (1 clock = 25ns)",20,0,100,20,0,100,78,-7,7);
1767 EEM_OccupancyExclusiveCSC_ =
new TH2F(
"OccupancyAllEvents_ExclusiveCSC",
"Occupancy all events Exclusive CSC EEM;ix;iy",100,0,100,100,0,100);
1768 EEM_OccupancyCoarseExclusiveCSC_ =
new TH2F(
"OccupancyAllEventsCoarse_ExclusiveCSC",
"Occupancy all events Coarse Exclusive CSC EEM;ix;iy",20,0,100,20,0,100);
1769 EEM_OccupancyCSC_ =
new TH2F(
"OccupancyAllEvents_CSC",
"Occupancy all events CSC EEM;ix;iy",100,0,100,100,0,100);
1770 EEM_OccupancyCoarseCSC_ =
new TH2F(
"OccupancyAllEventsCoarse_CSC",
"Occupancy all events Coarse CSC EEM;ix;iy",20,0,100,20,0,100);
1771 EEM_FedsTimingHistCSC_ =
new TH1F(
"timeForAllFeds_CSC",
"timeForAllFeds CSC EEM;Relative Time (1 clock = 25ns)",78,-7,7);
1772 EEM_FedsTimingTTHistCSC_ =
new TH3F(
"timeTTAllFEDs_CSC",
"(ix,iy,time) for all FEDs (SM,TT binning) CSC EEM;ix;iy;Relative Time (1 clock = 25ns)",20,0,100,20,0,100,78,-7,7);
1774 EEM_OccupancyExclusiveHCAL_ =
new TH2F(
"OccupancyAllEvents_ExclusiveHCAL",
"Occupancy all events Exclusive HCAL EEM;ix;iy",100,0,100,100,0,100);
1775 EEM_OccupancyCoarseExclusiveHCAL_ =
new TH2F(
"OccupancyAllEventsCoarse_ExclusiveHCAL",
"Occupancy all events Coarse Exclusive HCAL EEM;ix;iy",20,0,100,20,0,100);
1776 EEM_OccupancyHCAL_ =
new TH2F(
"OccupancyAllEvents_HCAL",
"Occupancy all events HCAL EEM;ix;iy",100,0,100,100,0,100);
1777 EEM_OccupancyCoarseHCAL_ =
new TH2F(
"OccupancyAllEventsCoarse_HCAL",
"Occupancy all events Coarse HCAL EEM;ix;iy",20,0,100,20,0,100);
1778 EEM_FedsTimingHistHCAL_ =
new TH1F(
"timeForAllFeds_HCAL",
"timeForAllFeds HCAL EEM;Relative Time (1 clock = 25ns)",78,-7,7);
1779 EEM_FedsTimingTTHistHCAL_ =
new TH3F(
"timeTTAllFEDs_HCAL",
"(ix,iy,time) for all FEDs (SM,TT binning) HCAL EEM;ix;iy;Relative Time (1 clock = 25ns)",20,0,100,20,0,100,78,-7,7);
1781 EEM_numberofBCinSC_ =
new TH1F(
"numberofBCinSC",
"Number of Basic Clusters in Super Cluster EEM;Num Basic Clusters",20,0,20);
1797 EEM_numxtalsVsEnergy_ =
new TH2F(
"NumXtalsVsEnergy",
"Number of Xtals in Cluster vs Energy EEM;Energy (GeV);Number of Xtals in Cluster",numBins,
histRangeMin_,10.0, 150,0,150);
1800 EEM_OccupancyHighEnergy_ =
new TH2F(
"OccupancyHighEnergyEvents",
"Occupancy high energy events EEM;ix;iy",100,0,100,100,0,100);
1809 EEP_AllOccupancyCoarse_ =
new TH2F(
"OccupancyAllEventsCoarse",
"Occupancy all events Coarse EEP;ix;iy",20,0,100,20,0,100);
1810 EEP_AllOccupancy_ =
new TH2F(
"OccupancyAllEvents",
"Occupancy all events EEP;ix;iy",100,0,100,100,0,100);
1817 EEP_FedsTimingHist_ =
new TH1F(
"timeForAllFeds",
"timeForAllFeds_EEP;Relative Time (1 clock = 25ns)",78,-7,7);
1818 EEP_numberofCosmicsHist_ =
new TH1F(
"numberofCosmicsPerEvent",
"Number of cosmics per event EEP;Number of Cosmics",30,0,30);
1821 EEP_FedsTimingTTHist_ =
new TH3F(
"timeTTAllFEDs",
"(ix,iy,time) for all FEDs (SM,TT binning) EEP;ix;iy;Relative Time (1 clock = 25ns)",20,0,100,20,0,100,78,-7,7);
1823 EEP_OccupancySingleXtal_ =
new TH2F(
"OccupancySingleXtal",
"Occupancy single xtal clusters EEP;ix;iy",100,0,100,100,0,100);
1826 EEP_OccupancyExclusiveECAL_ =
new TH2F(
"OccupancyAllEvents_ExclusiveECAL",
"Occupancy all events Exclusive ECAL EEP;ix;iy",100,0,100,100,0,100);
1827 EEP_OccupancyCoarseExclusiveECAL_ =
new TH2F(
"OccupancyAllEventsCoarse_ExclusiveECAL",
"Occupancy all events Coarse Exclusive ECAL EEP;ix;iy",20,0,100,20,0,100);
1828 EEP_OccupancyECAL_ =
new TH2F(
"OccupancyAllEvents_ECAL",
"Occupancy all events ECAL EEP;ix;iy",100,0,100,100,0,100);
1829 EEP_OccupancyCoarseECAL_ =
new TH2F(
"OccupancyAllEventsCoarse_ECAL",
"Occupancy all events Coarse ECAL EEP;ix;iy",20,0,100,20,0,100);
1830 EEP_FedsTimingHistECAL_ =
new TH1F(
"timeForAllFeds_ECAL",
"timeForAllFeds ECAL EEP;Relative Time (1 clock = 25ns)",78,-7,7);
1831 EEP_FedsTimingTTHistECAL_ =
new TH3F(
"timeTTAllFEDs_ECAL",
"(ix,iy,time) for all FEDs (SM,TT binning) ECAL EEP;ix;iy;Relative Time (1 clock = 25ns)",20,0,100,20,0,100,78,-7,7);
1833 EEP_OccupancyExclusiveDT_ =
new TH2F(
"OccupancyAllEvents_ExclusiveDT",
"Occupancy all events Exclusive DT EEP;ix;iy",100,0,100,100,0,100);
1834 EEP_OccupancyCoarseExclusiveDT_ =
new TH2F(
"OccupancyAllEventsCoarse_ExclusiveDT",
"Occupancy all events Coarse Exclusive DT EEP;ix;iy",20,0,100,20,0,100);
1835 EEP_OccupancyDT_ =
new TH2F(
"OccupancyAllEvents_DT",
"Occupancy all events DT EEP;ix;iy",100,0,100,100,0,100);
1836 EEP_OccupancyCoarseDT_ =
new TH2F(
"OccupancyAllEventsCoarse_DT",
"Occupancy all events Coarse DT EEP;ix;iy",20,0,100,20,0,100);
1837 EEP_FedsTimingHistDT_ =
new TH1F(
"timeForAllFeds_DT",
"timeForAllFeds DT EEP;Relative Time (1 clock = 25ns)",78,-7,7);
1838 EEP_FedsTimingTTHistDT_ =
new TH3F(
"timeTTAllFEDs_DT",
"(ix,iy,time) for all FEDs (SM,TT binning) DT EEP;ix;iy;Relative Time (1 clock = 25ns)",20,0,100,20,0,100,78,-7,7);
1840 EEP_OccupancyExclusiveRPC_ =
new TH2F(
"OccupancyAllEvents_ExclusiveRPC",
"Occupancy all events Exclusive RPC EEP;ix;iy",100,0,100,100,0,100);
1841 EEP_OccupancyCoarseExclusiveRPC_ =
new TH2F(
"OccupancyAllEventsCoarse_ExclusiveRPC",
"Occupancy all events Coarse Exclusive RPC EEP;ix;iy",20,0,100,20,0,100);
1842 EEP_OccupancyRPC_ =
new TH2F(
"OccupancyAllEvents_RPC",
"Occupancy all events RPC EEP;ix;iy",100,0,100,100,0,100);
1843 EEP_OccupancyCoarseRPC_ =
new TH2F(
"OccupancyAllEventsCoarse_RPC",
"Occupancy all events Coarse RPC EEP;ix;iy",20,0,100,20,0,100);
1844 EEP_FedsTimingHistRPC_ =
new TH1F(
"timeForAllFeds_RPC",
"timeForAllFeds RPC EEP;Relative Time (1 clock = 25ns)",78,-7,7);
1845 EEP_FedsTimingTTHistRPC_ =
new TH3F(
"timeTTAllFEDs_RPC",
"(ix,iy,time) for all FEDs (SM,TT binning) RPC EEP;ix;iy;Relative Time (1 clock = 25ns)",20,0,100,20,0,100,78,-7,7);
1847 EEP_OccupancyExclusiveCSC_ =
new TH2F(
"OccupancyAllEvents_ExclusiveCSC",
"Occupancy all events Exclusive CSC EEP;ix;iy",100,0,100,100,0,100);
1848 EEP_OccupancyCoarseExclusiveCSC_ =
new TH2F(
"OccupancyAllEventsCoarse_ExclusiveCSC",
"Occupancy all events Coarse Exclusive CSC EEP;ix;iy",20,0,100,20,0,100);
1849 EEP_OccupancyCSC_ =
new TH2F(
"OccupancyAllEvents_CSC",
"Occupancy all events CSC EEP;ix;iy",100,0,100,100,0,100);
1850 EEP_OccupancyCoarseCSC_ =
new TH2F(
"OccupancyAllEventsCoarse_CSC",
"Occupancy all events Coarse CSC EEP;ix;iy",20,0,100,20,0,100);
1851 EEP_FedsTimingHistCSC_ =
new TH1F(
"timeForAllFeds_CSC",
"timeForAllFeds CSC EEP;Relative Time (1 clock = 25ns)",78,-7,7);
1852 EEP_FedsTimingTTHistCSC_ =
new TH3F(
"timeTTAllFEDs_CSC",
"(ix,iy,time) for all FEDs (SM,TT binning) CSC EEP;ix;iy;Relative Time (1 clock = 25ns)",20,0,100,20,0,100,78,-7,7);
1854 EEP_OccupancyExclusiveHCAL_ =
new TH2F(
"OccupancyAllEvents_ExclusiveHCAL",
"Occupancy all events Exclusive HCAL EEP;ix;iy",100,0,100,100,0,100);
1855 EEP_OccupancyCoarseExclusiveHCAL_ =
new TH2F(
"OccupancyAllEventsCoarse_ExclusiveHCAL",
"Occupancy all events Coarse Exclusive HCAL EEP;ix;iy",20,0,100,20,0,100);
1856 EEP_OccupancyHCAL_ =
new TH2F(
"OccupancyAllEvents_HCAL",
"Occupancy all events HCAL EEP;ix;iy",100,0,100,100,0,100);
1857 EEP_OccupancyCoarseHCAL_ =
new TH2F(
"OccupancyAllEventsCoarse_HCAL",
"Occupancy all events Coarse HCAL EEP;ix;iy",20,0,100,20,0,100);
1858 EEP_FedsTimingHistHCAL_ =
new TH1F(
"timeForAllFeds_HCAL",
"timeForAllFeds HCAL EEP;Relative Time (1 clock = 25ns)",78,-7,7);
1859 EEP_FedsTimingTTHistHCAL_ =
new TH3F(
"timeTTAllFEDs_HCAL",
"(ix,iy,time) for all FEDs (SM,TT binning) HCAL EEP;ix;iy;Relative Time (1 clock = 25ns)",20,0,100,20,0,100,78,-7,7);
1861 EEP_numberofBCinSC_ =
new TH1F(
"numberofBCinSC",
"Number of Basic Clusters in Super Cluster EEP;Num Basic Clusters",20,0,20);
1878 EEP_numxtalsVsEnergy_ =
new TH2F(
"NumXtalsVsEnergy",
"Number of Xtals in Cluster vs Energy EEP;Energy (GeV);Number of Xtals in Cluster",numBins,
histRangeMin_,10.0, 150,0,150);
1881 EEP_OccupancyHighEnergy_ =
new TH2F(
"OccupancyHighEnergyEvents",
"Occupancy high energy events EEP;ix;iy",100,0,100,100,0,100);
1893 using namespace std;
1900 TFile root_file_(
fileName_.c_str() ,
"RECREATE");
1902 for(map<int,TH1F*>::const_iterator itr =
FEDsAndHists_.begin();
1905 TDirectory* FEDdir = gDirectory->mkdir(dir.c_str());
1908 TH1F*
hist = itr->second;
1912 cerr <<
"EcalCosmicsHists: Error: This shouldn't happen!" << endl;
1919 cerr <<
"EcalCosmicsHists: Error: This shouldn't happen!" << endl;
1962 map<int,TH2F*>::const_iterator itr2d;
1966 TH2F* hist2 = itr2d->second;
1967 hist2->GetYaxis()->SetBinLabel(1,
"COSMIC");
1968 hist2->GetYaxis()->SetBinLabel(2,
"BEAMH4");
1969 hist2->GetYaxis()->SetBinLabel(3,
"BEAMH2");
1970 hist2->GetYaxis()->SetBinLabel(4,
"MTCC");
1971 hist2->GetYaxis()->SetBinLabel(5,
"LASER_STD");
1972 hist2->GetYaxis()->SetBinLabel(6,
"LASER_POWER_SCAN");
1973 hist2->GetYaxis()->SetBinLabel(7,
"LASER_DELAY_SCAN");
1974 hist2->GetYaxis()->SetBinLabel(8,
"TESTPULSE_SCAN_MEM");
1975 hist2->GetYaxis()->SetBinLabel(9,
"TESTPULSE_MGPA");
1976 hist2->GetYaxis()->SetBinLabel(10,
"PEDESTAL_STD");
1977 hist2->GetYaxis()->SetBinLabel(11,
"PEDESTAL_OFFSET_SCAN");
1978 hist2->GetYaxis()->SetBinLabel(12,
"PEDESTAL_25NS_SCAN");
1979 hist2->GetYaxis()->SetBinLabel(13,
"LED_STD");
1980 hist2->GetYaxis()->SetBinLabel(14,
"PHYSICS_GLOBAL");
1981 hist2->GetYaxis()->SetBinLabel(15,
"COSMICS_GLOBAL");
1982 hist2->GetYaxis()->SetBinLabel(16,
"HALO_GLOBAL");
1983 hist2->GetYaxis()->SetBinLabel(17,
"LASER_GAP");
1984 hist2->GetYaxis()->SetBinLabel(18,
"TESTPULSE_GAP");
1985 hist2->GetYaxis()->SetBinLabel(19,
"PEDESTAL_GAP");
1986 hist2->GetYaxis()->SetBinLabel(20,
"LED_GAP");
1987 hist2->GetYaxis()->SetBinLabel(21,
"PHYSICS_LOCAL");
1988 hist2->GetYaxis()->SetBinLabel(22,
"COSMICS_LOCAL");
1989 hist2->GetYaxis()->SetBinLabel(23,
"HALO_LOCAL");
1990 hist2->GetYaxis()->SetBinLabel(24,
"CALIB_LOCAL");
2088 TDirectory* EEMinusDir = gDirectory->mkdir(
"EEMinus");
2146 TDirectory* EEPlusDir = gDirectory->mkdir(
"EEPlus");
2242 TDirectory* highEnergyDir = gDirectory->mkdir(
"HighEnergy");
2243 highEnergyDir->cd();
2269 TDirectory* TimeStampdir = gDirectory->mkdir(
"EventTiming");
2293 using namespace std;
2294 ostringstream myStream;
2295 myStream << num << flush;
2296 return(myStream.str());
TH3F * EEM_FedsTimingTTHistECAL_
TH2F * allOccupancyCoarseRPC_
TH2F * allFedsTimingLMHistECAL_
TH2F * allOccupancyExclusiveECAL_
virtual void analyze(edm::Event const &, edm::EventSetup const &)
TH3F * allFedsTimingTTHistRPC_
TH3F * HighEnergy_0tracks_occu3D
TH1F * NumXtalsInClusterHist_
T getParameter(std::string const &) const
const cms_uint16_t bData(int iB) const
get/set B_DATA_CH_IB
EventNumber_t event() const
TH2F * allOccupancyCoarseExclusiveCSC_
TH2F * EEM_OccupancySingleXtal_
std::string intToString(int num)
TH3F * allFedsTimingTTHistCSC_
TH1F * EEM_FedsTimingHistDT_
TH3F * allFedsTimingTTHist_
TH2F * EEP_OccupancyECAL_
TH2F * allFedsTimingLMHist_
TH2F * allFedsTimingPhiHist_
TH2F * EEP_FedsenergyvsE1Hist_
TH2F * allOccupancyExclusiveHCAL_
TH2F * HighEnergy_bestSeedOccupancy
TH2F * allOccupancyCoarseExclusiveECAL_
TH1F * EEP_FedsTimingHistCSC_
TH3F * allFedsTimingPhiEtaHistCSC_
std::map< int, TH2F * > FEDsAndDCCRuntypeVsBxHists_
TH1F * EEM_FedsenergyHighHist_
TH2F * EEM_numxtalsVsHighEnergy_
TH1F * allFedsiPhiProfileHist_
TH1F * EEM_numberofCosmicsHist_
TH1F * allFedsFreqTimeHist_
TH1F * allFedsTimingEbmHist_
TH3F * EEM_FedsTimingTTHistCSC_
TH1F * EEP_FedsenergyHighHist_
TH1F * EEM_FedsTimingHistCSC_
TH2F * allOccupancyExclusiveRPC_
TH1F * allFedsiEtaProfileHist_
TH1F * allFedsTimingEbpHist_
std::map< int, TH2F * > FEDsAndTimingVsAmpHists_
TH3F * allFedsTimingPhiEtaHistECAL_
edm::InputTag ecalRawDataColl_
TH1F * numberofGoodEvtFreq_
std::map< int, TH1F * > FEDsAndFrequencyHists_
TH2F * allOccupancyCoarseExclusiveHCAL_
EcalCosmicsHists(const edm::ParameterSet &)
TH2F * EEP_OccupancyExclusiveHCAL_
TH1F * EEP_energySingleXtalHist_
TH1F * allFedsTimingEbpTopHist_
TH1F * allFedsenergyHighHist_
TH2F * EEM_OccupancyExclusiveDT_
std::map< int, TH2F * > FEDsAndE2vsE1Hists_
TH1F * EEM_FedsTimingHist_
TH2F * allFedsTimingLMHistHCAL_
Ecal readout channel identification [32:20] Unused (so far) [19:13] DCC id [12:6] tower [5:3] strip [...
TH2F * deltaEtaDeltaPhiHist_
TH2F * allFedsTimingVsFreqHist_
TH1F * EEM_energySingleXtalHist_
std::vector< DetId > crossedEcalIds
TH1F * allFedsTimingHistRPC_
TH2F * EEP_numxtalsVsHighEnergy_
TH1F * allFedsTimingHist_
TH2F * EEM_FedsTimingVsAmpHist_
TH1F * EEP_FedsenergyHist_
TH1F * allFedsTimingHistHCAL_
Sin< T >::type sin(const T &t)
TH2F * EEM_OccupancyECAL_
TH1F * EEP_FedsSeedEnergyHist_
TH2F * EEM_OccupancyCoarseDT_
void useDefaultPropagator()
use the default propagator
TH1F * allFedsTimingEbpBottomHist_
std::vector< EcalDCCHeaderBlock >::const_iterator const_iterator
TH2F * HighEnergy_NumXtaliphi
TH3F * allFedsTimingPhiEtaHistDT_
TH2F * EEP_OccupancyCoarseECAL_
TH1F * numberofCosmicsHist_
TH2F * allFedsTimingLMHistDT_
void loadParameters(const edm::ParameterSet &, edm::ConsumesCollector &)
TH1F * numberofCosmicsWTrackHist_
TH1F * EEM_FedsenergyHist_
TH2F * TrueOccupancyCoarse_
TH3F * EEP_FedsTimingTTHistRPC_
TH2F * EEP_OccupancyCoarseDT_
TH2F * allFedsFreqTimeVsPhiHist_
TH2F * HighEnergy_2GeV_occuCoarse
TH1F * dccRuntypeErrorByFEDHist_
TH1F * HighEnergy_NumXtal
TH3F * allFedsTimingPhiEtaHistRPC_
TH3F * HighEnergy_1tracks_occu3DXtal
TH1F * energySingleXtalHist_
TH2F * numberofBCinSCphi_
TH3F * allFedsTimingPhiEtaHistHCAL_
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
TH3F * EEM_FedsTimingTTHistDT_
TH2F * EEM_OccupancyExclusiveECAL_
std::map< int, TH1F * > FEDsAndHists_
TH2F * EEM_OccupancyCoarseHCAL_
std::map< int, TH1F * > FEDsAndNumXtalsInClusterHists_
int iphiSM() const
get the crystal iphi (1-20)
TH3F * EEM_FedsTimingTTHistRPC_
TH2F * allOccupancyCoarseDT_
TH3F * HighEnergy_2tracks_occu3D
TH2F * HighEnergy_100GeV_occuCoarse
std::map< int, TH2F * > FEDsAndTimingVsPhiHists_
TH2F * allOccupancyCoarseExclusiveDT_
TH2F * EEP_OccupancyExclusiveCSC_
TH2F * allFedsE2vsE1Hist_
TH2F * allOccupancyHighEnergy_
edm::InputTag endcapClusterCollection_
TH2F * EEP_OccupancyExclusiveDT_
std::string getSliceFromFed(int)
int iphi() const
get the crystal iphi
virtual void beginRun(edm::Run const &, edm::EventSetup const &)
TH2F * EEM_OccupancyCoarseExclusiveCSC_
TH2F * HighEnergy_NumXtalFedId
TH3F * allFedsTimingTTHistECAL_
TH1F * allFedsTimingHistCSC_
TH1F * EEM_FedsTimingHistRPC_
TH1F * allFedsTimingEbmTopHist_
EcalElectronicsId getElectronicsId(const DetId &id) const
Get the electronics id for this det id.
TH1F * HighEnergy_TracksAngle
std::vector< bool > determineTriggers(const edm::Event &, const edm::EventSetup &eventSetup)
TH2F * EEM_OccupancyHCAL_
TH2F * allFedsFreqTimeVsEtaTTHist_
TH2F * EEM_OccupancyExclusiveRPC_
TH2F * EEM_OccupancyHighEnergy_
TH1F * EEP_FedsTimingHistHCAL_
TH2F * allFedsTimingPhiEbmHist_
std::map< int, TH2F * > FEDsAndenergyvsE1Hists_
const cms_uint16_t aData(int iA) const
get/set A_DATA_CH_IA
TH2F * EEM_OccupancyCoarseECAL_
TH2F * EEM_OccupancyCoarseExclusiveRPC_
std::vector< SuperCluster > SuperClusterCollection
collection of SuperCluser objectr
TH1F * EEP_numberofCosmicsHist_
TH2F * allOccupancyCoarse_
TH2F * EEP_OccupancyHighEnergyCoarse_
std::vector< bool > DecisionWord
typedefs
void swap(edm::DataFrameContainer &lhs, edm::DataFrameContainer &rhs)
TH2F * trackAssoc_muonsEcal_
TH1F * EEP_FedsNumXtalsInClusterHist_
TH3F * EEP_FedsTimingTTHistHCAL_
ConsumesCollector consumesCollector()
Use a ConsumesCollector to gather consumes information from helper functions.
TH1F * allFedsTimingHistDT_
TH1F * allFedsFrequencyHist_
TH1F * EEP_FedsTimingHistRPC_
TH3F * HighEnergy_1tracks_occu3D
TH1F * allFedsenergyOnlyHighHist_
TH1F * EEP_triggerExclusiveHist_
TH2F * EEP_OccupancyCoarseExclusiveECAL_
TH1F * EEM_FedsSeedEnergyHist_
std::map< int, TH2F * > FEDsAndOccupancyHists_
TH3F * HighEnergy_100GeV_occu3D
Cos< T >::type cos(const T &t)
TH3F * EEP_FedsTimingTTHistECAL_
TH2F * HighEnergy_energyNumXtal
TH3F * allFedsTimingTTHistHCAL_
TH1F * HighEnergy_ratioClusters
TH2F * EEM_OccupancyExclusiveCSC_
TH2F * EEP_OccupancyCoarseExclusiveHCAL_
int cosmicCounterTopBottom_
Abs< T >::type abs(const T &t)
TH2F * EEM_OccupancyCoarseRPC_
TH2F * EEP_AllOccupancyCoarse_
TH2F * EEP_OccupancyCoarseCSC_
std::map< int, TH1F * > FEDsAndiEtaProfileHists_
const EcalElectronicsMapping * ecalElectronicsMap_
TrackDetectorAssociator trackAssociator_
TH1F * numberofCosmicsTopBottomHist_
TH2F * EEP_OccupancySingleXtal_
TH2F * EEM_OccupancyCoarseExclusiveECAL_
TH1F * allFedsTimingHistEcalMuon_
TH2F * EEP_OccupancyHCAL_
int ieta() const
get the crystal ieta
TH2F * EEP_OccupancyExclusiveECAL_
TH1F * allFedsTimingHistECAL_
std::map< int, TH2F * > FEDsAndTimingVsFreqHists_
const L1GtPsbWord gtPsbWord(cms_uint16_t boardIdValue, int bxInEventValue) const
get / set PSB word (record) in the GT readout record
TH3F * HighEnergy_2GeV_occu3D
TrackAssociatorParameters trackParameters_
TH1F * EEM_triggerExclusiveHist_
TH1F * EEM_FedsTimingHistHCAL_
TH1F * HighEnergy_TracksAngleTopBottom
int dccId() const
get the DCC (Ecal Local DCC value not global one) id
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
TH1F * EEP_FedsTimingHistECAL_
TH2F * EEM_numxtalsVsEnergy_
TH2F * allFedsTimingPhiEbpHist_
TH3F * EEM_FedsTimingTTHist_
TH2F * allOccupancyExclusiveDT_
TH2F * EEM_OccupancyCoarseExclusiveHCAL_
TH2F * allOccupancySingleXtal_
TH2F * EEP_OccupancyCoarseExclusiveCSC_
std::map< int, TH1F * > FEDsAndiPhiProfileHists_
TH2F * allFedsTimingVsAmpHist_
TH3F * allFedsTimingPhiEtaHist_
const_iterator end() const
TH1F * ratioAssocClustersHist_
edm::InputTag l1GMTReadoutRecTag_
TH2F * EEM_FedsenergyvsE1Hist_
TH2F * EEM_OccupancyCoarseCSC_
TH3F * EEP_FedsTimingTTHist_
TH2F * allOccupancyExclusiveCSC_
TH1F * HighEnergy_numClusHighEn
TH1F * numberofCosmicsHistEB_
TH2F * numxtalsVsHighEnergy_
TH2F * allFedsFreqTimeVsEtaHist_
T const * product() const
TH2F * EEP_OccupancyExclusiveRPC_
TH2F * EEP_numxtalsVsEnergy_
static bool validDetId(int crystal_ix, int crystal_iy, int iz)
T const * product() const
TH1F * ratioAssocTracksHist_
TH1F * EEP_FedsTimingHist_
TH1F * EEM_FedsTimingHistECAL_
TH2F * TrueBCOccupancyCoarse_
TH2F * allFedsTimingLMHistRPC_
TH1F * allFedsenergyHist_
TH2F * EEM_FedsE2vsE1Hist_
int ietaSM() const
get the crystal ieta in the SM convention (1-85)
std::map< int, TH2F * > FEDsAndTimingVsModuleHists_
TH1F * HighEnergy_bestSeed
TH1F * EEM_numberofBCinSC_
TH1F * triggerExclusiveHist_
TH1F * dccOrbitErrorByFEDHist_
TH1F * numberofCrossedEcalIdsHist_
TH2F * allFedsTimingLMHistCSC_
TH3F * EEM_FedsTimingTTHistHCAL_
TH3F * allFedsTimingTTHistDT_
TH2F * allOccupancyCoarseECAL_
TH2F * EEP_OccupancyCoarseHCAL_
std::vector< L1MuGMTReadoutRecord > const & getRecords() const
TH1F * EEM_FedsenergyOnlyHighHist_
TH1F * EEP_NumXtalsInClusterHist_
TH1F * allFedsNumXtalsInClusterHist_
TH2F * EEM_OccupancyExclusiveHCAL_
TH2F * allOccupancyCoarseExclusiveRPC_
TH2F * EEP_OccupancyCoarseExclusiveRPC_
TH2F * EEM_OccupancyCoarseExclusiveDT_
TrackDetMatchInfo associate(const edm::Event &, const edm::EventSetup &, const FreeTrajectoryState &, const AssociatorParameters &)
TH2F * EEP_OccupancyCoarseRPC_
TH3F * HighEnergy_2tracks_occu3DXtal
TH1F * EEM_NumXtalsInClusterHist_
TH2F * allOccupancyHighEnergyCoarse_
TH2F * allOccupancyCoarseCSC_
TH2F * EEP_OccupancyHighEnergy_
TH3F * allFedsOccupancyHighEnergyHist_
TH1F * EEP_numberofBCinSC_
TH2F * EEM_AllOccupancyCoarse_
TH2F * allFedsenergyvsE1Hist_
TH3F * EEP_FedsTimingTTHistCSC_
TH3F * EEP_FedsTimingTTHistDT_
TH2F * EEP_FedsTimingVsAmpHist_
TH1F * dccBXErrorByFEDHist_
TH1F * EEM_FedsNumXtalsInClusterHist_
TH2F * allFedsFreqTimeVsPhiTTHist_
std::map< int, TH1F * > FEDsAndenergyHists_
TH3F * HighEnergy_energy3D
edm::InputTag l1GTReadoutRecTag_
edm::InputTag barrelClusterCollection_
int getLMNumber(const DetId &id) const
TH1F * EEP_FedsTimingHistDT_
TH2F * EEP_FedsE2vsE1Hist_
std::map< int, TH1F * > FEDsAndTimingHists_
TH2F * EEM_OccupancyHighEnergyCoarse_
TimeValue_t value() const
edm::Timestamp time() const
std::map< int, TH1F * > FEDsAndE2Hists_
TH1F * allFedsTimingEbmBottomHist_
TH1F * EEP_FedsenergyOnlyHighHist_
const_iterator begin() const
edm::InputTag ecalRecHitCollectionEB_
TH1F * HighEnergy_numRecoTrackBarrel
TH2F * EEP_OccupancyCoarseExclusiveDT_
TH3F * HighEnergy_0tracks_occu3DXtal
TH2F * allOccupancyCoarseHCAL_
T angle(T x1, T y1, T z1, T x2, T y2, T z2)
edm::InputTag ecalRecHitCollectionEE_