Belle II Software development
|
Extracts dE/dx information for calibration testing. More...
#include <HitLevelInfoWriter.h>
Public Types | |
enum | EModulePropFlags { c_Input = 1 , c_Output = 2 , c_ParallelProcessingCertified = 4 , c_HistogramManager = 8 , c_InternalSerializer = 16 , c_TerminateInAllProcesses = 32 , c_DontCollectStatistics = 64 } |
Each module can be tagged with property flags, which indicate certain features of the module. More... | |
typedef ModuleCondition::EAfterConditionPath | EAfterConditionPath |
Forward the EAfterConditionPath definition from the ModuleCondition. | |
Public Member Functions | |
HitLevelInfoWriterModule () | |
Default constructor. | |
virtual | ~HitLevelInfoWriterModule () |
Destructor. | |
virtual void | initialize () override |
Initialize the module. | |
virtual void | event () override |
This method is called for each event. | |
virtual void | terminate () override |
End of the event processing. | |
void | bookOutput (std::string filename) |
Create the output TFiles and TTrees. | |
void | recalculateDedx (CDCDedxTrack *dedxTrack, std::map< int, std::vector< double > > &l_var, double(&cdcChi)[Const::ChargedStable::c_SetSize]) |
Function to recalculate the dedx with latest constants. | |
double | GetCorrection (int &adc, int layer, int wireID, double doca, double enta, double costheta, double ring, double time) const |
Function to get the correction factor. | |
void | HadronCorrection (double costheta, double &dedx) const |
Function to apply the hadron correction. | |
double | D2I (const double cosTheta, const double D) const |
hadron saturation parameterization part 2 | |
double | I2D (const double cosTheta, const double I) const |
hadron saturation parameterization part 1 | |
void | calculateMeans (double *mean, double *truncatedMean, double *truncatedMeanErr, const std::vector< double > &dedx) const |
Save arithmetic and truncated mean for the 'dedx' values. | |
void | saveChiValue (double(&chi)[Const::ChargedStable::c_SetSize], CDCDedxTrack *dedxTrack, double dedx) const |
for all particles, save chi values into 'chi' chi array of chi values to be modified | |
virtual std::vector< std::string > | getFileNames (bool outputFiles) |
Return a list of output filenames for this modules. | |
virtual void | beginRun () |
Called when entering a new run. | |
virtual void | endRun () |
This method is called if the current run ends. | |
const std::string & | getName () const |
Returns the name of the module. | |
const std::string & | getType () const |
Returns the type of the module (i.e. | |
const std::string & | getPackage () const |
Returns the package this module is in. | |
const std::string & | getDescription () const |
Returns the description of the module. | |
void | setName (const std::string &name) |
Set the name of the module. | |
void | setPropertyFlags (unsigned int propertyFlags) |
Sets the flags for the module properties. | |
LogConfig & | getLogConfig () |
Returns the log system configuration. | |
void | setLogConfig (const LogConfig &logConfig) |
Set the log system configuration. | |
void | setLogLevel (int logLevel) |
Configure the log level. | |
void | setDebugLevel (int debugLevel) |
Configure the debug messaging level. | |
void | setAbortLevel (int abortLevel) |
Configure the abort log level. | |
void | setLogInfo (int logLevel, unsigned int logInfo) |
Configure the printed log information for the given level. | |
void | if_value (const std::string &expression, const std::shared_ptr< Path > &path, EAfterConditionPath afterConditionPath=EAfterConditionPath::c_End) |
Add a condition to the module. | |
void | if_false (const std::shared_ptr< Path > &path, EAfterConditionPath afterConditionPath=EAfterConditionPath::c_End) |
A simplified version to add a condition to the module. | |
void | if_true (const std::shared_ptr< Path > &path, EAfterConditionPath afterConditionPath=EAfterConditionPath::c_End) |
A simplified version to set the condition of the module. | |
bool | hasCondition () const |
Returns true if at least one condition was set for the module. | |
const ModuleCondition * | getCondition () const |
Return a pointer to the first condition (or nullptr, if none was set) | |
const std::vector< ModuleCondition > & | getAllConditions () const |
Return all set conditions for this module. | |
bool | evalCondition () const |
If at least one condition was set, it is evaluated and true returned if at least one condition returns true. | |
std::shared_ptr< Path > | getConditionPath () const |
Returns the path of the last true condition (if there is at least one, else reaturn a null pointer). | |
Module::EAfterConditionPath | getAfterConditionPath () const |
What to do after the conditional path is finished. | |
std::vector< std::shared_ptr< Path > > | getAllConditionPaths () const |
Return all condition paths currently set (no matter if the condition is true or not). | |
bool | hasProperties (unsigned int propertyFlags) const |
Returns true if all specified property flags are available in this module. | |
bool | hasUnsetForcedParams () const |
Returns true and prints error message if the module has unset parameters which the user has to set in the steering file. | |
const ModuleParamList & | getParamList () const |
Return module param list. | |
template<typename T > | |
ModuleParam< T > & | getParam (const std::string &name) const |
Returns a reference to a parameter. | |
bool | hasReturnValue () const |
Return true if this module has a valid return value set. | |
int | getReturnValue () const |
Return the return value set by this module. | |
std::shared_ptr< PathElement > | clone () const override |
Create an independent copy of this module. | |
std::shared_ptr< boost::python::list > | getParamInfoListPython () const |
Returns a python list of all parameters. | |
Static Public Member Functions | |
static void | exposePythonAPI () |
Exposes methods of the Module class to Python. | |
Protected Member Functions | |
virtual void | def_initialize () |
Wrappers to make the methods without "def_" prefix callable from Python. | |
virtual void | def_beginRun () |
Wrapper method for the virtual function beginRun() that has the implementation to be used in a call from Python. | |
virtual void | def_event () |
Wrapper method for the virtual function event() that has the implementation to be used in a call from Python. | |
virtual void | def_endRun () |
This method can receive that the current run ends as a call from the Python side. | |
virtual void | def_terminate () |
Wrapper method for the virtual function terminate() that has the implementation to be used in a call from Python. | |
void | setDescription (const std::string &description) |
Sets the description of the module. | |
void | setType (const std::string &type) |
Set the module type. | |
template<typename T > | |
void | addParam (const std::string &name, T ¶mVariable, const std::string &description, const T &defaultValue) |
Adds a new parameter to the module. | |
template<typename T > | |
void | addParam (const std::string &name, T ¶mVariable, const std::string &description) |
Adds a new enforced parameter to the module. | |
void | setReturnValue (int value) |
Sets the return value for this module as integer. | |
void | setReturnValue (bool value) |
Sets the return value for this module as bool. | |
void | setParamList (const ModuleParamList ¶ms) |
Replace existing parameter list. | |
Private Member Functions | |
void | fillTrack (const TrackFitResult *fitResult) |
Fill the TTree with the information from the track fit. | |
void | fillDedx (CDCDedxTrack *dedxTrack) |
Fill the TTree with the information from a CDCDedxTrack object. | |
void | clearEntries () |
Clear the arrays before filling an event. | |
std::list< ModulePtr > | getModules () const override |
no submodules, return empty list | |
std::string | getPathString () const override |
return the module name. | |
void | setParamPython (const std::string &name, const boost::python::object &pyObj) |
Implements a method for setting boost::python objects. | |
void | setParamPythonDict (const boost::python::dict &dictionary) |
Implements a method for reading the parameter values from a boost::python dictionary. | |
Private Attributes | |
std::string | m_strOutputBaseName |
Base name for the output ROOT files. | |
std::vector< std::string > | m_strParticleList |
Vector of ParticleLists to write out. | |
std::vector< std::string > | m_filename |
full names of the output ROOT files | |
std::vector< TFile * > | m_file |
output ROOT files | |
std::vector< TTree * > | m_tree |
output ROOT trees | |
StoreArray< CDCDedxTrack > | m_dedxTracks |
Required array of CDCDedxTracks. | |
StoreArray< Track > | m_tracks |
Required array of input Tracks. | |
StoreArray< TrackFitResult > | m_trackFitResults |
Required array of input TrackFitResults. | |
StoreArray< ECLCluster > | m_eclClusters |
Required array of input ECLClusters. | |
StoreArray< KLMCluster > | m_klmClusters |
Required array of input KLMClusters. | |
StoreObjPtr< EventLevelTriggerTimeInfo > | m_TTDInfo |
Store Object Ptr: EventLevelTriggerTimeInfo. | |
int | m_expID { -1} |
experiment in which this Track was found | |
int | m_runID { -1} |
run in which this Track was found | |
int | m_eventID { -1} |
event in which this Track was found | |
double | m_injring { -1.0} |
HER injection status. | |
double | m_injtime { -1.0} |
time since last injection in micro seconds | |
double | m_d0 {0.} |
Signed distance to the POCA in the r-phi plane. | |
double | m_z0 {0.} |
z coordinate of the POCA | |
double | m_dz { -1.} |
vertex or POCA in case of tracks z in respect to IPs | |
double | m_dr { -1.} |
track d0 relative to IP | |
double | m_dphi { -1.} |
POCA in degrees in respect to IP. | |
double | m_vx0 {0.} |
X coordinate of track POCA to origin. | |
double | m_vy0 {0.} |
Y coordinate of track POCA to origin. | |
double | m_vz0 {0.} |
Z coordinate of track POCA to origin. | |
double | m_tanlambda { -1.} |
Slope of the track in the r-z plane. | |
double | m_phi0 { -1.} |
Angle of the transverse momentum in the r-phi plane. | |
double | m_chi2 { -1.} |
chi^2 from track fit | |
double | m_nCDChits { -1.} |
Number of CDC hits associated to the track. | |
int | m_inCDC { -1} |
frack is CDC acceptance or not | |
int | m_trackID { -1} |
ID number of the Track. | |
double | m_length { -1.} |
total path length of the Track | |
int | m_charge {0} |
the charge for this Track | |
double | m_cosTheta { -2.} |
cos(theta) for the track | |
double | m_pCDC { -1.} |
momentum valid in CDC | |
double | m_p { -1.} |
momentum from tracking | |
double | m_pt { -1.} |
transverse momentum from tracking | |
double | m_phi { -1.} |
phi for the track | |
double | m_ioasym { -1.} |
asymmetry in increasing vs decreasing layer numbers per track | |
double | m_theta { -2.} |
cos(theta) for the track | |
double | m_PDG { -1.} |
MC PID. | |
double | m_mean { -1.} |
dE/dx averaged | |
double | m_trunc { -1.} |
dE/dx averaged, truncated mean, with corrections | |
double | m_truncNoSat { -1.} |
dE/dx averaged, truncated mean, with corrections (not hadron) | |
double | m_error { -1.} |
standard deviation of the truncated mean | |
double | m_eop { -1.} |
energy over momentum in the calorimeter | |
double | m_e { -1.} |
energy in the calorimeter | |
double | m_e1_9 { -1.} |
ratio of energies of the central 1 crystal vs 3x3 crystals | |
double | m_e9_21 { -1.} |
ratio of energies of the central 3x3 crystal vs 5x5 crystals | |
double | m_klmLayers { -1.} |
number of klm layers with hits | |
double | m_eclsnHits { -1.} |
double | m_scale { -1.} |
calibration scale factor | |
double | m_cosCor { -1.} |
calibration cosine correction | |
double | m_cosEdgeCor { -1.} |
calibration cosine edge correction | |
double | m_runGain { -1.} |
calibration run gain | |
double | m_timeGain { -1.} |
calibration injection time gain | |
double | m_timeReso { -1.} |
calibration injection time reso | |
double | m_chieOld { -1.} |
chi value for electron hypothesis | |
double | m_chimuOld { -1.} |
chi value for muon hypothesis | |
double | m_chipiOld { -1.} |
chi value for pion hypothesis | |
double | m_chikOld { -1.} |
chi value for kaon hypothesis | |
double | m_chipOld { -1.} |
chi value for proton hypothesis | |
double | m_chidOld { -1.} |
chi value for deuteron hypothesis | |
double | m_chie { -1.} |
modified chi value for electron hypothesis | |
double | m_chimu { -1.} |
modified chi value for muon hypothesis | |
double | m_chipi { -1.} |
modified chi value for pion hypothesis | |
double | m_chik { -1.} |
modified chi value for kaon hypothesis | |
double | m_chip { -1.} |
modified chi value for proton hypothesis | |
double | m_chid { -1.} |
modified chi value for deuteron hypothesis | |
double | m_prese { -1.} |
pred reso for electron hypothesis | |
double | m_presmu { -1.} |
pred reso for muon hypothesis | |
double | m_prespi { -1.} |
pred reso for pion hypothesis | |
double | m_presk { -1.} |
pred reso for kaon hypothesis | |
double | m_presp { -1.} |
pred reso for proton hypothesis | |
double | m_presd { -1.} |
pred reso for deuteron hypothesis | |
double | m_pmeane { -1.} |
pred mean for electron hypothesis | |
double | m_pmeanmu { -1.} |
pred mean for muon hypothesis | |
double | m_pmeanpi { -1.} |
pred mean for pion hypothesis | |
double | m_pmeank { -1.} |
pred mean for kaon hypothesis | |
double | m_pmeanp { -1.} |
pred mean for proton hypothesis | |
double | m_pmeand { -1.} |
pred mean for deuteron hypothesis | |
int | l_nhits { -1} |
the total number of layer hits for this Track | |
int | l_nhitsused { -1} |
the total number of layer hits used for this Track | |
int | l_nhitscombined [kMaxHits] = {} |
the number of hits combined this layer | |
int | l_wirelongesthit [kMaxHits] = {} |
the wire number of longest hit in this layer | |
int | l_layer [kMaxHits] = {} |
layer number | |
double | l_path [kMaxHits] = {} |
distance travelled in this layer | |
double | l_dedx [kMaxHits] = {} |
dE/dx for this layer | |
int | h_nhits { -1} |
the number of good hits for this Track | |
int | h_lwire [kMaxHits] = {} |
sense wire within layer | |
int | h_wire [kMaxHits] = {} |
sense wire ID | |
int | h_layer [kMaxHits] = {} |
layer number | |
double | h_path [kMaxHits] = {} |
path length in cell | |
double | h_dedx [kMaxHits] = {} |
charge per path length | |
double | h_adcraw [kMaxHits] = {} |
charge per hit | |
double | h_adccorr [kMaxHits] = {} |
charge per hit corr by nonlinear ADC | |
double | h_doca [kMaxHits] = {} |
distance of closest approach | |
double | h_ndoca [kMaxHits] = {} |
normalized distance of closest approach | |
double | h_ndocaRS [kMaxHits] = {} |
normalized +RS distance of closest approach | |
double | h_enta [kMaxHits] = {} |
entrance angle | |
double | h_entaRS [kMaxHits] = {} |
normalized + RS distance of entrance angle | |
double | h_driftT [kMaxHits] = {} |
drift time | |
double | h_driftD [kMaxHits] = {} |
drift distance | |
double | h_facnladc [kMaxHits] = {} |
calibration hit gain | |
double | h_wireGain [kMaxHits] = {} |
calibration hit gain | |
double | h_twodCor [kMaxHits] = {} |
calibration 2D correction | |
double | h_onedCor [kMaxHits] = {} |
calibration 1D cleanup correction | |
double | h_WeightPionHypo [kMaxHits] = {} |
weight for pion hypothesis from KalmanFitterInfo | |
double | h_WeightKaonHypo [kMaxHits] = {} |
weight for kaon hypothesis from KalmanFitterInfo | |
double | h_WeightProtonHypo [kMaxHits] = {} |
weight for proton hypothesis from KalmanFitterInfo | |
int | h_foundByTrackFinder [kMaxHits] = {} |
the 'found by track finder' flag for the given hit | |
DBObjPtr< CDCDedxScaleFactor > | m_DBScaleFactor |
Scale factor to make electrons ~1. | |
DBObjPtr< CDCDedxWireGain > | m_DBWireGains |
Wire gain DB object. | |
DBObjPtr< CDCDedxRunGain > | m_DBRunGain |
Run gain DB object. | |
DBObjPtr< CDCDedxInjectionTime > | m_DBInjectTime |
time gain/reso DB object | |
DBObjPtr< CDCDedxCosineCor > | m_DBCosineCor |
Electron saturation correction DB object. | |
DBObjPtr< CDCDedx2DCell > | m_DB2DCell |
2D correction DB object | |
DBObjPtr< CDCDedx1DCell > | m_DB1DCell |
1D correction DB object | |
DBObjPtr< CDCDedxADCNonLinearity > | m_DBNonlADC |
hadron saturation non linearity | |
DBObjPtr< CDCDedxCosineEdge > | m_DBCosEdgeCor |
cosine edge calibration | |
DBObjPtr< CDCDedxHadronCor > | m_DBHadronCor |
hadron saturation parameters | |
std::vector< double > | m_hadronpars |
hadron saturation parameters | |
bool | m_isDeadwire |
write only active wires | |
bool | m_isHitLevel |
Flag to switch on/off hit level info. | |
bool | m_isExtraVar |
Flag to switch on/off extra level info and some available w/ release/5 only. | |
bool | m_isRelative |
Flag to switch on/off relative constants. | |
bool | m_isCorrection |
Flag to switch on/off corrections. | |
std::string | m_name |
The name of the module, saved as a string (user-modifiable) | |
std::string | m_type |
The type of the module, saved as a string. | |
std::string | m_package |
Package this module is found in (may be empty). | |
std::string | m_description |
The description of the module. | |
unsigned int | m_propertyFlags |
The properties of the module as bitwise or (with |) of EModulePropFlags. | |
LogConfig | m_logConfig |
The log system configuration of the module. | |
ModuleParamList | m_moduleParamList |
List storing and managing all parameter of the module. | |
bool | m_hasReturnValue |
True, if the return value is set. | |
int | m_returnValue |
The return value. | |
std::vector< ModuleCondition > | m_conditions |
Module condition, only non-null if set. | |
Static Private Attributes | |
static const int | kMaxHits = 200 |
default hit level index | |
Extracts dE/dx information for calibration testing.
Writes a ROOT file.
Definition at line 64 of file HitLevelInfoWriter.h.
|
inherited |
Forward the EAfterConditionPath definition from the ModuleCondition.
|
inherited |
Each module can be tagged with property flags, which indicate certain features of the module.
Enumerator | |
---|---|
c_Input | This module is an input module (reads data). |
c_Output | This module is an output module (writes data). |
c_ParallelProcessingCertified | This module can be run in parallel processing mode safely (All I/O must be done through the data store, in particular, the module must not write any files.) |
c_HistogramManager | This module is used to manage histograms accumulated by other modules. |
c_InternalSerializer | This module is an internal serializer/deserializer for parallel processing. |
c_TerminateInAllProcesses | When using parallel processing, call this module's terminate() function in all processes(). This will also ensure that there is exactly one process (single-core if no parallel modules found) or at least one input, one main and one output process. |
c_DontCollectStatistics | No statistics is collected for this module. |
Definition at line 77 of file Module.h.
Default constructor.
Definition at line 19 of file HitLevelInfoWriter.cc.
|
virtual |
|
inlinevirtualinherited |
Called when entering a new run.
Called at the beginning of each run, the method gives you the chance to change run dependent constants like alignment parameters, etc.
This method can be implemented by subclasses.
Reimplemented in ARICHBackgroundModule, BeamabortModule, BgoModule, CaveModule, ClawModule, CLAWSModule, DosiModule, FANGSModule, He3tubeModule, MicrotpcModule, Ph1bpipeModule, Ph1sustrModule, PindiodeModule, PlumeModule, QcsmonitorModule, SrsensorModule, GetEventFromSocketModule, CalibrationCollectorModule, EventsOfDoomBusterModule, CosmicsAlignmentValidationModule, EnergyBiasCorrectionModule, ChargedPidMVAModule, ChargedPidMVAMulticlassModule, CurlTaggerModule, LowEnergyPi0IdentificationExpertModule, LowEnergyPi0VetoExpertModule, ParticleVertexFitterModule, PhotonEfficiencySystematicsModule, TagVertexModule, TreeFitterModule, arichBtestModule, ARICHDigitizerModule, ARICHDQMModule, ARICHRateCalModule, ARICHReconstructorModule, B2BIIMCParticlesMonitorModule, B2BIIConvertBeamParamsModule, B2BIIConvertMdstModule, B2BIIFixMdstModule, B2BIIMdstInputModule, BelleMCOutputModule, BeamBkgGeneratorModule, BeamBkgHitRateMonitorModule, BeamBkgMixerModule, BeamBkgTagSetterModule, BGOverlayInputModule, AnalysisPhase1StudyModule, NtuplePhase1_v6Module, ReprocessorModule, BeamabortStudyModule, BeamDigitizerModule, BgoDigitizerModule, BgoStudyModule, ClawDigitizerModule, ClawStudyModule, ClawsDigitizerModule, ClawsStudyModule, CsiDigitizer_v2Module, CsIDigitizerModule, CsiModule, CsiStudy_v2Module, CsIStudyModule, DosiDigitizerModule, DosiStudyModule, FANGSDigitizerModule, FANGSStudyModule, He3DigitizerModule, He3tubeStudyModule, MicrotpcStudyModule, TpcDigitizerModule, PinDigitizerModule, PindiodeStudyModule, PlumeDigitizerModule, QcsmonitorDigitizerModule, QcsmonitorStudyModule, CDCCosmicAnalysisModule, CDCCRTestModule, cdcDQM7Module, CDCDQMModule, CDCPackerModule, CDCRecoTrackFilterModule, CDCUnpackerModule, DAQPerfModule, RxSocketModule, TxSocketModule, DqmHistoManagerModule, MonitorDataModule, TrackAnaModule, Ds2SampleModule, ReceiveEventModule, HLTDQM2ZMQModule, ElapsedTimeModule, DeSerializerPXDModule, GenRawSendModule, SerializerModule, CertifyParallelModule, Ds2RawModule, Ds2RbufModule, EvReductionModule, FastRbuf2DsModule, Raw2DsModule, RawInputModule, Rbuf2DsModule, Rbuf2RbufModule, Ds2RawFileModule, PartialSeqRootReaderModule, SeqRootMergerModule, StorageDeserializerModule, StorageSerializerModule, IPDQMModule, PhysicsObjectsDQMModule, PhysicsObjectsMiraBelleBhabhaModule, PhysicsObjectsMiraBelleDst2Module, PhysicsObjectsMiraBelleDstModule, PhysicsObjectsMiraBelleHadronModule, PhysicsObjectsMiraBelleModule, ECLBackgroundModule, ECLChargedPIDModule, ECLChargedPIDDataAnalysisModule, ECLChargedPIDDataAnalysisValidationModule, ECLChargedPIDMVAModule, ECLClusterPSDModule, ECLCovarianceMatrixModule, ECLCRFinderModule, ECLDataAnalysisModule, ECLDigitCalibratorModule, ECLDigitizerModule, ECLDigitizerPureCsIModule, EclDisplayModule, ECLDQMModule, ECLDQMConnectedRegionsModule, ECLDQMEXTENDEDModule, ECLDQMOutOfTimeDigitsModule, ECLFinalizerModule, ECLHitDebugModule, ECLLocalMaximumFinderModule, ECLLocalRunCalibratorModule, ECLLOMModule, ECLPackerModule, ECLShowerCorrectorModule, ECLShowerShapeModule, ECLSplitterN1Module, ECLSplitterN2Module, ECLUnpackerModule, ECLWaveformFitModule, HistoModule, SubEventModule, SwitchDataStoreModule, EventInfoPrinterModule, EventLimiterModule, IoVDependentConditionModule, ProgressModule, RandomBarrierModule, GearboxModule, HistoManagerModule, StatisticsSummaryModule, SeqRootInputModule, SeqRootOutputModule, RxModule, TxModule, EvtGenDecayModule, EvtGenInputModule, OverrideGenerationFlagsModule, KKGenInputModule, CreateFieldMapModule, ExportGeometryModule, SoftwareTriggerModule, SoftwareTriggerHLTDQMModule, StatisticsTimingHLTDQMModule, BKLMAnaModule, BKLMDigitAnalyzerModule, BKLMSimHistogrammerModule, BKLMTrackingModule, EKLMDataCheckerModule, KLMClusterAnaModule, KLMClusterEfficiencyModule, KLMClustersReconstructorModule, KLMDigitizerModule, KLMDigitTimeShifterModule, KLMDQMModule, KLMDQM2Module, KLMPackerModule, KLMReconstructorModule, KLMScintillatorSimulatorModule, KLMUnpackerModule, MVAExpertModule, MVAMultipleExpertsModule, MVAPrototypeModule, AWESOMEBasicModule, PXDBackgroundModule, PXDRawDQMChipsModule, PXDClustersFromTracksModule, PXDPerformanceModule, PXDClusterizerModule, Convert2RawDetModule, CDCDedxDQMModule, CDCDedxValidationModule, EventT0DQMModule, EventT0ValidationModule, DataWriterModule, ECLExpertModule, KLMExpertModule, KlongValidationModule, KLMMuonIDDNNExpertModule, FullSimModule, MaterialScanModule, SVDBackgroundModule, SVDClusterCalibrationsMonitorModule, SVDHotStripFinderModule, SVDLatencyCalibrationModule, SVDLocalCalibrationsCheckModule, SVDLocalCalibrationsMonitorModule, SVDPositionErrorScaleFactorImporterModule, SVDTimeCalibrationsMonitorModule, SVDDQMHitTimeModule, svdDumpModule, SVDPackerModule, SVDB4CommissioningPlotsModule, SVDClusterEvaluationModule, SVDClusterEvaluationTrueInfoModule, SVDClusterFilterModule, SVDMaxStripTTreeModule, SVDOccupancyAnalysisModule, SVDPerformanceModule, SVDPerformanceTTreeModule, SVDShaperDigitsFromTracksModule, SVDClusterizerModule, SVDCoGTimeEstimatorModule, SVDDataFormatCheckModule, SVDMissingAPVsClusterCreatorModule, SVDRecoDigitCreatorModule, SVD3SamplesEmulatorModule, SVDDigitizerModule, SVDEventInfoSetterModule, SVDTriggerQualityGeneratorModule, SVDSpacePointCreatorModule, SVDTimeGroupingModule, SVDUnpackerModule, TOPBackgroundModule, TOPBunchFinderModule, TOPChannelMaskerModule, TOPChannelT0MCModule, TOPDigitizerModule, TOPTriggerDigitizerModule, TOPDoublePulseGeneratorModule, TOPDQMModule, TOPGainEfficiencyCalculatorModule, TOPLaserHitSelectorModule, TOPInterimFENtupleModule, TOPLaserCalibratorModule, TOPMCTrackMakerModule, TOPModuleT0CalibratorModule, TOPNtupleModule, TOPPackerModule, TOPRawDigitConverterModule, TOPTBCComparatorModule, TOPTimeBaseCalibratorModule, TOPTimeRecalibratorModule, TOPUnpackerModule, TOPWaveformFeatureExtractorModule, TOPXTalkChargeShareSetterModule, DQMHistoModuleBase, SVDEventT0EstimatorModule, ExtModule, FlipQualityModule, BeamSpotMonitorModule, KinkFinderModule, MCV0MatcherModule, MCTrackCandClassifierModule, MuidModule, PXDROIFinderModule, SVDROIFinderAnalysisModule, SVDROIFinderModule, SPTCmomentumSeedRetrieverModule, SPTCvirtualIPRemoverModule, TrackCreatorModule, TrackFinderMCTruthRecoTracksModule, EffPlotsModule, HitXPModule, TrackingPerformanceEvaluationModule, V0findingPerformanceEvaluationModule, TrackQETrainingDataCollectorModule, TrackQualityEstimatorMVAModule, SecMapTrainerBaseModule, SecMapTrainerVXDTFModule, TrackFinderVXDAnalizerModule, VXDSimpleClusterizerModule, QualityEstimatorVXDModule, VXDQETrainingDataCollectorModule, VXDQualityEstimatorMVAModule, SectorMapBootstrapModule, SegmentNetworkProducerModule, TrackFinderVXDBasicPathFinderModule, TrackFinderVXDCellOMatModule, VXDTFTrainingDataCollectorModule, FindletModule< AFindlet >, FindletModule< HitBasedT0Extractor >, FindletModule< CKFToSVDSeedFindlet >, FindletModule< CKFToSVDFindlet >, FindletModule< CosmicsTrackMergerFindlet >, FindletModule< DATCONFPGAFindlet >, FindletModule< MCVXDCDCTrackMergerFindlet >, FindletModule< vxdHoughTracking::SVDHoughTracking >, FindletModule< CKFToCDCFindlet >, FindletModule< CKFToCDCFromEclFindlet >, FindletModule< CKFToPXDFindlet >, FindletModule< AsicBackgroundLibraryCreator >, FindletModule< CDCTrackingEventLevelMdstInfoFillerFromHitsFindlet >, FindletModule< CDCTrackingEventLevelMdstInfoFillerFromSegmentsFindlet >, FindletModule< AxialSegmentPairCreator >, FindletModule< AxialStraightTrackFinder >, FindletModule< AxialTrackCreatorMCTruth >, FindletModule< AxialTrackCreatorSegmentHough >, FindletModule< AxialTrackFinderHough >, FindletModule< AxialTrackFinderLegendre >, FindletModule< ClusterBackgroundDetector >, FindletModule< ClusterPreparer >, FindletModule< ClusterRefiner< BridgingWireHitRelationFilter > >, FindletModule< FacetCreator >, FindletModule< HitReclaimer >, FindletModule< MonopoleAxialTrackFinderLegendre >, FindletModule< MonopoleStereoHitFinder >, FindletModule< MonopoleStereoHitFinderQuadratic >, FindletModule< SegmentCreatorFacetAutomaton >, FindletModule< SegmentCreatorMCTruth >, FindletModule< SegmentFinderFacetAutomaton >, FindletModule< SegmentFitter >, FindletModule< SegmentLinker >, FindletModule< SegmentOrienter >, FindletModule< SegmentPairCreator >, FindletModule< SegmentRejecter >, FindletModule< SegmentTrackCombiner >, FindletModule< SegmentTripleCreator >, FindletModule< StereoHitFinder >, FindletModule< SuperClusterCreator >, FindletModule< TrackCombiner >, FindletModule< TrackCreatorSegmentPairAutomaton >, FindletModule< TrackCreatorSegmentTripleAutomaton >, FindletModule< TrackCreatorSingleSegments >, FindletModule< TrackExporter >, FindletModule< TrackFinderAutomaton >, FindletModule< TrackFinderCosmics >, FindletModule< TrackFinder >, FindletModule< TrackFinderSegmentPairAutomaton >, FindletModule< TrackFinderSegmentTripleAutomaton >, FindletModule< TrackFlightTimeAdjuster >, FindletModule< TrackLinker >, FindletModule< TrackOrienter >, FindletModule< TrackQualityAsserter >, FindletModule< TrackQualityEstimator >, FindletModule< TrackRejecter >, FindletModule< WireHitBackgroundDetector >, FindletModule< WireHitCreator >, FindletModule< WireHitPreparer >, CDCTriggerNeuroDQMModule, CDCTriggerNeuroDQMOnlineModule, CDCTriggerNDFinderModule, CDCTriggerTSFModule, TRGCDCModule, TRGCDCETFUnpackerModule, TRGCDCT2DDQMModule, TRGCDCT3DConverterModule, TRGCDCT3DDQMModule, TRGCDCT3DUnpackerModule, TRGCDCTSFDQMModule, TRGCDCTSFUnpackerModule, TRGCDCTSStreamModule, CDCTriggerUnpackerModule, MCMatcherTRGECLModule, TRGECLFAMModule, TRGECLModule, TRGECLBGTCHitModule, TRGECLDQMModule, TRGECLEventTimingDQMModule, TRGECLQAMModule, TRGECLRawdataAnalysisModule, TRGECLTimingCalModule, TRGECLUnpackerModule, TRGGDLModule, TRGEFFDQMModule, TRGGDLDQMModule, TRGGDLDSTModule, TRGGDLSummaryModule, TRGGDLUnpackerModule, TRGGRLMatchModule, TRGGRLModule, TRGGRLProjectsModule, TRGGRLDQMModule, TRGGRLUnpackerModule, KLMTriggerModule, TRGTOPDQMModule, TRGTOPTRD2TTSConverterModule, TRGTOPUnpackerModule, TRGTOPUnpackerWaveformModule, TRGTOPWaveformPlotterModule, TRGRAWDATAModule, VXDMisalignmentModule, DQMHistAnalysisARICHModule, DQMHistAnalysisCDCDedxModule, DQMHistAnalysisCDCEpicsModule, DQMHistAnalysisCDCMonObjModule, DQMHistAnalysisDAQMonObjModule, DQMHistAnalysisECLModule, DQMHistAnalysisECLConnectedRegionsModule, DQMHistAnalysisECLShapersModule, DQMHistAnalysisECLSummaryModule, DQMHistAnalysisEpicsExampleModule, DQMHistAnalysisEventT0EfficiencyModule, DQMHistAnalysisEventT0TriggerJitterModule, DQMHistAnalysisExampleModule, DQMHistAnalysisExampleFlagsModule, DQMHistAnalysisHLTModule, DQMHistAnalysisInput2Module, DQMHistAnalysisInputPVSrvModule, DQMHistAnalysisInputRootFileModule, DQMHistAnalysisInputTestModule, DQMHistAnalysisKLMModule, DQMHistAnalysisKLM2Module, DQMHistAnalysisMiraBelleModule, DQMHistAnalysisOutputMonObjModule, DQMHistAnalysisOutputRelayMsgModule, DQMHistAnalysisPeakModule, DQMHistAnalysisPXDERModule, DQMHistAnalysisPXDFitsModule, DQMHistAnalysisSVDClustersOnTrackModule, DQMHistAnalysisSVDDoseModule, DQMHistAnalysisSVDEfficiencyModule, DQMHistAnalysisSVDGeneralModule, DQMHistAnalysisSVDOccupancyModule, DQMHistAnalysisSVDOnMiraBelleModule, DQMHistAnalysisSVDUnpackerModule, DQMHistAnalysisTOPModule, DQMHistAnalysisTrackingAbortModule, DQMHistAnalysisTrackingHLTModule, DQMHistAnalysisTRGECLModule, DQMHistAutoCanvasModule, DQMHistComparitorModule, DQMHistDeltaHistoModule, DQMHistReferenceModule, DQMHistSnapshotsModule, DAQMonitorModule, DelayDQMModule, V0ObjectsDQMModule, ECLDQMInjectionModule, PyModule, PXDBgTupleProducerModule, PXDMCBgTupleProducerModule, PXDDAQDQMModule, PXDDQMClustersModule, PXDDQMCorrModule, PXDDQMEfficiencyModule, PXDDQMEfficiencySelftrackModule, PXDDQMExpressRecoModule, PXDGatedDHCDQMModule, PXDGatedModeDQMModule, PXDInjectionDQMModule, PXDRawDQMCorrModule, PXDRawDQMModule, PXDROIDQMModule, PXDTrackClusterDQMModule, PXDDigitizerModule, PXDPackerModule, PXDUnpackerModule, TTDDQMModule, DetectorOccupanciesDQMModule, SVDDQMClustersOnTrackModule, SVDDQMDoseModule, SVDDQMExpressRecoModule, SVDDQMInjectionModule, SVDUnpackerDQMModule, PXDclusterFilterModule, PXDdigiFilterModule, PXDROIFinderAnalysisModule, TrackingAbortDQMModule, VXDDQMExpressRecoModule, vxdDigitMaskingModule, DQMHistAnalysisDeltaEpicsMonObjExampleModule, DQMHistAnalysisDeltaTestModule, DQMHistAnalysisEpicsOutputModule, DQMHistAnalysisPhysicsModule, DQMHistAnalysisPXDChargeModule, DQMHistAnalysisPXDCMModule, DQMHistAnalysisPXDDAQModule, DQMHistAnalysisPXDEffModule, DQMHistAnalysisPXDInjectionModule, DQMHistAnalysisPXDReductionModule, DQMHistAnalysisPXDTrackChargeModule, DQMHistAnalysisRooFitExampleModule, DQMHistAnalysisRunNrModule, DQMHistAnalysisTRGModule, DQMHistInjectionModule, and DQMHistOutputToEPICSModule.
Definition at line 147 of file Module.h.
void bookOutput | ( | std::string | filename | ) |
Create the output TFiles and TTrees.
Definition at line 721 of file HitLevelInfoWriter.cc.
void calculateMeans | ( | double * | mean, |
double * | truncatedMean, | ||
double * | truncatedMeanErr, | ||
const std::vector< double > & | dedx | ||
) | const |
Save arithmetic and truncated mean for the 'dedx' values.
mean | calculated arithmetic mean |
truncatedMean | calculated truncated mean |
truncatedMeanErr | error for truncatedMean |
dedx | input values |
Definition at line 624 of file HitLevelInfoWriter.cc.
|
private |
Clear the arrays before filling an event.
Definition at line 682 of file HitLevelInfoWriter.cc.
|
overridevirtualinherited |
Create an independent copy of this module.
Note that parameters are shared, so changing them on a cloned module will also affect the original module.
Implements PathElement.
Definition at line 179 of file Module.cc.
double D2I | ( | const double | cosTheta, |
const double | D | ||
) | const |
hadron saturation parameterization part 2
Definition at line 562 of file HitLevelInfoWriter.cc.
|
inlineprotectedvirtualinherited |
Wrapper method for the virtual function beginRun() that has the implementation to be used in a call from Python.
Reimplemented in PyModule.
Definition at line 426 of file Module.h.
|
inlineprotectedvirtualinherited |
This method can receive that the current run ends as a call from the Python side.
For regular C++-Modules that forwards the call to the regular endRun() method.
Reimplemented in PyModule.
Definition at line 439 of file Module.h.
|
inlineprotectedvirtualinherited |
|
inlineprotectedvirtualinherited |
Wrappers to make the methods without "def_" prefix callable from Python.
Overridden in PyModule. Wrapper method for the virtual function initialize() that has the implementation to be used in a call from Python.
Reimplemented in PyModule.
Definition at line 420 of file Module.h.
|
inlineprotectedvirtualinherited |
Wrapper method for the virtual function terminate() that has the implementation to be used in a call from Python.
Reimplemented in PyModule.
Definition at line 445 of file Module.h.
|
inlinevirtualinherited |
This method is called if the current run ends.
Use this method to store information, which should be aggregated over one run.
This method can be implemented by subclasses.
Reimplemented in BeamabortModule, BgoModule, CaveModule, ClawModule, CLAWSModule, DosiModule, FANGSModule, He3tubeModule, MicrotpcModule, Ph1bpipeModule, Ph1sustrModule, PindiodeModule, PlumeModule, QcsmonitorModule, SrsensorModule, GetEventFromSocketModule, CalibrationCollectorModule, AlignDQMModule, CosmicsAlignmentValidationModule, CurlTaggerModule, LowEnergyPi0IdentificationExpertModule, LowEnergyPi0VetoExpertModule, arichBtestModule, ARICHDQMModule, B2BIIMCParticlesMonitorModule, B2BIIConvertMdstModule, B2BIIMdstInputModule, BelleMCOutputModule, BeamBkgGeneratorModule, BeamBkgHitRateMonitorModule, BeamBkgMixerModule, BeamBkgTagSetterModule, BGOverlayInputModule, AnalysisPhase1StudyModule, NtuplePhase1_v6Module, ReprocessorModule, BeamabortStudyModule, BeamDigitizerModule, BgoDigitizerModule, BgoStudyModule, ClawDigitizerModule, ClawStudyModule, ClawsDigitizerModule, ClawsStudyModule, CsiDigitizer_v2Module, CsIDigitizerModule, CsiModule, CsiStudy_v2Module, CsIStudyModule, DosiDigitizerModule, DosiStudyModule, FANGSDigitizerModule, FANGSStudyModule, He3DigitizerModule, He3tubeStudyModule, MicrotpcStudyModule, TpcDigitizerModule, TPCStudyModule, PinDigitizerModule, PindiodeStudyModule, PlumeDigitizerModule, QcsmonitorDigitizerModule, QcsmonitorStudyModule, CDCCosmicAnalysisModule, CDCCRTestModule, cdcDQM7Module, CDCDQMModule, CDCPackerModule, CDCRecoTrackFilterModule, CDCUnpackerModule, DAQPerfModule, RxSocketModule, TxSocketModule, DqmHistoManagerModule, MonitorDataModule, TrackAnaModule, Ds2SampleModule, ReceiveEventModule, HLTDQM2ZMQModule, HLTDs2ZMQModule, ElapsedTimeModule, DeSerializerPXDModule, GenRawSendModule, Root2RawModule, SerializerModule, CertifyParallelModule, Ds2RawModule, Ds2RbufModule, EvReductionModule, FastRbuf2DsModule, Raw2DsModule, RawInputModule, Rbuf2DsModule, Rbuf2RbufModule, Ds2RawFileModule, PartialSeqRootReaderModule, SeqRootMergerModule, StorageDeserializerModule, StorageRootOutputModule, StorageSerializerModule, PhysicsObjectsDQMModule, PhysicsObjectsMiraBelleBhabhaModule, PhysicsObjectsMiraBelleDst2Module, PhysicsObjectsMiraBelleDstModule, PhysicsObjectsMiraBelleHadronModule, PhysicsObjectsMiraBelleModule, ECLBackgroundModule, ECLChargedPIDModule, ECLChargedPIDDataAnalysisModule, ECLChargedPIDDataAnalysisValidationModule, ECLClusterPSDModule, ECLCovarianceMatrixModule, ECLCRFinderModule, ECLDataAnalysisModule, ECLDigitCalibratorModule, ECLDigitizerModule, ECLDigitizerPureCsIModule, EclDisplayModule, ECLDQMModule, ECLDQMEXTENDEDModule, ECLFinalizerModule, ECLHitDebugModule, ECLLocalMaximumFinderModule, ECLLocalRunCalibratorModule, ECLLOMModule, ECLPackerModule, ECLShowerCorrectorModule, ECLShowerShapeModule, ECLSplitterN1Module, ECLSplitterN2Module, ECLUnpackerModule, ECLWaveformFitModule, HistoModule, SubEventModule, SwitchDataStoreModule, EventInfoPrinterModule, RandomBarrierModule, HistoManagerModule, StatisticsSummaryModule, SeqRootInputModule, SeqRootOutputModule, RxModule, TxModule, ZMQTxInputModule, ZMQTxWorkerModule, EvtGenDecayModule, OverrideGenerationFlagsModule, BKLMAnaModule, BKLMDigitAnalyzerModule, BKLMSimHistogrammerModule, BKLMTrackingModule, EKLMDataCheckerModule, KLMClusterEfficiencyModule, KLMClustersReconstructorModule, KLMDigitizerModule, KLMDQMModule, KLMDQM2Module, KLMPackerModule, KLMReconstructorModule, KLMScintillatorSimulatorModule, KLMUnpackerModule, AWESOMEBasicModule, PXDBackgroundModule, PXDClustersFromTracksModule, PXDPerformanceModule, Convert2RawDetModule, PrintDataModule, PrintEventRateModule, Root2BinaryModule, CDCDedxDQMModule, CDCDedxValidationModule, EventT0ValidationModule, DataWriterModule, KlongValidationModule, KLMMuonIDDNNExpertModule, FullSimModule, SVDBackgroundModule, SVDClusterCalibrationsMonitorModule, SVDHotStripFinderModule, SVDLatencyCalibrationModule, SVDLocalCalibrationsMonitorModule, SVDPositionErrorScaleFactorImporterModule, SVDTimeCalibrationsMonitorModule, svdDumpModule, SVDPackerModule, SVDB4CommissioningPlotsModule, SVDClusterEvaluationModule, SVDClusterEvaluationTrueInfoModule, SVDClusterFilterModule, SVDOccupancyAnalysisModule, SVDPerformanceModule, SVDShaperDigitsFromTracksModule, SVDClusterizerModule, SVDCoGTimeEstimatorModule, SVDDataFormatCheckModule, SVDRecoDigitCreatorModule, SVD3SamplesEmulatorModule, SVDTriggerQualityGeneratorModule, SVDUnpackerModule, TOPBackgroundModule, TOPChannelT0MCModule, TOPTriggerDigitizerModule, TOPDoublePulseGeneratorModule, TOPGainEfficiencyCalculatorModule, TOPLaserHitSelectorModule, TOPInterimFENtupleModule, TOPLaserCalibratorModule, TOPMCTrackMakerModule, TOPNtupleModule, TOPPackerModule, TOPRawDigitConverterModule, TOPTBCComparatorModule, TOPTimeBaseCalibratorModule, TOPUnpackerModule, TOPWaveformFeatureExtractorModule, TOPWaveformQualityPlotterModule, TOPXTalkChargeShareSetterModule, ExtModule, GenfitVisModule, MCV0MatcherModule, MCTrackCandClassifierModule, MuidModule, MCSlowPionPXDROICreatorModule, PXDROIFinderModule, SVDROIDQMModule, SVDROIFinderAnalysisModule, SVDROIFinderModule, RT2SPTCConverterModule, SPTCmomentumSeedRetrieverModule, SPTCvirtualIPRemoverModule, TrackFinderMCTruthRecoTracksModule, EffPlotsModule, HitXPModule, TrackingPerformanceEvaluationModule, V0findingPerformanceEvaluationModule, SecMapTrainerBaseModule, SecMapTrainerVXDTFModule, TrackFinderVXDAnalizerModule, VXDSimpleClusterizerModule, NoKickCutsEvalModule, SectorMapBootstrapModule, VXDTFTrainingDataCollectorModule, FindletModule< AFindlet >, FindletModule< HitBasedT0Extractor >, FindletModule< CKFToSVDSeedFindlet >, FindletModule< CKFToSVDFindlet >, FindletModule< CosmicsTrackMergerFindlet >, FindletModule< DATCONFPGAFindlet >, FindletModule< MCVXDCDCTrackMergerFindlet >, FindletModule< vxdHoughTracking::SVDHoughTracking >, FindletModule< CKFToCDCFindlet >, FindletModule< CKFToCDCFromEclFindlet >, FindletModule< CKFToPXDFindlet >, FindletModule< AsicBackgroundLibraryCreator >, FindletModule< CDCTrackingEventLevelMdstInfoFillerFromHitsFindlet >, FindletModule< CDCTrackingEventLevelMdstInfoFillerFromSegmentsFindlet >, FindletModule< AxialSegmentPairCreator >, FindletModule< AxialStraightTrackFinder >, FindletModule< AxialTrackCreatorMCTruth >, FindletModule< AxialTrackCreatorSegmentHough >, FindletModule< AxialTrackFinderHough >, FindletModule< AxialTrackFinderLegendre >, FindletModule< ClusterBackgroundDetector >, FindletModule< ClusterPreparer >, FindletModule< ClusterRefiner< BridgingWireHitRelationFilter > >, FindletModule< FacetCreator >, FindletModule< HitReclaimer >, FindletModule< MonopoleAxialTrackFinderLegendre >, FindletModule< MonopoleStereoHitFinder >, FindletModule< MonopoleStereoHitFinderQuadratic >, FindletModule< SegmentCreatorFacetAutomaton >, FindletModule< SegmentCreatorMCTruth >, FindletModule< SegmentFinderFacetAutomaton >, FindletModule< SegmentFitter >, FindletModule< SegmentLinker >, FindletModule< SegmentOrienter >, FindletModule< SegmentPairCreator >, FindletModule< SegmentRejecter >, FindletModule< SegmentTrackCombiner >, FindletModule< SegmentTripleCreator >, FindletModule< StereoHitFinder >, FindletModule< SuperClusterCreator >, FindletModule< TrackCombiner >, FindletModule< TrackCreatorSegmentPairAutomaton >, FindletModule< TrackCreatorSegmentTripleAutomaton >, FindletModule< TrackCreatorSingleSegments >, FindletModule< TrackExporter >, FindletModule< TrackFinderAutomaton >, FindletModule< TrackFinderCosmics >, FindletModule< TrackFinder >, FindletModule< TrackFinderSegmentPairAutomaton >, FindletModule< TrackFinderSegmentTripleAutomaton >, FindletModule< TrackFlightTimeAdjuster >, FindletModule< TrackLinker >, FindletModule< TrackOrienter >, FindletModule< TrackQualityAsserter >, FindletModule< TrackQualityEstimator >, FindletModule< TrackRejecter >, FindletModule< WireHitBackgroundDetector >, FindletModule< WireHitCreator >, FindletModule< WireHitPreparer >, CDCTriggerNeuroDQMModule, CDCTriggerNeuroDQMOnlineModule, CDCTriggerNDFinderModule, TRGCDCModule, TRGCDCETFUnpackerModule, TRGCDCT2DDQMModule, TRGCDCT3DConverterModule, TRGCDCT3DDQMModule, TRGCDCT3DUnpackerModule, TRGCDCTSFDQMModule, TRGCDCTSFUnpackerModule, TRGCDCTSStreamModule, MCMatcherTRGECLModule, TRGECLFAMModule, TRGECLModule, TRGECLBGTCHitModule, TRGECLDQMModule, TRGECLQAMModule, TRGECLRawdataAnalysisModule, TRGECLTimingCalModule, TRGECLUnpackerModule, TRGGDLModule, TRGEFFDQMModule, TRGGDLDQMModule, TRGGDLDSTModule, TRGGDLSummaryModule, TRGGDLUnpackerModule, TRGGRLMatchModule, TRGGRLModule, TRGGRLProjectsModule, TRGGRLDQMModule, TRGGRLUnpackerModule, KLMTriggerModule, TRGTOPDQMModule, TRGTOPTRD2TTSConverterModule, TRGTOPUnpackerModule, TRGTOPUnpackerWaveformModule, TRGTOPWaveformPlotterModule, TRGRAWDATAModule, DQMHistAnalysisARICHModule, DQMHistAnalysisARICHMonObjModule, DQMHistAnalysisCDCDedxModule, DQMHistAnalysisCDCEpicsModule, DQMHistAnalysisCDCMonObjModule, DQMHistAnalysisDAQMonObjModule, DQMHistAnalysisECLModule, DQMHistAnalysisECLConnectedRegionsModule, DQMHistAnalysisECLOutOfTimeDigitsModule, DQMHistAnalysisECLShapersModule, DQMHistAnalysisECLSummaryModule, DQMHistAnalysisEpicsExampleModule, DQMHistAnalysisExampleModule, DQMHistAnalysisExampleFlagsModule, DQMHistAnalysisHLTMonObjModule, DQMHistAnalysisInput2Module, DQMHistAnalysisInputPVSrvModule, DQMHistAnalysisInputTestModule, DQMHistAnalysisKLMModule, DQMHistAnalysisKLM2Module, DQMHistAnalysisMiraBelleModule, DQMHistAnalysisMonObjModule, DQMHistAnalysisOutputFileModule, DQMHistAnalysisOutputMonObjModule, DQMHistAnalysisOutputRelayMsgModule, DQMHistAnalysisPXDFitsModule, DQMHistAnalysisSVDClustersOnTrackModule, DQMHistAnalysisSVDDoseModule, DQMHistAnalysisSVDEfficiencyModule, DQMHistAnalysisSVDGeneralModule, DQMHistAnalysisSVDOccupancyModule, DQMHistAnalysisSVDOnMiraBelleModule, DQMHistAnalysisSVDUnpackerModule, DQMHistAnalysisTOPModule, DQMHistAnalysisTRGECLModule, DQMHistAnalysisTRGEFFModule, DQMHistAnalysisTRGGDLModule, DQMHistComparitorModule, DQMHistDeltaHistoModule, DQMHistReferenceModule, DQMHistSnapshotsModule, PyModule, SVDUnpackerDQMModule, TrackSetEvaluatorHopfieldNNDEVModule, vxdDigitMaskingModule, DQMHistAnalysisDeltaEpicsMonObjExampleModule, DQMHistAnalysisDeltaTestModule, DQMHistAnalysisEpicsOutputModule, DQMHistAnalysisPhysicsModule, DQMHistAnalysisPXDChargeModule, DQMHistAnalysisPXDTrackChargeModule, DQMHistAnalysisRooFitExampleModule, DQMHistAnalysisTRGModule, and DQMHistOutputToEPICSModule.
Definition at line 166 of file Module.h.
|
inherited |
If at least one condition was set, it is evaluated and true returned if at least one condition returns true.
If no condition or result value was defined, the method returns false. Otherwise, the condition is evaluated and true returned, if at least one condition returns true. To speed up the evaluation, the condition strings were already parsed in the method if_value().
Definition at line 96 of file Module.cc.
|
overridevirtual |
This method is called for each event.
All processing of the event takes place in this method.
Reimplemented from Module.
Definition at line 63 of file HitLevelInfoWriter.cc.
|
staticinherited |
Exposes methods of the Module class to Python.
Definition at line 325 of file Module.cc.
|
private |
Fill the TTree with the information from a CDCDedxTrack object.
Definition at line 297 of file HitLevelInfoWriter.cc.
|
private |
Fill the TTree with the information from the track fit.
Definition at line 258 of file HitLevelInfoWriter.cc.
|
inherited |
What to do after the conditional path is finished.
(defaults to c_End if no condition is set)
Definition at line 133 of file Module.cc.
|
inherited |
|
inlineinherited |
Return all set conditions for this module.
|
inlineinherited |
|
inherited |
Returns the path of the last true condition (if there is at least one, else reaturn a null pointer).
Definition at line 113 of file Module.cc.
double GetCorrection | ( | int & | adc, |
int | layer, | ||
int | wireID, | ||
double | doca, | ||
double | enta, | ||
double | costheta, | ||
double | ring, | ||
double | time | ||
) | const |
Function to get the correction factor.
Definition at line 536 of file HitLevelInfoWriter.cc.
|
inlineinherited |
Returns the description of the module.
Definition at line 202 of file Module.h.
|
inlinevirtualinherited |
Return a list of output filenames for this modules.
This will be called when basf2 is run with "--dry-run" if the module has set either the c_Input or c_Output properties.
If the parameter outputFiles
is false (for modules with c_Input) the list of input filenames should be returned (if any). If outputFiles
is true (for modules with c_Output) the list of output files should be returned (if any).
If a module has sat both properties this member is called twice, once for each property.
The module should return the actual list of requested input or produced output filenames (including handling of input/output overrides) so that the grid system can handle input/output files correctly.
This function should return the same value when called multiple times. This is especially important when taking the input/output overrides from Environment as they get consumed when obtained so the finalized list of output files should be stored for subsequent calls.
Reimplemented in RootInputModule, StorageRootOutputModule, and RootOutputModule.
Definition at line 134 of file Module.h.
|
inlineinherited |
|
inlineoverrideprivatevirtualinherited |
no submodules, return empty list
Implements PathElement.
Definition at line 506 of file Module.h.
|
inlineinherited |
Returns the name of the module.
This can be changed via e.g. set_name() in the steering file to give more useful names if there is more than one module of the same type.
For identifying the type of a module, using getType() (or type() in Python) is recommended.
Definition at line 187 of file Module.h.
|
inlineinherited |
|
inherited |
Returns a python list of all parameters.
Each item in the list consists of the name of the parameter, a string describing its type, a python list of all default values and the description of the parameter.
Definition at line 279 of file Module.cc.
|
inlineinherited |
|
overrideprivatevirtualinherited |
return the module name.
Implements PathElement.
Definition at line 192 of file Module.cc.
|
inlineinherited |
Return the return value set by this module.
This value is only meaningful if hasReturnValue() is true
Definition at line 381 of file Module.h.
|
inherited |
Returns the type of the module (i.e.
class name minus 'Module')
void HadronCorrection | ( | double | costheta, |
double & | dedx | ||
) | const |
Function to apply the hadron correction.
Definition at line 556 of file HitLevelInfoWriter.cc.
|
inlineinherited |
|
inherited |
Returns true if all specified property flags are available in this module.
propertyFlags | Ored EModulePropFlags which should be compared with the module flags. |
|
inlineinherited |
|
inherited |
Returns true and prints error message if the module has unset parameters which the user has to set in the steering file.
Definition at line 166 of file Module.cc.
double I2D | ( | const double | cosTheta, |
const double | I | ||
) | const |
hadron saturation parameterization part 1
Definition at line 585 of file HitLevelInfoWriter.cc.
|
inherited |
A simplified version to add a condition to the module.
Please note that successive calls of this function will add more than one condition to the module. If more than one condition results in true, only the last of them will be used.
Please be careful: Avoid creating cyclic paths, e.g. by linking a condition to a path which is processed before the path where this module is located in.
It is equivalent to the if_value() method, using the expression "<1". This method is meant to be used together with the setReturnValue(bool value) method.
path | Shared pointer to the Path which will be executed if the return value is false. |
afterConditionPath | What to do after executing 'path'. |
|
inherited |
A simplified version to set the condition of the module.
Please note that successive calls of this function will add more than one condition to the module. If more than one condition results in true, only the last of them will be used.
Please be careful: Avoid creating cyclic paths, e.g. by linking a condition to a path which is processed before the path where this module is located in.
It is equivalent to the if_value() method, using the expression ">=1". This method is meant to be used together with the setReturnValue(bool value) method.
path | Shared pointer to the Path which will be executed if the return value is true. |
afterConditionPath | What to do after executing 'path'. |
|
inherited |
Add a condition to the module.
Please note that successive calls of this function will add more than one condition to the module. If more than one condition results in true, only the last of them will be used.
See https://xwiki.desy.de/xwiki/rest/p/a94f2 or ModuleCondition for a description of the syntax.
Please be careful: Avoid creating cyclic paths, e.g. by linking a condition to a path which is processed before the path where this module is located in.
expression | The expression of the condition. |
path | Shared pointer to the Path which will be executed if the condition is evaluated to true. |
afterConditionPath | What to do after executing 'path'. |
|
overridevirtual |
Initialize the module.
Reimplemented from Module.
Definition at line 36 of file HitLevelInfoWriter.cc.
void recalculateDedx | ( | CDCDedxTrack * | dedxTrack, |
std::map< int, std::vector< double > > & | l_var, | ||
double(&) | cdcChi[Const::ChargedStable::c_SetSize] | ||
) |
Function to recalculate the dedx with latest constants.
Definition at line 445 of file HitLevelInfoWriter.cc.
void saveChiValue | ( | double(&) | chi[Const::ChargedStable::c_SetSize], |
CDCDedxTrack * | dedxTrack, | ||
double | dedx | ||
) | const |
for all particles, save chi values into 'chi' chi array of chi values to be modified
Definition at line 665 of file HitLevelInfoWriter.cc.
|
inherited |
Configure the abort log level.
Definition at line 67 of file Module.cc.
|
inherited |
Configure the debug messaging level.
Definition at line 61 of file Module.cc.
|
protectedinherited |
Sets the description of the module.
description | A description of the module. |
|
inlineinherited |
Set the log system configuration.
Definition at line 230 of file Module.h.
|
inherited |
Configure the printed log information for the given level.
logLevel | The log level (one of LogConfig::ELogLevel) |
logInfo | What kind of info should be printed? ORed combination of LogConfig::ELogInfo flags. |
Definition at line 73 of file Module.cc.
|
inherited |
Configure the log level.
|
inlineinherited |
|
inlineprotectedinherited |
Replace existing parameter list.
Definition at line 501 of file Module.h.
|
privateinherited |
Implements a method for setting boost::python objects.
The method supports the following types: list, dict, int, double, string, bool The conversion of the python object to the C++ type and the final storage of the parameter value is done in the ModuleParam class.
name | The unique name of the parameter. |
pyObj | The object which should be converted and stored as the parameter value. |
Definition at line 234 of file Module.cc.
|
privateinherited |
Implements a method for reading the parameter values from a boost::python dictionary.
The key of the dictionary has to be the name of the parameter and the value has to be of one of the supported parameter types.
dictionary | The python dictionary from which the parameter values are read. |
Definition at line 249 of file Module.cc.
|
inherited |
Sets the flags for the module properties.
propertyFlags | bitwise OR of EModulePropFlags |
|
protectedinherited |
Sets the return value for this module as bool.
The bool value is saved as an integer with the convention 1 meaning true and 0 meaning false. The value can be used in the steering file to divide the analysis chain into several paths.
value | The value of the return value. |
|
protectedinherited |
Sets the return value for this module as integer.
The value can be used in the steering file to divide the analysis chain into several paths.
value | The value of the return value. |
|
protectedinherited |
Set the module type.
Only for use by internal modules (which don't use the normal REG_MODULE mechanism).
|
overridevirtual |
End of the event processing.
Reimplemented from Module.
Definition at line 244 of file HitLevelInfoWriter.cc.
|
private |
charge per hit corr by nonlinear ADC
Definition at line 261 of file HitLevelInfoWriter.h.
|
private |
charge per hit
Definition at line 260 of file HitLevelInfoWriter.h.
|
private |
charge per path length
Definition at line 259 of file HitLevelInfoWriter.h.
|
private |
distance of closest approach
Definition at line 262 of file HitLevelInfoWriter.h.
|
private |
drift distance
Definition at line 268 of file HitLevelInfoWriter.h.
|
private |
drift time
Definition at line 267 of file HitLevelInfoWriter.h.
|
private |
entrance angle
Definition at line 265 of file HitLevelInfoWriter.h.
|
private |
normalized + RS distance of entrance angle
Definition at line 266 of file HitLevelInfoWriter.h.
|
private |
calibration hit gain
Definition at line 269 of file HitLevelInfoWriter.h.
|
private |
the 'found by track finder' flag for the given hit
Definition at line 278 of file HitLevelInfoWriter.h.
|
private |
layer number
Definition at line 256 of file HitLevelInfoWriter.h.
|
private |
sense wire within layer
Definition at line 254 of file HitLevelInfoWriter.h.
|
private |
normalized distance of closest approach
Definition at line 263 of file HitLevelInfoWriter.h.
|
private |
normalized +RS distance of closest approach
Definition at line 264 of file HitLevelInfoWriter.h.
|
private |
the number of good hits for this Track
Definition at line 253 of file HitLevelInfoWriter.h.
|
private |
calibration 1D cleanup correction
Definition at line 272 of file HitLevelInfoWriter.h.
|
private |
path length in cell
Definition at line 258 of file HitLevelInfoWriter.h.
|
private |
calibration 2D correction
Definition at line 271 of file HitLevelInfoWriter.h.
|
private |
weight for kaon hypothesis from KalmanFitterInfo
Definition at line 276 of file HitLevelInfoWriter.h.
|
private |
weight for pion hypothesis from KalmanFitterInfo
Definition at line 275 of file HitLevelInfoWriter.h.
|
private |
weight for proton hypothesis from KalmanFitterInfo
Definition at line 277 of file HitLevelInfoWriter.h.
|
private |
sense wire ID
Definition at line 255 of file HitLevelInfoWriter.h.
|
private |
calibration hit gain
Definition at line 270 of file HitLevelInfoWriter.h.
|
staticprivate |
default hit level index
Definition at line 242 of file HitLevelInfoWriter.h.
|
private |
dE/dx for this layer
Definition at line 250 of file HitLevelInfoWriter.h.
|
private |
layer number
Definition at line 248 of file HitLevelInfoWriter.h.
|
private |
the total number of layer hits for this Track
Definition at line 244 of file HitLevelInfoWriter.h.
|
private |
the number of hits combined this layer
Definition at line 246 of file HitLevelInfoWriter.h.
|
private |
the total number of layer hits used for this Track
Definition at line 245 of file HitLevelInfoWriter.h.
|
private |
distance travelled in this layer
Definition at line 249 of file HitLevelInfoWriter.h.
|
private |
the wire number of longest hit in this layer
Definition at line 247 of file HitLevelInfoWriter.h.
|
private |
the charge for this Track
Definition at line 176 of file HitLevelInfoWriter.h.
|
private |
chi^2 from track fit
Definition at line 170 of file HitLevelInfoWriter.h.
|
private |
modified chi value for deuteron hypothesis
Definition at line 226 of file HitLevelInfoWriter.h.
|
private |
chi value for deuteron hypothesis
Definition at line 219 of file HitLevelInfoWriter.h.
|
private |
modified chi value for electron hypothesis
Definition at line 221 of file HitLevelInfoWriter.h.
|
private |
chi value for electron hypothesis
Definition at line 214 of file HitLevelInfoWriter.h.
|
private |
modified chi value for kaon hypothesis
Definition at line 224 of file HitLevelInfoWriter.h.
|
private |
chi value for kaon hypothesis
Definition at line 217 of file HitLevelInfoWriter.h.
|
private |
modified chi value for muon hypothesis
Definition at line 222 of file HitLevelInfoWriter.h.
|
private |
chi value for muon hypothesis
Definition at line 215 of file HitLevelInfoWriter.h.
|
private |
modified chi value for proton hypothesis
Definition at line 225 of file HitLevelInfoWriter.h.
|
private |
modified chi value for pion hypothesis
Definition at line 223 of file HitLevelInfoWriter.h.
|
private |
chi value for pion hypothesis
Definition at line 216 of file HitLevelInfoWriter.h.
|
private |
chi value for proton hypothesis
Definition at line 218 of file HitLevelInfoWriter.h.
|
privateinherited |
|
private |
calibration cosine correction
Definition at line 207 of file HitLevelInfoWriter.h.
|
private |
calibration cosine edge correction
Definition at line 208 of file HitLevelInfoWriter.h.
|
private |
cos(theta) for the track
Definition at line 177 of file HitLevelInfoWriter.h.
|
private |
Signed distance to the POCA in the r-phi plane.
Definition at line 160 of file HitLevelInfoWriter.h.
|
private |
1D correction DB object
Definition at line 287 of file HitLevelInfoWriter.h.
|
private |
2D correction DB object
Definition at line 286 of file HitLevelInfoWriter.h.
|
private |
cosine edge calibration
Definition at line 289 of file HitLevelInfoWriter.h.
|
private |
Electron saturation correction DB object.
Definition at line 285 of file HitLevelInfoWriter.h.
|
private |
hadron saturation parameters
Definition at line 290 of file HitLevelInfoWriter.h.
|
private |
time gain/reso DB object
Definition at line 284 of file HitLevelInfoWriter.h.
|
private |
hadron saturation non linearity
Definition at line 288 of file HitLevelInfoWriter.h.
|
private |
Run gain DB object.
Definition at line 283 of file HitLevelInfoWriter.h.
|
private |
Scale factor to make electrons ~1.
Definition at line 281 of file HitLevelInfoWriter.h.
|
private |
Wire gain DB object.
Definition at line 282 of file HitLevelInfoWriter.h.
|
private |
Required array of CDCDedxTracks.
Definition at line 135 of file HitLevelInfoWriter.h.
|
privateinherited |
|
private |
POCA in degrees in respect to IP.
Definition at line 164 of file HitLevelInfoWriter.h.
|
private |
track d0 relative to IP
Definition at line 163 of file HitLevelInfoWriter.h.
|
private |
vertex or POCA in case of tracks z in respect to IPs
Definition at line 162 of file HitLevelInfoWriter.h.
|
private |
energy in the calorimeter
Definition at line 199 of file HitLevelInfoWriter.h.
|
private |
ratio of energies of the central 1 crystal vs 3x3 crystals
Definition at line 200 of file HitLevelInfoWriter.h.
|
private |
ratio of energies of the central 3x3 crystal vs 5x5 crystals
Definition at line 201 of file HitLevelInfoWriter.h.
|
private |
Required array of input ECLClusters.
Definition at line 138 of file HitLevelInfoWriter.h.
|
private |
Definition at line 203 of file HitLevelInfoWriter.h.
|
private |
energy over momentum in the calorimeter
Definition at line 198 of file HitLevelInfoWriter.h.
|
private |
standard deviation of the truncated mean
Definition at line 195 of file HitLevelInfoWriter.h.
|
private |
event in which this Track was found
Definition at line 154 of file HitLevelInfoWriter.h.
|
private |
experiment in which this Track was found
Definition at line 152 of file HitLevelInfoWriter.h.
|
private |
output ROOT files
Definition at line 132 of file HitLevelInfoWriter.h.
|
private |
full names of the output ROOT files
Definition at line 131 of file HitLevelInfoWriter.h.
|
private |
hadron saturation parameters
Definition at line 292 of file HitLevelInfoWriter.h.
|
privateinherited |
|
private |
frack is CDC acceptance or not
Definition at line 173 of file HitLevelInfoWriter.h.
|
private |
HER injection status.
Definition at line 156 of file HitLevelInfoWriter.h.
|
private |
time since last injection in micro seconds
Definition at line 157 of file HitLevelInfoWriter.h.
|
private |
asymmetry in increasing vs decreasing layer numbers per track
Definition at line 182 of file HitLevelInfoWriter.h.
|
private |
Flag to switch on/off corrections.
Definition at line 299 of file HitLevelInfoWriter.h.
|
private |
write only active wires
Definition at line 294 of file HitLevelInfoWriter.h.
|
private |
Flag to switch on/off extra level info and some available w/ release/5 only.
Definition at line 297 of file HitLevelInfoWriter.h.
|
private |
Flag to switch on/off hit level info.
Definition at line 296 of file HitLevelInfoWriter.h.
|
private |
Flag to switch on/off relative constants.
Definition at line 298 of file HitLevelInfoWriter.h.
|
private |
Required array of input KLMClusters.
Definition at line 139 of file HitLevelInfoWriter.h.
|
private |
number of klm layers with hits
Definition at line 202 of file HitLevelInfoWriter.h.
|
private |
total path length of the Track
Definition at line 175 of file HitLevelInfoWriter.h.
|
privateinherited |
|
private |
dE/dx averaged
Definition at line 192 of file HitLevelInfoWriter.h.
|
privateinherited |
|
privateinherited |
|
private |
Number of CDC hits associated to the track.
Definition at line 172 of file HitLevelInfoWriter.h.
|
private |
momentum from tracking
Definition at line 179 of file HitLevelInfoWriter.h.
|
privateinherited |
|
private |
momentum valid in CDC
Definition at line 178 of file HitLevelInfoWriter.h.
|
private |
MC PID.
Definition at line 186 of file HitLevelInfoWriter.h.
|
private |
phi for the track
Definition at line 181 of file HitLevelInfoWriter.h.
|
private |
Angle of the transverse momentum in the r-phi plane.
Definition at line 169 of file HitLevelInfoWriter.h.
|
private |
pred mean for deuteron hypothesis
Definition at line 240 of file HitLevelInfoWriter.h.
|
private |
pred mean for electron hypothesis
Definition at line 235 of file HitLevelInfoWriter.h.
|
private |
pred mean for kaon hypothesis
Definition at line 238 of file HitLevelInfoWriter.h.
|
private |
pred mean for muon hypothesis
Definition at line 236 of file HitLevelInfoWriter.h.
|
private |
pred mean for proton hypothesis
Definition at line 239 of file HitLevelInfoWriter.h.
|
private |
pred mean for pion hypothesis
Definition at line 237 of file HitLevelInfoWriter.h.
|
private |
pred reso for deuteron hypothesis
Definition at line 233 of file HitLevelInfoWriter.h.
|
private |
pred reso for electron hypothesis
Definition at line 228 of file HitLevelInfoWriter.h.
|
private |
pred reso for kaon hypothesis
Definition at line 231 of file HitLevelInfoWriter.h.
|
private |
pred reso for muon hypothesis
Definition at line 229 of file HitLevelInfoWriter.h.
|
private |
pred reso for proton hypothesis
Definition at line 232 of file HitLevelInfoWriter.h.
|
private |
pred reso for pion hypothesis
Definition at line 230 of file HitLevelInfoWriter.h.
|
privateinherited |
|
private |
transverse momentum from tracking
Definition at line 180 of file HitLevelInfoWriter.h.
|
private |
calibration run gain
Definition at line 209 of file HitLevelInfoWriter.h.
|
private |
run in which this Track was found
Definition at line 153 of file HitLevelInfoWriter.h.
|
private |
calibration scale factor
Definition at line 206 of file HitLevelInfoWriter.h.
|
private |
Base name for the output ROOT files.
Definition at line 129 of file HitLevelInfoWriter.h.
|
private |
Vector of ParticleLists to write out.
Definition at line 130 of file HitLevelInfoWriter.h.
|
private |
Slope of the track in the r-z plane.
Definition at line 168 of file HitLevelInfoWriter.h.
|
private |
cos(theta) for the track
Definition at line 183 of file HitLevelInfoWriter.h.
|
private |
calibration injection time gain
Definition at line 210 of file HitLevelInfoWriter.h.
|
private |
calibration injection time reso
Definition at line 211 of file HitLevelInfoWriter.h.
|
private |
Required array of input TrackFitResults.
Definition at line 137 of file HitLevelInfoWriter.h.
|
private |
ID number of the Track.
Definition at line 174 of file HitLevelInfoWriter.h.
|
private |
Required array of input Tracks.
Definition at line 136 of file HitLevelInfoWriter.h.
|
private |
output ROOT trees
Definition at line 133 of file HitLevelInfoWriter.h.
|
private |
dE/dx averaged, truncated mean, with corrections
Definition at line 193 of file HitLevelInfoWriter.h.
|
private |
dE/dx averaged, truncated mean, with corrections (not hadron)
Definition at line 194 of file HitLevelInfoWriter.h.
|
private |
Store Object Ptr: EventLevelTriggerTimeInfo.
Definition at line 140 of file HitLevelInfoWriter.h.
|
privateinherited |
|
private |
X coordinate of track POCA to origin.
Definition at line 165 of file HitLevelInfoWriter.h.
|
private |
Y coordinate of track POCA to origin.
Definition at line 166 of file HitLevelInfoWriter.h.
|
private |
Z coordinate of track POCA to origin.
Definition at line 167 of file HitLevelInfoWriter.h.
|
private |
z coordinate of the POCA
Definition at line 161 of file HitLevelInfoWriter.h.