Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DEventRFBunch_factory_Calibrations Class Reference

#include <DEventRFBunch_factory_Calibrations.h>

+ Inheritance diagram for DEventRFBunch_factory_Calibrations:

Public Member Functions

 DEventRFBunch_factory_Calibrations ()
 
 ~DEventRFBunch_factory_Calibrations ()
 
const char * Tag (void)
 

Private Member Functions

void Select_GoodTracks (JEventLoop *locEventLoop, vector< const DTrackWireBased * > &locSelectedWireBasedTracks) const
 
jerror_t Select_RFBunch (JEventLoop *locEventLoop, vector< const DTrackWireBased * > &locTrackWireBasedVector, double locRFTime)
 
bool Find_TrackTimes_SC (const DDetectorMatches *locDetectorMatches, const vector< const DTrackWireBased * > &locTrackWireBasedVector, vector< pair< double, const JObject * > > &locTimes) const
 
int Conduct_Vote (JEventLoop *locEventLoop, double locRFTime, vector< pair< double, const JObject * > > &locTimes, int &locHighestNumVotes)
 
int Find_BestRFBunchShifts (double locRFHitTime, const vector< pair< double, const JObject * > > &locTimes, map< int, vector< const JObject * > > &locNumBeamBucketsShiftedMap, set< int > &locBestRFBunchShifts)
 
int Break_TieVote_Tracks (map< int, vector< const JObject * > > &locNumBeamBucketsShiftedMap, set< int > &locBestRFBunchShifts)
 
jerror_t Create_NaNRFBunch (void)
 
jerror_t init (void)
 Called once at program start. More...
 
jerror_t brun (jana::JEventLoop *locEventLoop, int32_t runnumber)
 Called everytime a new run number is detected. More...
 
jerror_t evnt (jana::JEventLoop *locEventLoop, uint64_t eventnumber)
 Called every event. More...
 
jerror_t erun (void)
 Called everytime run number changes, provided brun has been called. More...
 
jerror_t fini (void)
 Called after last event of last event source has been processed. More...
 

Private Attributes

const DParticleIDdParticleID
 
double dBeamBunchPeriod
 
DVector3 dTargetCenter
 
DetectorSystem_t dRFTDCSourceSystem
 
double dMinTrackingFOM
 
unsigned int dMinHitRingsPerCDCSuperlayer
 
unsigned int dMinHitPlanesPerFDCPackage
 
DCutAction_TrackHitPatterndCutAction_TrackHitPattern
 

Detailed Description

Definition at line 41 of file DEventRFBunch_factory_Calibrations.h.

Constructor & Destructor Documentation

DEventRFBunch_factory_Calibrations::DEventRFBunch_factory_Calibrations ( )
inline

Definition at line 44 of file DEventRFBunch_factory_Calibrations.h.

DEventRFBunch_factory_Calibrations::~DEventRFBunch_factory_Calibrations ( )
inline

Definition at line 45 of file DEventRFBunch_factory_Calibrations.h.

Member Function Documentation

int DEventRFBunch_factory_Calibrations::Break_TieVote_Tracks ( map< int, vector< const JObject * > > &  locNumBeamBucketsShiftedMap,
set< int > &  locBestRFBunchShifts 
)
private
jerror_t DEventRFBunch_factory_Calibrations::brun ( jana::JEventLoop *  locEventLoop,
int32_t  runnumber 
)
private

Called everytime a new run number is detected.

Definition at line 34 of file DEventRFBunch_factory_Calibrations.cc.

References DApplication::GetDGeometry(), and DGeometry::GetTargetZ().

int DEventRFBunch_factory_Calibrations::Conduct_Vote ( JEventLoop *  locEventLoop,
double  locRFTime,
vector< pair< double, const JObject * > > &  locTimes,
int &  locHighestNumVotes 
)
private

Definition at line 186 of file DEventRFBunch_factory_Calibrations.cc.

jerror_t DEventRFBunch_factory_Calibrations::Create_NaNRFBunch ( void  )
private
jerror_t DEventRFBunch_factory_Calibrations::erun ( void  )
private

Called everytime run number changes, provided brun has been called.

Definition at line 282 of file DEventRFBunch_factory_Calibrations.cc.

jerror_t DEventRFBunch_factory_Calibrations::evnt ( jana::JEventLoop *  locEventLoop,
uint64_t  eventnumber 
)
private
int DEventRFBunch_factory_Calibrations::Find_BestRFBunchShifts ( double  locRFHitTime,
const vector< pair< double, const JObject * > > &  locTimes,
map< int, vector< const JObject * > > &  locNumBeamBucketsShiftedMap,
set< int > &  locBestRFBunchShifts 
)
private

Definition at line 199 of file DEventRFBunch_factory_Calibrations.cc.

bool DEventRFBunch_factory_Calibrations::Find_TrackTimes_SC ( const DDetectorMatches locDetectorMatches,
const vector< const DTrackWireBased * > &  locTrackWireBasedVector,
vector< pair< double, const JObject * > > &  locTimes 
) const
private

Definition at line 168 of file DEventRFBunch_factory_Calibrations.cc.

References DKinematicData::z().

jerror_t DEventRFBunch_factory_Calibrations::fini ( void  )
private

Called after last event of last event source has been processed.

Definition at line 290 of file DEventRFBunch_factory_Calibrations.cc.

jerror_t DEventRFBunch_factory_Calibrations::init ( void  )
private

Called once at program start.

Definition at line 15 of file DEventRFBunch_factory_Calibrations.cc.

References NameToSystem(), and SYS_TOF.

void DEventRFBunch_factory_Calibrations::Select_GoodTracks ( JEventLoop *  locEventLoop,
vector< const DTrackWireBased * > &  locSelectedWireBasedTracks 
) const
private

Definition at line 102 of file DEventRFBunch_factory_Calibrations.cc.

jerror_t DEventRFBunch_factory_Calibrations::Select_RFBunch ( JEventLoop *  locEventLoop,
vector< const DTrackWireBased * > &  locTrackWireBasedVector,
double  locRFTime 
)
private
const char* DEventRFBunch_factory_Calibrations::Tag ( void  )
inline

Definition at line 46 of file DEventRFBunch_factory_Calibrations.h.

Member Data Documentation

double DEventRFBunch_factory_Calibrations::dBeamBunchPeriod
private

Definition at line 63 of file DEventRFBunch_factory_Calibrations.h.

DCutAction_TrackHitPattern* DEventRFBunch_factory_Calibrations::dCutAction_TrackHitPattern
private

Definition at line 71 of file DEventRFBunch_factory_Calibrations.h.

unsigned int DEventRFBunch_factory_Calibrations::dMinHitPlanesPerFDCPackage
private

Definition at line 69 of file DEventRFBunch_factory_Calibrations.h.

unsigned int DEventRFBunch_factory_Calibrations::dMinHitRingsPerCDCSuperlayer
private

Definition at line 68 of file DEventRFBunch_factory_Calibrations.h.

double DEventRFBunch_factory_Calibrations::dMinTrackingFOM
private

Definition at line 67 of file DEventRFBunch_factory_Calibrations.h.

const DParticleID* DEventRFBunch_factory_Calibrations::dParticleID
private

Definition at line 61 of file DEventRFBunch_factory_Calibrations.h.

DetectorSystem_t DEventRFBunch_factory_Calibrations::dRFTDCSourceSystem
private

Definition at line 66 of file DEventRFBunch_factory_Calibrations.h.

DVector3 DEventRFBunch_factory_Calibrations::dTargetCenter
private

Definition at line 64 of file DEventRFBunch_factory_Calibrations.h.


The documentation for this class was generated from the following files: