#include <PndMQFileSink.h>
Definition at line 53 of file PndMQFileSink.h.
◆ PndMQFileSink()
PndMQFileSink::PndMQFileSink |
( |
| ) |
|
|
inline |
Definition at line 55 of file PndMQFileSink.h.
55 : fOutFile(
nullptr), fTree(
nullptr), fOutput(
nullptr), fHitVector(), fHasBoostSerialization(
false)
57 gSystem->ResetSignal(kSigInterrupt);
58 gSystem->ResetSignal(kSigTermination);
61 using namespace baseMQ::tools::resolve;
63 if (is_same<boost::archive::binary_iarchive, boost::archive::binary_iarchive>::value || is_same<boost::archive::binary_iarchive, boost::archive::text_iarchive>::value) {
64 if (has_BoostSerialization<
PndSdsDigiTopix4,
void(boost::archive::binary_iarchive &,
const unsigned int)>::value == 1) {
65 fHasBoostSerialization =
true;
Data class to store the digi output of a pixel module.
◆ ~PndMQFileSink()
virtual PndMQFileSink::~PndMQFileSink |
( |
| ) |
|
|
inlinevirtual |
◆ InitOutputFile()
virtual void PndMQFileSink::InitOutputFile |
( |
TString |
defaultId = "100" | ) |
|
|
inlinevirtual |
Definition at line 79 of file PndMQFileSink.h.
81 fOutput =
new TClonesArray(
"PndSdsDigiTopix4");
83 fOutFile =
new TFile(
"Filesink1.root",
"recreate");
84 fTree =
new TTree(
"MQOut",
"Test output");
85 fTree->Branch(
"Output",
"TClonesArray", &fOutput, 64000, 99);
◆ Run()
virtual void PndMQFileSink::Run |
( |
| ) |
|
|
protectedvirtual |
◆ serialize()
template<class Archive >
void PndMQFileSink::serialize |
( |
Archive & |
ar, |
|
|
const unsigned int |
version |
|
) |
| |
|
inline |
◆ boost::serialization::access
friend class boost::serialization::access |
|
friend |
The documentation for this class was generated from the following file: