Closed benkrikler closed 9 years ago
Based on what you said and the diff, I support this merge. The GetCoarseTimeOffset thing worries me, but if it works with our current calibration DB then the merge is fine. We can make an issue out of it.
I agree John, I'll put a ticket up on it to make it clearer. (Ticket is #255 )
I'm opening this pull request so I can start a new feature to go back to the template waveform analysis stuff.
I'll try to summarize the changes that could effect others since they're in previously existing or common code:
BeginPulses
andEndPulses
methods now return default iterators rather than throwing an exception, since it's quite possible a particular channel saw no pulses in a TME, without there being a problem in the calling code or the actual setup.TSiliconEvent
has been added. This is the result of the pairing and combining of hits in the Silicon detectors. Each Silicon event is stored within the muon event that had the hits contained. A module calledMakeSiliconEvents
was added as well to do the work. Perhaps that should be merged withMakeMuonEvents
as an option to run with. If we don't want this approach on develop then I can remove this class from TMuonEvent.IDs::source
as a string that is directly c++ valid. Pass in true to thestr()
method and the returned string will have all bad punctuation characters replaced with underscores.GetCourseTimeOffset
method now removes everything but the first configuration options from the config string before looking in the calibration DB. This is slightly more robust than the previous method which allowed only a single CFT value to be given, but is still very very hacky and should definitely be improved in the future.I think that's the bulk of it. I don't want this taking too much of my time, so I'm going to leave this request up until tomorrow before I merge, unless I hear otherwise.