FiltSGateModule.cxx File Reference

#include "Filtration/FiltSGateModule.h"
#include <cstdio>
#include "TFile.h"
#include "TStyle.h"
#include "TMath.h"
#include "TString.h"
#include "MessageService/MsgService.h"
#include "MinosObjectMap/MomNavigator.h"
#include "RawData/RawRecord.h"
#include "RawData/RawDaqSnarlHeader.h"
#include "RawData/RawVtmTimeInfoBlock.h"
#include "RawData/RawDigitDataBlock.h"
#include "RawData/RawQieDigit.h"
#include "OnlineUtil/mdTriggerCodes.h"
#include "Conventions/Munits.h"
#include "JobControl/JobCommand.h"
#include "JobControl/JobCModuleRegistry.h"

Go to the source code of this file.

Classes

struct  user_analysis_ntuple

Typedefs

typedef struct user_analysis_ntuple FiltSGateModuleNtuple_t

Functions

 CVSID ("$Id: FiltSGateModule.cxx,v 1.12 2005/01/21 22:40:40 rhatcher Exp $")
 JOBMODULE (FiltSGateModule,"FiltSGateModule","Compute and record total charge in time window around SGate time.\n")
void chooseTimeScale (double rangeSec, double &scale, const char *&tag)

Variables

const char * gsChTags = "qtot:nhit"
const Int_t kDefaultTicksPerSec = 53103000
const Int_t kPedAdc = 50

Typedef Documentation


Function Documentation

void chooseTimeScale ( double  rangeSec,
double &  scale,
const char *&  tag 
)

Definition at line 42 of file FiltSGateModule.cxx.

References MuELoss::e.

Referenced by FiltSGateModule::Config().

00043 {
00044   if (rangeSec < 1.0e-6 ) {
00045     tag = "ns";
00046     scale = 1.0e9;
00047   }
00048   else if (rangeSec < 1.0e-3 ) {
00049     tag = "#musec";
00050     scale = 1.0e6;
00051   }
00052   else if (rangeSec < 1.0 ) {
00053     tag = "millisec";
00054     scale = 1.0e3;
00055   }
00056   else {
00057     tag = "sec";
00058     scale = 1.0;
00059   }
00060 }

CVSID ( "$Id: FiltSGateModule.  cxx,
v 1.12 2005/01/21 22:40:40 rhatcher Exp $"   
)
JOBMODULE ( FiltSGateModule  ,
"FiltSGateModule"  ,
"Compute and record total charge in time window around SGate time.\n  
)

Variable Documentation

const char* gsChTags = "qtot:nhit"

Definition at line 71 of file FiltSGateModule.cxx.

const Int_t kDefaultTicksPerSec = 53103000
const Int_t kPedAdc = 50

Definition at line 76 of file FiltSGateModule.cxx.

Referenced by FiltSGateModule::ProcessDigitDataBlks().


Generated on 17 Jun 2018 for loon by  doxygen 1.6.1