Skip to content

Commit

Permalink
* complete the explanatory comment in the source file header [rtj]
Browse files Browse the repository at this point in the history
Conflicts:
	src/libraries/TAGGER/DTAGHGeometry.cc
	src/libraries/TAGGER/DTAGMGeometry.cc
  • Loading branch information
rjones30 authored and Sean Dobbs committed Apr 4, 2021
1 parent ee70893 commit 7a1ccc6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 22 deletions.
4 changes: 2 additions & 2 deletions src/libraries/HDDM/DEventSourceREST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -551,10 +551,10 @@ jerror_t DEventSourceREST::Extract_DBeamPhoton(hddm_r::HDDM *record,
hddm_r::TaghChannelList &locTaghChannelList = locTAGHiter->getTaghChannels();
taghGeom->E_to_counter(locTAGHiter->getE(), gamma->dCounter);
if (locTaghChannelList.size() > 0) {
if (gamma->dCounter != locTaghChannelList().getColumn()) {
if (gamma->dCounter != locTaghChannelList().getCounter()) {
std::cerr << "Error in DEventSourceREST - tagger microscope energy "
"lookup mismatch:" << std::endl
<< " TAGM column = " << locTaghChannelList().getColumn()
<< " TAGM column = " << locTaghChannelList().getCounter()
<< std::endl
<< " Etag = " << locTAGHiter->getE()
<< std::endl
Expand Down
20 changes: 0 additions & 20 deletions src/libraries/HDDM/DEventWriterREST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -407,26 +407,6 @@ bool DEventWriterREST::Write_RESTEvent(JEventLoop* locEventLoop, string locOutpu

}

// push any DEventHitStatistics objects to the output record
if (hitStats.size() > 0)
{
hddm_r::HitStatisticsList stats = res().addHitStatisticses(1);
hddm_r::StartCountersList starts = stats().addStartCounterses(1);
starts().setCount(hitStats[0]->start_counters);
hddm_r::CdcStrawsList straws = stats().addCdcStrawses(1);
straws().setCount(hitStats[0]->cdc_straws);
hddm_r::FdcPseudosList pseudos = stats().addFdcPseudoses(1);
pseudos().setCount(hitStats[0]->fdc_pseudos);
hddm_r::BcalCellsList cells = stats().addBcalCellses(1);
cells().setCount(hitStats[0]->bcal_cells);
hddm_r::FcalBlocksList blocks = stats().addFcalBlockses(1);
blocks().setCount(hitStats[0]->fcal_blocks);
hddm_r::CcalBlocksList bloccs = stats().addCcalBlockses(1);
bloccs().setCount(hitStats[0]->ccal_blocks);
hddm_r::DircPMTsList pmts = stats().addDircPMTses(1);
pmts().setCount(hitStats[0]->dirc_PMTs);
}

// push any DTrigger objects to the output record
for (size_t i=0; i < locTriggers.size(); ++i)
{
Expand Down

0 comments on commit 7a1ccc6

Please sign in to comment.