1 #ifndef SimGeneral_MixingModule_Adjuster_h
2 #define SimGeneral_MixingModule_Adjuster_h
22 class ModuleCallingContext;
44 got =
event.getByToken(
token_, result_t);
58 void doTheOffset(
int bunchspace,
int bcr, std::vector<SimTrack>& product,
unsigned int eventNr,
int vertexOffset);
59 void doTheOffset(
int bunchspace,
int bcr, std::vector<SimVertex>& product,
unsigned int eventNr,
int vertexOffset);
60 void doTheOffset(
int bunchspace,
int bcr, std::vector<PCaloHit>& product,
unsigned int eventNr,
int vertexOffset);
61 void doTheOffset(
int bunchspace,
int bcr, std::vector<PSimHit>& product,
unsigned int eventNr,
int vertexOffset);
67 std::shared_ptr<Wrapper<T>
const> shPtr = getProductByTag<T>(ep, tag_, mcc);
69 T& product =
const_cast<T&
>(*shPtr->product());
void doTheOffset(int bunchSpace, int bcr, std::vector< SimTrack > &simtracks, unsigned int evtNr, int vertexOffset)
virtual void doOffset(int bunchspace, int bcr, const edm::EventPrincipal &, ModuleCallingContext const *, unsigned int EventNr, int vertexOffset)=0
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
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
Adjuster(InputTag const &tag, edm::ConsumesCollector &&iC)