AlcapDAQ
1
|
#include <stdio.h>
#include <stdlib.h>
#include <string>
#include <map>
#include <utility>
#include <sstream>
#include <cmath>
#include "midas.h"
#include <TH1.h>
#include <TH2.h>
#include "TGlobalData.h"
#include "TSetupData.h"
#include "TPulseIsland.h"
Go to the source code of this file.
Functions | |
INT | MCombinePulses_init (void) |
INT | MCombinePulses_bor (INT) |
INT | MCombinePulses (EVENT_HEADER *, void *) |
std::vector< std::vector< int > > | SumPulses (std::vector< std::vector< TPulseIsland * > > timeHeightMapsVector, double time_difference) |
Variables | |
HNDLE | hDB |
TGlobalData * | gData |
TSetupData * | gSetup |
static std::vector< std::string > | left_thin_banknames |
static std::vector< std::string > | right_thin_banknames |
static TH2D * | hSiL1PulseShapes |
static TH2D * | hSiR1PulseShapes |
static TH1I * | hSiL1PulseHeights |
static TH1I * | hSiR1PulseHeights |
ANA_MODULE | MCombinePulses_module |
INT MCombinePulses | ( | EVENT_HEADER * | pheader, |
void * | pevent | ||
) |
This method processes one MIDAS block, producing a vector of TOctalFADCIsland objects from the raw Octal FADC data.
Definition at line 136 of file MCombinePulses.cpp.
References TGlobalData::fPulseIslandToChannelMap, hSiL1PulseHeights, hSiL1PulseShapes, hSiR1PulseHeights, hSiR1PulseShapes, SUCCESS, and SumPulses().
INT MCombinePulses_bor | ( | INT | run_number) |
Definition at line 125 of file MCombinePulses.cpp.
References hSiL1PulseHeights, hSiL1PulseShapes, hSiR1PulseHeights, and hSiR1PulseShapes.
INT MCombinePulses_init | ( | ) |
This method initializes histograms.
Definition at line 70 of file MCombinePulses.cpp.
References TSetupData::fBankToDetectorMap, TSetupData::GetDetectorName(), hSiL1PulseHeights, hSiL1PulseShapes, hSiR1PulseHeights, hSiR1PulseShapes, and SUCCESS.
std::vector< std::vector< int > > SumPulses | ( | std::vector< std::vector< TPulseIsland * > > | timeHeightMapsVector, |
double | time_difference | ||
) |
Definition at line 238 of file MCombinePulses.cpp.
References TPulseIsland::GetPulseTime(), TPulseIsland::GetSamples(), i, and time.
Referenced by MCombinePulses().
TGlobalData* gData |
Definition at line 54 of file analyzer.cpp.
TSetupData* gSetup |
Definition at line 55 of file analyzer.cpp.
HNDLE hDB |
Definition at line 11 of file mucap_compress.cpp.
|
static |
Definition at line 51 of file MCombinePulses.cpp.
Referenced by MCombinePulses(), MCombinePulses_bor(), and MCombinePulses_init().
|
static |
Definition at line 49 of file MCombinePulses.cpp.
Referenced by MCombinePulses(), MCombinePulses_bor(), and MCombinePulses_init().
|
static |
Definition at line 52 of file MCombinePulses.cpp.
Referenced by MCombinePulses(), MCombinePulses_bor(), and MCombinePulses_init().
|
static |
Definition at line 50 of file MCombinePulses.cpp.
Referenced by MCombinePulses(), MCombinePulses_bor(), and MCombinePulses_init().
|
static |
Definition at line 47 of file MCombinePulses.cpp.
ANA_MODULE MCombinePulses_module |
Definition at line 54 of file MCombinePulses.cpp.
|
static |
Definition at line 48 of file MCombinePulses.cpp.