Belle II Software  release-05-02-19
svd data objects
Packages ยป svd
Collaboration diagram for svd data objects:

Namespaces

 Belle2::SVDRunType
 Run type, 2-bits: 00 raw, 01 transparent, 10 zero-suppressed, 11 zero-suppressed + hit time finding.
 
 Belle2::SVDEventType
 Event Type, 3 bits, separated into 1+2 bits:
 
 Belle2::SVDDAQModeType
 2+3 bit: 00 1-sample, 01 3-sample, 10 6-sample
 

Classes

class  SVDAPVHistograms< H >
 template class for the APV Histograms More...
 
class  SVDCluster
 The SVD Cluster class This class stores all information about reconstructed SVD clusters. More...
 
class  SVDDAQDiagnostic
 Class to store SVD DAQ diagnostic information. More...
 
class  SVDEnergyDepositionEvent
 Class SVDEnergyDepositionEvent: SVDSimHit data container for background studies. More...
 
class  SVDEventInfo
 Stores SVDModeByte object with Trigger time, DAQ mode, Run type & Event type! Also - the information of any inconsistencies of these variables within one event are stored. More...
 
class  SVDHistograms< H >
 template class for SVd histograms More...
 
class  SVDModeByte
 Class to store SVD mode information. More...
 
class  SVDNeutronFluxEvent
 Class SVDNeutronFluxEvent: SVDTrueHit data container for background studies. More...
 
class  SVDOccupancyEvent
 Class SVDOccupancyEvent: SVDCluster data container for background studies. More...
 
class  SVDRecoDigit
 The SVD RecoDigit class. More...
 
class  SVDRecoTimeBase
 The SVD RecoTimeBase class. More...
 
class  SVDShaperDigit
 The SVD ShaperDigit class. More...
 
class  SVDSimHit
 Class SVDSimHit - Geant4 simulated hit for the SVD. More...
 
class  SVDSummaryPlots
 class to summarize SVD quantities per sensor and side More...
 
class  SVDTransparentDigit
 The SVD digit class. More...
 
class  SVDTriggerType
 Class to store Trigger Type information. More...
 
class  SVDTrueHit
 Class SVDTrueHit - Records of tracks that either enter or leave the sensitive volume. More...
 

Functions

std::ostream & operator<< (std::ostream &out, const SVDModeByte &id)
 Print id to stream by converting it to string.
 
 SVDAPVHistograms (const H &templateAPV)
 Use. More...
 
void customize (H &histogram, VxdID vxdID, int view, int apv)
 customize the histogram with the sensor, view and APV numbers
 
 SVDHistograms (const H &templateU3, const H &templateV3, const H &templateU456, const H &templateV456)
 Use templates to initialize all the histograms. More...
 
void customize (H &histogram, VxdID vxdID, int view)
 customize the histogram with the sensor, view More...
 

Variables

static const baseType c_DefaultID = 151
 Default / non-informative id 10010111 = 151 Run type: zero-suppressed, 2 Event type: global run, 0 DAQ mode: 6-samples, 2 Trigger invalid 111 = 7.
 

Detailed Description

Function Documentation

โ—† customize()

void customize ( H &  histogram,
VxdID  vxdID,
int  view 
)
private

customize the histogram with the sensor, view

customize the histogram with the sensor and view

Definition at line 204 of file SVDHistograms.h.

โ—† SVDAPVHistograms()

SVDAPVHistograms ( const H &  templateAPV)
explicit

Use.

constructor, builds all histograms and customize them

Parameters
templateto initialize all the histograms

Definition at line 155 of file SVDAPVHistograms.h.

156  : geoCache.getLadders(layer)) {
157  unsigned int ladderNumber = ladder.getLadderNumber();
158  if (m_histograms[layerNumber].size() <= ladderNumber)
159  m_histograms[layerNumber].resize(ladderNumber + 1);
160 
161  for (Belle2::VxdID sensor : geoCache.getSensors(ladder)) {
162  unsigned int sensorNumber = sensor.getSensorNumber();
163  if (m_histograms[layerNumber][ladderNumber].size() <= sensorNumber)
164  m_histograms[layerNumber][ladderNumber].resize(sensorNumber + 1);
165  m_histograms[layerNumber][ladderNumber][sensorNumber].resize(2);
166 
167  for (int view = VIndex ; view < UIndex + 1; view++) {
168  int nAPV = 6;
169  unsigned int viewNumber = 3;
170 
171  if (m_histograms[layerNumber][ladderNumber][view].size() < viewNumber)
172  m_histograms[layerNumber][ladderNumber][sensorNumber].resize(viewNumber);
173  m_histograms[layerNumber][ladderNumber][sensorNumber][view].resize(nAPV);
174  for (int apv = 0; apv < nAPV; apv ++) {
175 
176  H h = templateAPV;
177  customize(h , sensor, view, apv);
178  m_histograms[layerNumber][ladderNumber][sensorNumber][view][apv] = new H(h);
179  }
180  }
181  }
182  }
183  }
184  }
185 
187  template < class H >
188  void SVDAPVHistograms<H>::customize(H& histogram, VxdID vxdID, int view, int apv)
189  {
190  bool isU = view == UIndex;
191  std::string name = histogram.GetName();
192  customizeString(name, vxdID, isU, apv);
193  histogram.SetName(name.c_str());

โ—† SVDHistograms()

SVDHistograms ( const H &  templateU3,
const H &  templateV3,
const H &  templateU456,
const H &  templateV456 
)

Use templates to initialize all the histograms.

constructor, builds all histograms and customize them

Parameters
templateU3for the layer 3 U side
templateV3for the layer 3 V side
templateU456for the layer 4 5 6 U side
templateV456for the layer 4 5 6 V side

Definition at line 168 of file SVDHistograms.h.

Belle2::VxdID
Class to uniquely identify a any structure of the PXD and SVD.
Definition: VxdID.h:43
Belle2::SVDAPVHistograms::customizeString
void customizeString(std::string &base, const VxdID &vxdID, bool isU, int user_apv)
replaces layer ladder sensor view and apv with the current numbers
Definition: SVDAPVHistograms.h:94
Belle2::SVDAPVHistograms::customize
void customize(H &histogram, VxdID vxdID, int view, int apv)
customize the histogram with the sensor, view and APV numbers
Definition: SVDAPVHistograms.h:197
Belle2::SVDAPVHistograms::m_histograms
t_SVD m_histograms
the vector of vector ...
Definition: SVDAPVHistograms.h:145