9#include "cdc/modules/cdcRecoTrackFilter/CDCRecoTrackFilterModule.h"
10#include <tracking/dataobjects/RecoHitInformation.h>
11#include <boost/foreach.hpp>
22 setDescription(
"use this module to exclude Layers in fitting, after TrackFinding");
24 addParam(
"ExcludeSLayer",
m_excludeSLayer,
"Super layers (0-8) not used in the fitting", std::vector<unsigned short> {});
25 addParam(
"ExcludeICLayer",
m_excludeICLayer,
"layers (0-55) not used in the fitting", std::vector<unsigned short> {});
45 for (
int i = 0; i < nTr; ++i) {
49 unsigned short slay = wireid.getISuperLayer();
50 unsigned short iclay = wireid.getICLayer();
53 track->getRecoHitInformation(cdchit)->setUseInFit(
false);
59 track->getRecoHitInformation(cdchit)->setUseInFit(
false);
Class containing the result of the unpacker in raw data and the result of the digitizer in simulation...
unsigned short getID() const
Getter for encoded wire number.
std::string m_recoTrackArrayName
Belle2::RecoTrack StoreArray name.
void initialize() override
Initializes the Module.
void event() override
Event action (main routine).
virtual ~CDCRecoTrackFilterModule()
Destructor.
void endRun() override
End run action.
void terminate() override
Termination action.
std::vector< unsigned short > m_excludeSLayer
Super layers (0-8) not used in the track fitting.
void beginRun() override
Begin run action.
std::vector< unsigned short > m_excludeICLayer
IClayers (0-55) not used in the track fitting.
CDCRecoTrackFilterModule()
Constructor.
StoreArray< RecoTrack > m_RecoTracks
Tracks.
void setDescription(const std::string &description)
Sets the description of the module.
void setPropertyFlags(unsigned int propertyFlags)
Sets the flags for the module properties.
@ c_ParallelProcessingCertified
This module can be run in parallel processing mode safely (All I/O must be done through the data stor...
This is the Reconstruction Event-Data Model Track.
bool isRequired(const std::string &name="")
Ensure this array/object has been registered previously.
int getEntries() const
Get the number of objects in the array.
Class to identify a wire inside the CDC.
void addParam(const std::string &name, T ¶mVariable, const std::string &description, const T &defaultValue)
Adds a new parameter to the module.
#define REG_MODULE(moduleName)
Register the given module (without 'Module' suffix) with the framework.
Abstract base class for different kinds of events.