11#include <cdc/geometry/CDCGeometryPar.h>
12#include <calibration/CalibrationCollectorModule.h>
14#include <mdst/dataobjects/Track.h>
15#include <mdst/dataobjects/TrackFitResult.h>
17#include <tracking/dataobjects/RecoTrack.h>
18#include <tracking/trackFindingCDC/eventdata/tracks/CDCTrack.h>
19#include <tracking/trackFindingCDC/rootification/StoreWrappedObjPtr.h>
20#include <tracking/trackFindingCDC/topology/CDCWire.h>
22#include <framework/dataobjects/EventT0.h>
23#include <framework/datastore/StoreArray.h>
25#include <Math/Vector3D.h>
84 const Helix& helixFit)
const;
Collect hit information for cdc calibration with CAF.
StoreObjPtr< EventT0 > m_eventTimeStoreObject
Event t0 object.
std::string m_recoTrackArrayName
Belle2::RecoTrack StoreArray nam.e.
bool m_calExpectedDriftTime
Calculate expected drift time from x_fit or not.
Float_t phi0
Track Parameter, phi0.
Float_t tanL
Track Parameter, tanL.
double m_minimumNDF
minimum NDF required for track
std::string m_effTreeName
Name of efficiency tree for the output file.
std::string m_cdcTrackVectorName
Belle2::CDCTrack vectorpointer name.
bool m_storeTrackParams
Store Track parameter or not.
Float_t weight
Weight of hit.
TrackFindingCDC::StoreWrappedObjPtr< std::vector< TrackFindingCDC::CDCTrack > > m_CDCTracks
CDC tracks.
StoreArray< TrackFitResult > m_TrackFitResults
Track fit results.
void harvest(Belle2::RecoTrack *track)
collect hit information of fitted track.
CDCCalibrationCollectorModule()
Constructor.
std::string m_cdcHitArrayName
Belle2::CDCHit StoreArray name.
Float_t theta
Entrance Polar angle of hit (degree).
Float_t x_b
X_fit for biased track fit.
Float_t Pval
P-value of fitted track.
std::string m_relRecoTrackTrackName
Relation between RecoTrack and Belle2:Track.
unsigned short wireID
wireID for hit-level wire monitoring
void collect() override
Event action, collect information for calibration.
bool m_isCosmic
true when we process cosmic events, else false (collision).
Float_t t_fit
Drift time calculated from x_fit.
virtual ~CDCCalibrationCollectorModule()
Destructor.
Float_t omega
Track Parameter, omega.
bool m_eventT0Extraction
use Event T0 extract t0 or not.
void buildEfficiencies(std::vector< unsigned short > wireHits, const Helix helixFit)
fills efficiency objects
bool m_bField
fit incase no magnetic Field of not, if false, NDF=4 in cal P-value
std::string m_trackArrayName
Belle2::Track StoreArray name.
void prepare() override
Initializes the Module.
Float_t z0
Track Parameter, z0.
Float_t t
Measurement Drift time.
Float_t x_u
X_fit for unbiased track fit.
void finish() override
Termination action.
Float_t ndf
degree of freedom.
std::string m_trackFitResultArrayName
Belle2::TrackFitResult StoreArray name.
Float_t d0
Track Parameter, d0.
unsigned short layerID
layerID for hit-level wire monitoring
Float_t x_mea
measure drift length (signed by left right).
const TrackFindingCDC::CDCWire & getIntersectingWire(const ROOT::Math::XYZVector &xyz, const TrackFindingCDC::CDCWireLayer &layer, const Helix &helixFit) const
extrapolates the helix fit to a given layer and finds the wire which it would be hitting
std::string m_treeName
Name of tree for the output file.
StoreArray< RecoTrack > m_RecoTracks
Tracks.
StoreArray< Track > m_Tracks
Tracks.
Float_t alpha
Entrance Azimuthal angle of hit (degree).
double m_minimumPt
minimum pt required for track
bool m_effStudy
When true module collects info only necessary for wire eff study.
float z
z of hit fot hit-level wire monitoring
bool isFound
flag for a hit that has been found near a track as expected by extrapolation
StoreArray< CDCHit > m_CDCHits
CDC hits.
Calibration collector module base class.
This is the Reconstruction Event-Data Model Track.
Accessor to arrays stored in the data store.
Type-safe access to single objects in the data store.
Class representing a sense wire layer in the central drift chamber.
Class representing a sense wire in the central drift chamber.
This class is for convenience access and registration of objects, that are stored inside the StoreWra...
Abstract base class for different kinds of events.