|
[Rivet] hepmc file name in analysis class?Andy Buckley andy.buckley at cern.chTue Jan 23 12:05:00 GMT 2018
Hi Kojla, You mean you want your analysis to behave differently depending on the input filename? For good reasons that is not an option -- not least that a Rivet job can be running over many different files and it should not change its behaviour midway. If you want to change your analysis behaviour without recompiling, then your best option is probably just to use environment variables and getopt(). Custom behaviours like that are not something that we accept for "official" analyses, because it would become unmanageable with each using a different ad hoc configuration convention -- so there isn't an official Rivet mechanism for passing options to the analysis classes. Andy Dr Andy Buckley, Lecturer / Royal Society University Research Fellow Particle Physics Experiment Group, University of Glasgow On Jan 22 2018, at 11:19 pm, Kolja Kauder <kkauder at gmail.com> wrote: > > Hi, > I would like to tailor my analysis (and the output filename) to the > hepmc input file, but I cannot figure out how to access that > information. > > Thanks, > Kolja > > -- > ________________________ > Kolja Kauder, Ph.D. > Post-Doctoral Research Fellow, > Physics Dept., Wayne State University > ________________________ > _______________________________________________ > Rivet mailing list > Rivet at projects.hepforge.org > https://www.hepforge.org/lists/listinfo/rivet > -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://www.hepforge.org/lists-archive/rivet/attachments/20180123/afda2b21/attachment.html>
More information about the Rivet mailing list |