Skip to content

Commit be4ca97

Browse files
Michael CarriganMichael Carrigan
authored andcommitted
cleaned up code
1 parent fa4e3e9 commit be4ca97

3 files changed

Lines changed: 1 addition & 8 deletions

File tree

icaruscode/TPC/Calorimetry/NormalizeDriftSQLite_tool.cc

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,11 +142,8 @@ double icarus::calo::NormalizeDriftSQLite::Normalize(double dQdx, const art::Eve
142142
// Get the hit time
143143
double thit = fClockData->TPCTick2TrigTime(hit.PeakTime()) - t0;
144144

145-
//std::cout << "TPC Tick2TrigTime: " << fClockData->TPCTick2TrigTime(hit.PeakTime()) << ", t0: " << t0 << ", hit: " << hit.PeakTime() << std::endl;
146-
147145
if (fVerbose) std::cout << "NormalizeDriftSQLite Tool -- Norm factor: " << exp(thit / thiselifetime) << " at TPC: " << tpc << " Cryo: " << cryo << " Time: " << thit << " Track T0: " << t0 << std::endl;
148146

149-
//std::cout << "dQdx before: " << dQdx << ", dQdx after: " << dQdx*exp(thit / thiselifetime) << ", thit: " << thit << ", lifetime: " << thiselifetime << std::endl;
150147
// Scale
151148
if (thiselifetime > 0) {
152149
dQdx = dQdx*exp(thit / thiselifetime);

icaruscode/TPC/Calorimetry/NormalizeYZSQL_tool.cc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,6 @@ void icarus::calo::NormalizeYZSQL::configure(const fhicl::ParameterSet& pset) {}
163163

164164
const icarus::calo::NormalizeYZSQL::ScaleInfo& icarus::calo::NormalizeYZSQL::GetScaleInfo(uint64_t run) {
165165

166-
//std::cout << "NormalizeYZSQL Tool -- Getting scale info for run: " << run << std::endl;
167-
168166
// check the cache
169167
if (fScaleInfos.count(run)) {
170168
return fScaleInfos.at(run);
@@ -234,8 +232,6 @@ const icarus::calo::NormalizeYZSQL::ScaleInfo& icarus::calo::NormalizeYZSQL::Get
234232
double icarus::calo::NormalizeYZSQL::Normalize(double dQdx, const art::Event &e,
235233
const recob::Hit &hit, const geo::Point_t &location, const geo::Vector_t &direction, double t0) {
236234

237-
//std::cout << "NormalizeYZSQL Tool -- MC Flag: " << fMC << " Run: " << e.id().runID().run() << ", Subrun: " << e.id().subRunID().run() << std::endl;
238-
239235
// Get the info
240236
uint64_t runID = -1;
241237
switch (fMC) {

icaruscode/TPC/Calorimetry/normtools_icarus.fcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ driftnorm_sql: {
3434
tool_type: NormalizeDriftSQLite
3535
DBFileName: tpc_elifetime_data
3636
DBTag: @local::ICARUS_Calibration_GlobalTags.tpc_elifetime_data
37-
Verbose: true
37+
Verbose: false
3838
}
3939

4040
tpcgain_sql: {

0 commit comments

Comments
 (0)