#include "BDAnaModule.h"#include <HistMan/HistMan.h>#include <MinosObjectMap/MomNavigator.h>#include <JobControl/JobCModuleRegistry.h>#include <RawData/RawBeamMonHeaderBlock.h>#include <RawData/RawBeamMonBlock.h>#include <RawData/RawBeamData.h>#include <RawData/RawBeamSwicData.h>#include <RawData/RawSnarlHeaderBlock.h>#include <RawData/RawDigitDataBlock.h>#include <RawData/RawRecord.h>#include <Validity/VldTimeStamp.h>#include <TIterator.h>#include <TFile.h>#include <TH1D.h>#include <TH1I.h>#include <TH2D.h>#include <iostream>Go to the source code of this file.
Functions | |
| JOBMODULE (BDAnaModule,"BDAna","Do some BeamData/DAQ correlation checks") | |
| template<class BlockType> | |
| const BlockType * | get_block (const RawRecord &rr) |
| void | spew_record (const RawRecord &rr) |
Variables | |
| const int | nswics = 14 |
| const char * | swics [] |
|
||||||||||
|
Definition at line 92 of file BDAnaModule.cxx. References RawRecord::GetRawBlockIter(). 00093 {
00094 TIter itr = rr.GetRawBlockIter();
00095 const RawDataBlock* rdb = 0;
00096
00097 // loop over blocks in record
00098 while ((rdb = dynamic_cast<RawDataBlock*>(itr()))) {
00099 const BlockType *block = dynamic_cast<const BlockType*>(rdb);
00100 if (block) return block;
00101 }
00102 return 0;
00103 }
|
|
||||||||||||||||
|
|
|
|
Definition at line 106 of file BDAnaModule.cxx. References count, Registry::GetCharString(), RawRecord::GetRawBlockIter(), and RecMinos::GetTempTags(). Referenced by BDAnaModule::Ana(). 00107 {
00108 static int count = 0;
00109 ++count;
00110
00111 TIter itr = rr.GetRawBlockIter();
00112 cout << "[" << count << "]\tRawRecord: "
00113 << rr.GetTempTags().GetCharString("stream") << ": ";
00114 TObject* obj = 0;
00115 while ((obj = itr())) {
00116 cout << obj->GetName() << " ";
00117 }
00118 cout << rr.GetTempTags().GetCharString("file") << " ";
00119 cout << endl;
00120 }
|
|
|
Definition at line 37 of file BDAnaModule.cxx. Referenced by BDSwicPeds::Clear(). |
|
|
Initial value: {
"E:M101DS",
"E:M105DS",
"E:M107DS",
"E:M108DS",
"E:M112DS",
"E:M114DS",
"E:M115DS",
"E:M117DS",
"E:M121DS",
"E:MTGTDS",
"E:HADMDS",
"E:MMA1DS",
"E:MMA2DS",
"E:MMA3DS",
0
}
Definition at line 38 of file BDAnaModule.cxx. Referenced by BDAnaModule::Ana(), BDAnaModule::BeginJob(), PedStudy::Book(), BDSwicPeds::Clear(), and BDSwicPeds::IsPedSpill(). |
1.3.9.1