Belle II Software development
TOPPhotonYieldsCollectorModule.h
1/**************************************************************************
2 * basf2 (Belle II Analysis Software Framework) *
3 * Author: The Belle II Collaboration *
4 * *
5 * See git log for contributors and copyright holders. *
6 * This file is licensed under LGPL-3.0, see LICENSE.md. *
7 **************************************************************************/
8
9#pragma once
10
11#include <calibration/CalibrationCollectorModule.h>
12
13#include <framework/datastore/StoreArray.h>
14#include <framework/datastore/StoreObjPtr.h>
15#include <framework/dataobjects/EventMetaData.h>
16#include <mdst/dataobjects/Track.h>
17#include <tracking/dataobjects/ExtHit.h>
18#include <top/dataobjects/TOPDigit.h>
19#include <top/dataobjects/TOPRecBunch.h>
20#include <top/dataobjects/TOPAsicMask.h>
21#include <top/dataobjects/TOPAssociatedPDF.h>
22#include <top/utilities/TrackSelector.h>
23#include <top/dbobjects/TOPCalChannelMask.h>
24#include <top/dbobjects/TOPCalChannelThresholdEff.h>
25#include <vector>
26#include <string>
27
28namespace Belle2 {
38
39 public:
44
45 private:
46
50 virtual void prepare() final;
51
55 virtual void collect() final;
56
57 // steering parameters
58 std::string m_sample;
59 double m_deltaEcms;
60 double m_dr;
61 double m_dz;
64 // cuts (do not change the values)
65 const double m_minZ = -130.0;
66 const double m_maxZ = 130.0;
67 const double m_excludedZ = 50.0;
68 const double m_timeWindow = 50.0;
70 // procedure
72 std::vector<std::string> m_signalNames;
73 std::vector<std::string> m_bkgNames;
74 std::vector<std::string> m_activeNames;
75 std::vector<std::string> m_alphaLowNames;
76 std::vector<std::string> m_alphaHighNames;
77 std::vector<std::string> m_pulseHeightNames;
78 std::vector<std::string> m_muonZNames;
80 // collections
89 // database
93 };
94
96} // end namespace Belle2
Calibration collector module base class.
Class for accessing objects in the database.
Definition: DBObjPtr.h:21
Accessor to arrays stored in the data store.
Definition: StoreArray.h:113
Type-safe access to single objects in the data store.
Definition: StoreObjPtr.h:96
Collector for photon pixel yields aimed for PMT ageing studies and for finding optically decoupled PM...
DBObjPtr< TOPCalChannelMask > m_channelMask
masked channels
double m_minThresholdEffi
minimal threshold efficiency
StoreObjPtr< TOPRecBunch > m_recBunch
reconstructed bunch
TOP::TrackSelector m_selector
track selection utility
std::vector< std::string > m_activeNames
histogram names for active pixels count
std::vector< std::string > m_alphaHighNames
histogram names for counting hits w/ high impact angle on photo cathode
std::vector< std::string > m_pulseHeightNames
histogram names for pulse heights
DBObjPtr< TOPCalChannelThresholdEff > m_thresholdEff
threshold efficiencies
StoreObjPtr< EventMetaData > m_eventMetaData
event meta data object
std::vector< std::string > m_muonZNames
histogram names for track z-distribution
std::vector< std::string > m_alphaLowNames
histogram names for counting hits w/ low impact angle on photo cathode
const double m_timeWindow
time window for counting photon hits (half size)
StoreArray< Track > m_tracks
collection of tracks
StoreArray< TOPAssociatedPDF > m_associatedPDFs
collection of PDF's associated to TOP digits
const double m_minZ
minimal local z of extrapolated track
const double m_excludedZ
excluded central region of extrapolated track for photon impact angle counting
const double m_maxZ
maximal local z of extrapolated track
std::vector< std::string > m_signalNames
histogram names for signal window hit counts
std::vector< std::string > m_bkgNames
histogram names for background window hit counts
StoreArray< TOPDigit > m_digits
collection of TOP digits
StoreArray< ExtHit > m_extHits
collection of extrapolated hits
StoreObjPtr< TOPAsicMask > m_asicMask
online masked Asics
Utility for the track selection - used in various calibration modules.
Definition: TrackSelector.h:27
virtual void collect() final
Replacement for event().
virtual void prepare() final
Replacement for initialize().
Abstract base class for different kinds of events.