1 #ifndef SimGeneral_MixingModule_Adjuster_h 2 #define SimGeneral_MixingModule_Adjuster_h 24 class ModuleCallingContext;
46 got =
event.getByToken(token_, result_t);
61 void doTheOffset(
int bunchspace,
int bcr, std::vector<SimTrack>& product,
unsigned int eventNr,
int vertexOffset,
bool wraptimes);
62 void doTheOffset(
int bunchspace,
int bcr, std::vector<SimVertex>& product,
unsigned int eventNr,
int vertexOffset,
bool wraptimes);
63 void doTheOffset(
int bunchspace,
int bcr, std::vector<PCaloHit>& product,
unsigned int eventNr,
int vertexOffset,
bool wraptimes);
64 void doTheOffset(
int bunchspace,
int bcr, std::vector<PSimHit>& product,
unsigned int eventNr,
int vertexOffset,
bool wraptimes);
70 std::shared_ptr<Wrapper<T>
const> shPtr = getProductByTag<T>(ep, tag_, mcc);
72 T& product =
const_cast<T&
>(*shPtr->product());
81 if(Musearch.find(
"Muon") == 0)
WrapT_ =
true;
virtual void doOffset(int bunchspace, int bcr, const edm::EventPrincipal &, ModuleCallingContext const *, unsigned int EventNr, int vertexOffset)=0
void doTheOffset(int bunchSpace, int bcr, std::vector< SimTrack > &simtracks, unsigned int evtNr, int vertexOffset, bool wrap)
bunchspace
in terms of 25 ns
Adjuster(InputTag const &tag, edm::ConsumesCollector &&iC, bool wrap)
virtual void doOffset(int bunchspace, int bcr, const edm::EventPrincipal &, ModuleCallingContext const *, unsigned int EventNr, int vertexOffset)
virtual bool checkSignal(edm::Event const &event)
virtual bool checkSignal(edm::Event const &event)=0
auto wrap(F iFunc) -> decltype(iFunc())