LDMX Software
Functions
TestBeamHit.cxx File Reference

Class that stores reconstructed hit information from the TS test stand/test beam. More...

#include "TrigScint/Event/TestBeamHit.h"
#include <iostream>

Go to the source code of this file.

Functions

 ClassImp (trigscint::TestBeamHit) namespace trigscint
 

Detailed Description

Class that stores reconstructed hit information from the TS test stand/test beam.

Author
Lene Kristian Bryngemark, Stanford University

Definition in file TestBeamHit.cxx.

Function Documentation

◆ ClassImp()

ClassImp ( trigscint::TestBeamHit  )

Definition at line 15 of file TestBeamHit.cxx.

17 {
18 void TestBeamHit::Clear(Option_t * option) {
19 earlyPedestal_ = -999;
20 pedestal_ = -999;
21 pulseQ_ = -999;
22 startSample_ = -1;
23 pulseWidth_ = -1;
24 sampAboveThr_ = -1;
25 }
26
27 void TestBeamHit::Print(Option_t * option) const {
28 std::cout << "TestBeamHit { "
29 << "Total charge: " << getQ()
30 << " fC, start time sample: " << getStartSample()
31 << ", bar: " << getBarID() << ", pulseWidth: " << getPulseWidth()
32 << "}" << std::endl;
33 }
34} // namespace trigscint