Skip to content

Commit

Permalink
code format
Browse files Browse the repository at this point in the history
  • Loading branch information
24LopezR committed Oct 28, 2024
1 parent 0443530 commit c7fccd1
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ FTLUncalibratedRecHit ETLUncalibRecHitAlgo::makeRecHit(const ETLDataFrame& dataF
const std::array<double, 1> time_over_threshold_V = {{time_over_threshold}};

unsigned char flag = 0;
std::cout << "[ETLUncalibRecHitAlgo::makeRecHit] " << double(sample.toa()) * toaLSBToNS_ << " " << time_over_threshold << std::endl;

LogDebug("ETLUncalibRecHit") << "ADC+: set the charge to: " << time_over_threshold << ' ' << sample.tot() << ' '
<< toaLSBToNS_;
Expand Down
5 changes: 0 additions & 5 deletions SimFastTiming/FastTimingCommon/src/ETLElectronicsSim.cc
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,7 @@ void ETLElectronicsSim::run(const mtd::MTDSimHitDataAccumulator& input,
continue;
// time of arrival
double finalToA = (it->second).hit_info[1][i];
double initialToA = finalToA;
double finalToC = (it->second).hit_info[1][i];
double initialToC = finalToC;

// fill the time and charge arrays
const unsigned int ibucket = std::floor(finalToA / bxTime_);
Expand All @@ -77,8 +75,6 @@ void ETLElectronicsSim::run(const mtd::MTDSimHitDataAccumulator& input,
etlPulseShape_.maximum() * ((it->second).hit_info[0][i] / referenceChargeColl_) / noiseLevel_;
double sigmaJitter1 = etlPulseShape_.timeOfMax() / SignalToNoise;
double sigmaJitter2 = (etlPulseShape_.fallTime() - etlPulseShape_.timeOfMax()) / SignalToNoise;
std::cout << "[ETLElectronicsSim] noiseLevel_ = " << noiseLevel_ << std::endl;
std::cout << "[ETLElectronicsSim] (SignalToNoise, sigmaJitter1, sigmaJitter2) = (" << SignalToNoise << ", " << sigmaJitter1 << ", " << sigmaJitter2 << ")" << std::endl;
//Calculate the distorsion
double sigmaDistorsion = sigmaDistorsion_;
//Calculate the TDC
Expand Down Expand Up @@ -121,7 +117,6 @@ void ETLElectronicsSim::run(const mtd::MTDSimHitDataAccumulator& input,
}

tot[i + ibucket] = finalToC - finalToA;
std::cout << "[ETLElectronicsSim::run] " << initialToA << " " << finalToA << " " << finalToC - finalToA << " " << initialToC - initialToA << std::endl;
}
// Run the shaper to create a new data frame
ETLDataFrame rawDataFrame(it->first.detid_);
Expand Down
1 change: 0 additions & 1 deletion SimFastTiming/FastTimingCommon/src/ETLPulseShape.cc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ ETLPulseShape::~ETLPulseShape() {}
ETLPulseShape::ETLPulseShape() : MTDShapeBase() { buildMe(); }

void ETLPulseShape::fillShape(MTDShapeBase::DVec& aVec) const {

aVec = {0.0001609, 0.0001891, 0.0002334, 0.0002994, 0.0003934, 0.0005227, 0.0006948, 0.0009178, 0.0011996, 0.0015486,
0.0019723, 0.0024783, 0.0030734, 0.0037636, 0.0045545, 0.0054493, 0.0064486, 0.0075588, 0.0087813, 0.0101179,
0.0115675, 0.0131325, 0.0148194, 0.0166265, 0.0185562, 0.0206149, 0.0228059, 0.0251336, 0.0275986, 0.0302026,
Expand Down

0 comments on commit c7fccd1

Please sign in to comment.